简体   繁体   English

面向对象/关系混合数据库?

[英]Object-oriented / Relational-Hybrid Database?

I've been using relational databases + object relational mappers for object persistence. 我一直在使用关系数据库+对象关系映射器来实现对象持久性。 I don't think this is a truly adequate solution for persistence, because it adds unnecessary overhead. 我认为这不是真正的持久性解决方案,因为它会增加不必要的开销。 It also forces me to fit objects in a table-like structure, which sometimes can't be done gracefully - it's like fitting a square in a circle - it won't work well. 这也迫使我将对象适配成类似表格的结构,有时无法优雅地完成它-就像将一个正方形适配成一个圆形-效果不佳。

Now, I am aware that there are object-oriented databases out there, but for one thing they lack support, and also the relational model works for most of the data - just not all of it. 现在,我知道那里有面向对象的数据库,但是,一方面,它们缺乏支持,而且关系模型适用于大多数数据-并非全部。

So, are there DBMS that support both object-oriented and relational records? 那么,是否有同时支持面向对象和关系记录的DBMS? Ie: I would be able have records in a (relational) table or a collection of objects depending on what I am working on? 即:我可以在(关系)表中或在对象集合中记录,具体取决于我正在处理什么?

您可能想研究NoSQL作为典型关系存储的替代方法。

"...I am aware that there are object-oriented databases out there, but for one thing they lack support, and also the relational model works for most of the data - just not all of it." “ ...我知道那里有面向对象的数据库,但是一方面,它们缺乏支持,而且关系模型适用于大多数数据,但并非全部。”

This is an unfair statement!.. There are plenty OOP langs with adequate support and several relational models with support for all practical datatypes, including user-defined. 这是一个不公平的声明!..有大量的OOP lang具有足够的支持,而几个关系模型则具有对所有实际数据类型(包括用户定义的)的支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 关系和面向对象的数据库哪一个更好,会被抑制? - Relational & Object-Oriented Database which one is better, will be suppressed? 面向对象的数据库之谜? - Object-oriented database puzzle? 将面向对象的数据直接编码为关系数据库中的单行是否被认为是错误的形式? - Is it considered bad form to encode object-oriented data directly into single rows in a relational database? MongoDB是面向对象的吗? - Is MongoDB object-oriented? 面向对象与对象关系数据库的区别 - Object oriented vs. object relational database difference SQL查询还是面向对象的设计? - SQL queries or object-oriented design? 面向对象的数据库可以比带有ORM的关系数据库更好吗? - Can object oriented databases be a better option than a relational database with an ORM? 使用PHP(5.3)编码的面向对象的内容管理系统使用哪种数据库类型? - Which database type to use for an object-oriented content management system coded in PHP (5.3)? 在这种情况下,我应该在设计数据库表时使用面向对象的方法吗? - Should I use Object-oriented approach in designing database tables in this case 使用面向对象数据库的最佳方案是什么? - What are the best scenarios for using object-oriented databases?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM