NoSQL数据库之间的差异

NoSQL数据库之间的差异

本文介绍了NoSQL数据库之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

NoSQL术语有4个类别.

NoSQL term has 4 categories.

  1. 键值存储
  2. 面向文档
  3. 面向列.

从我的角度来看,所有这些数据建模都具有相同的定义,有什么区别?

From my point of view all these data modeling has same definition, What are differences?

键/值数据库以OOP中的对象之类的结构维护数据.有权访问数据基于唯一密钥.

Key\value database maintains data in structure like object in OOP. having access to data is base on unique key.

面向列是一种类似于键\值的方法!但是在键/值中,您无法通过查询访问值.我的意思是,查询是基于键的.

比较第一和第二来自2个不同类别的第二张图片.

Column oriented is an approach like key\value! But in key\value, you cant access to value by query. I mean, queries are key-based.

Compare 1st & 2nd picture from 2 different categories.

面向文档的数据将数据存储在集合中,例如行.能够访问数据基于唯一密钥.集合存储诸如键\值之类的数据.但是,您可以按值访问数据.

Document oriented stores data in collections, something like rows. Having access to data is base on unique key. The collections store data like key\value. However, you can access data by value.

如您所见,在这3个类别中,我们定义了唯一键,用于指定唯一对象&一些键/值对以获取更多信息

As you can see, In these 3 categories, we define a unique key for specify a unique object & some pairs of key\value for more information

图形数据库有些不同.

Graph db is a little different.

那么,定义&的区别是什么?在现实世界中?

So, what are differences in definition & in real-world?

推荐答案

观看: http://www.youtube.com/watch?v=qI_g07C_Q5I

我见过的最好的NoSQL简介.

Best introduction to NoSQL I've ever seen.

这篇关于NoSQL数据库之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 03:30