NoSql DB和OO Db有什么区别?

时间:2022-06-18 14:50:12

what's the difference between NoSql DB and OO Db?

NoSql DB和OO Db有什么区别?

4 个解决方案

#1


5  

An object-oriented database, like db4o, would be considered one of the alternatives presented by NoSQL, which means Not Only SQL. It's a set of alternatives to relational databases: Voldemort, Hadoop, MongoDB, CouchDB, BigTable, Neo4J, db4o and others.

面向对象的数据库(如db4o)将被视为NoSQL提供的替代方案之一,这意味着不仅仅是SQL。它是关系数据库的一组替代品:Voldemort,Hadoop,MongoDB,CouchDB,BigTable,Neo4J,db4o等。

#2


9  

NoSQL DB are normally de-normalized (save copy of object data in place of object), where as OODB is normalized database with object relationships. In OODB, data is stored in object at one place and is linked (relation) to other objects.

NoSQL DB通常是非规范化的(保存对象数据的副本来代替对象),其中OODB是具有对象关系的规范化数据库。在OODB中,数据存储在一个地方的对象中,并与其他对象链接(关系)。

Due t above difference of de-normalized and normalized, both have their own pros and cons. NoSQL DBs like Mongo are fast to read but poor in writing / updating data. Due to de-normalized nature of NoSQL DBs, it hard to maintain integrity of data with that, where as OODB as Wakanda are easy to manage and have data integrity. You delete one object and all its relations are deleted automatically.

由于去标准化和标准化的差异,两者都有各自的优缺点。像Mongo这样的NoSQL DB读取速度快,但写入/更新数据却很差。由于NoSQL DB的非标准化特性,很难保持数据的完整性,而OODB和Wakanda一样易于管理并具有数据完整性。您删除一个对象,并自动删除其所有关系。

I tried a lot to figure out some good javascript object oriented DB, but as of now could not find any other than www.wakanda.org. In case you know any, kindly share details.

我尝试了很多来找出一些好的面向javascript对象的数据库,但截至目前还没有找到除www.wakanda.org以外的任何其他数据库。万一你知道,请分享细节。

#3


2  

NoSQL is a movement, OODB is a technology. Or in other words: NoSQL is a group of people, an OODB is a piece of code.

NoSQL是一种运动,OODB是一种技术。或者换句话说:NoSQL是一群人,OODB是一段代码。

#4


1  

There's no strict definition of "NoSQL", so the differences are largely semantic. Generally an Object Oriented Database is considered a subset (a kind of) NoSQL Database. However, in general an OO DB will still have ACID-like locking to keep consistency, while NoSQL will generally have some kind of "eventually consistent" or partial locking semantics. A NoSQL's schema may be object-based or may be key-value based (or something else), making it a more general term.

“NoSQL”没有严格的定义,因此差异在很大程度上是语义上的。通常,面向对象的数据库被认为是一种子集(一种)NoSQL数据库。但是,一般来说,OO DB仍然会有类似ACID的锁定以保持一致性,而NoSQL通常会有某种“最终一致”或部分锁定语义。 NoSQL的模式可能是基于对象的,也可能是基于键值的(或其他东西),使其成为更通用的术语。

#1


5  

An object-oriented database, like db4o, would be considered one of the alternatives presented by NoSQL, which means Not Only SQL. It's a set of alternatives to relational databases: Voldemort, Hadoop, MongoDB, CouchDB, BigTable, Neo4J, db4o and others.

面向对象的数据库(如db4o)将被视为NoSQL提供的替代方案之一,这意味着不仅仅是SQL。它是关系数据库的一组替代品:Voldemort,Hadoop,MongoDB,CouchDB,BigTable,Neo4J,db4o等。

#2


9  

NoSQL DB are normally de-normalized (save copy of object data in place of object), where as OODB is normalized database with object relationships. In OODB, data is stored in object at one place and is linked (relation) to other objects.

NoSQL DB通常是非规范化的(保存对象数据的副本来代替对象),其中OODB是具有对象关系的规范化数据库。在OODB中,数据存储在一个地方的对象中,并与其他对象链接(关系)。

Due t above difference of de-normalized and normalized, both have their own pros and cons. NoSQL DBs like Mongo are fast to read but poor in writing / updating data. Due to de-normalized nature of NoSQL DBs, it hard to maintain integrity of data with that, where as OODB as Wakanda are easy to manage and have data integrity. You delete one object and all its relations are deleted automatically.

由于去标准化和标准化的差异,两者都有各自的优缺点。像Mongo这样的NoSQL DB读取速度快,但写入/更新数据却很差。由于NoSQL DB的非标准化特性,很难保持数据的完整性,而OODB和Wakanda一样易于管理并具有数据完整性。您删除一个对象,并自动删除其所有关系。

I tried a lot to figure out some good javascript object oriented DB, but as of now could not find any other than www.wakanda.org. In case you know any, kindly share details.

我尝试了很多来找出一些好的面向javascript对象的数据库,但截至目前还没有找到除www.wakanda.org以外的任何其他数据库。万一你知道,请分享细节。

#3


2  

NoSQL is a movement, OODB is a technology. Or in other words: NoSQL is a group of people, an OODB is a piece of code.

NoSQL是一种运动,OODB是一种技术。或者换句话说:NoSQL是一群人,OODB是一段代码。

#4


1  

There's no strict definition of "NoSQL", so the differences are largely semantic. Generally an Object Oriented Database is considered a subset (a kind of) NoSQL Database. However, in general an OO DB will still have ACID-like locking to keep consistency, while NoSQL will generally have some kind of "eventually consistent" or partial locking semantics. A NoSQL's schema may be object-based or may be key-value based (or something else), making it a more general term.

“NoSQL”没有严格的定义,因此差异在很大程度上是语义上的。通常,面向对象的数据库被认为是一种子集(一种)NoSQL数据库。但是,一般来说,OO DB仍然会有类似ACID的锁定以保持一致性,而NoSQL通常会有某种“最终一致”或部分锁定语义。 NoSQL的模式可能是基于对象的,也可能是基于键值的(或其他东西),使其成为更通用的术语。