面向对象的数据库 [英] Object oriented database
问题描述
我不知道这是否是这个问题的正确标题。
无论如何,最近我听说过,你可以使创建数据库时更轻松。通过其中使用基于对象的数据库。它将使迁移到其他类型的数据库也更容易。从MySQL到SQLLite或其他。
无论如何,我做一个网页数据库访问的主要方式是,我手动写下查询来获取我需要的数据库。但是它可以做一些其他方式也不涉及我必须写查询。我想知道这个其他方法如何工作。如何在Google中搜索。
对象数据库
- 高性能
- 更快速,因为不需要加入
- 固有版本机制
- 操作的导航界面(如图形遍历)
- 对象查询语言以声明方式检索对象
- 复杂数据类型
- 对象标识ie。
- 方便对象共享
- 类和层次结构(继承和封装)
- 支持关系
- 与持久性语言(如ODL)集成
- 支持原子性
- 支持嵌套关系
- 语义建模
$ b
- 没有RDB的数学基础(请参考Codd)
- 面向对象的缺点
- 对象关系数据库(您可能已经拥有了一个对象关系数据库,
- 支持复杂数据类型,如集合,多重集等。
- 面向对象的数据建模
- 扩展SQL和丰富类型
- 支持UDT继承
- 强大的查询语言
不同的应用程序可能需要不同的方法(OO,关系DB或OODB)。
参考
比较
http://en.wikipedia.org/wiki/Comparison_of_object_database_management_systems
http://en.wikipedia.org/wiki/Comparison_of_object-relational_database_management_systems
I don't know if this is the right title for this question. Anyway, recently I have heard about that you could make life easier when creating database. By in which you use object based database. It will make migration to other type of database also easier e.g. from MySQL to SQLlite or something else.
Anyway the main way I do a webpage with database access now is that I manually write down the Query to fetch what I need from a database. However it can be done in some other way also which does not involve I have to write query. I want to know how this other method work. How to search it in Google.
解决方案Object DB
- High performance
- Faster as no joins required
- Inherent versioning mechanism
- Navigational interface for operations (like graph traversal)
- Object Query Language retrieve objects declaratively
- complex data types
- object identity ie. equals() in which object identity is independent of value and updates
- facilitates object sharing
- classes and hierarchies (inheritance and encapsulation)
- support for relationships
- integrated with a persistence language like ODL
- support for atomicity
- support for nested relationships
- semantic modelling
Cons
- No mathematical foundation as RDB (refer Codd)
- cons of object orientation
- persistence difficult for complex structures, some data must be transient
Object-Relational databases (You might have seen UDTs!)
- support for complex data types like collection, multisets etc
- object oriented data modelling
- extended SQL and rich types
- support for UDT inhertance
- powerful query language
Different approaches (OO, Relational DB or OODB) may be necessary for different applications
References
The Object-Oriented Database System Manifesto
Object Oriented Database Systems
Object Relational Databases in DBMS
Completeness Criteria for Object-Relational Database Systems
Comparisons
http://en.wikipedia.org/wiki/Comparison_of_object_database_management_systems
http://en.wikipedia.org/wiki/Comparison_of_object-relational_database_management_systems
这篇关于面向对象的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!