当前位置:网站首页>【数据库】Nosql数据库的种类
【数据库】Nosql数据库的种类
2022-06-10 22:53:00 【翔哥学大数据】
NoSQL数据库的四大家族
1、键值(Key-Value)存储数据库
这一类数据库主要会使用到一个哈希表,这个表中有一个特定的键和一个指针指向特定的数据。Key/value模型对于IT系统来说的优势在于简单、易部署。但是如果DBA只对部分值进行查询或更新的时候,Key/value就显得效率低下了。
相关数据库 | Tokyo Cabinet/Tyrant、Redis、Voldemort、Berkeley DB |
典型应用 | 内容缓存,适合混合工作负载并扩展大的数据集 |
数据模型 | 一系列键值对 |
| 优势 | 快速查询 |
| 劣势 | 存储的数据缺少结构化 |
2、列存储数据库
这部分数据库通常是用来应对分布式存储的海量数据。键仍然存在,但是它们的特点是指向了多个列。这些列是由列家族来安排的。
| 相关数据库 | Cassandra, HBase, Riak |
| 典型应用 | 分布式的文件系统 |
| 数据模型 | 以列簇式存储,将同一列数据存在一起 |
| 优势 | 查找速度快,可扩展性强,更容易进行分布式扩展 |
| 劣势 | 功能相对局限 |
3、文档型数据库
文档型数据库的灵感是来自于Lotus Notes办公软件的,而且它同第一种键值存储相类似。该类型的数据模型是版本化的文档,半结构化的文档以特定的格式存储,比如JSON。文档型数据库可以看作是键值数据库的升级版,允许之间嵌套键值。而且文档型数据库比键值数据库的查询效率更高。
| 相关数据库 | CouchDB、MongoDB |
| 典型应用 | Web应用 |
| 数据模型 | 一系列键值对 |
| 优势 | 数据结构要求不严格 |
| 劣势 | 查询性能不高,而且缺乏统一的查询语法 |
4、图形(Graph)数据库
图形结构的数据库同其他行列以及刚性结构的SQL数据库不同,它是使用灵活的图形模型,并且能够扩展到多个服务器上。NoSQL数据库没有标准的查询语言(SQL),因此进行数据库查询需要制定数据模型。许多NoSQL数据库都有REST式的数据接口或者查询API。
| 相关数据库 | Neo4J、InfoGrid、Infinite Graph |
| 典型应用 | 社交网络,推荐系统等。专注于构建关系图谱 |
| 数据模型 | 图结构 |
| 强项 | 利用图结构相关算法。 |
| 弱项 | 需要对整个图做计算才能得出结果,不容易做分布式的集群方案。 |
因此,我们总结NoSQL数据库在以下的这几种情况下比较适用:1、数据模型比较简单;2、需要灵活性更强的IT系统;3、对数据库性能要求较高;4、不需要高度的数据一致性;5、对于给定key,比较容易映射复杂值的环境。
原文链接:http://www.searchdatabase.com.cn/showcontent_52898.htm?lg=t
边栏推荐
- Create millisecond time id in LabVIEW
- Typecho blog site wide deployment of Tencent cloud CDN tutorial - Xingze V Club
- 数据库表结构
- LabVIEW displays the time and date on the waveform chart or waveform chart
- Basic introduction and core components of kubernetes
- Merge sort
- Quick sort
- The same customized right-click menu beautification on this site - Xingze V Club
- [pyGame games] don't look for it. Here comes the leisure game topic - bubble dragon widget - recommendation for leisure game research and development
- Is the financial management of qiniu school reliable and safe
猜你喜欢
![[MVC&Core]ASP.NET Core MVC 视图传值入门](/img/c2/3e69cda2fed396505b5aa5888b9e5f.png)
[MVC&Core]ASP.NET Core MVC 视图传值入门

Bluetooth development (4) -- about flow control

CSDN daily practice -- half search of ordered table

【AI出牌器】第一次见这么“刺激”的斗地主,胜率高的关键因素竟是......

【Pygame小遊戲】別找了,休閑遊戲專題來了丨泡泡龍小程序——休閑遊戲研發推薦

【Pygame小游戏】来了来了它来了——这款五子棋小游戏超A的,分享给你的小伙伴儿一起pk吧~
![[auto reply or remind assistant] Mom doesn't have to worry about me missing messages any more (10 Line Code Series)](/img/b3/64429247ee1b91a05d4faa1d78a1df.png)
[auto reply or remind assistant] Mom doesn't have to worry about me missing messages any more (10 Line Code Series)

Create millisecond time id in LabVIEW

Leetcode-15 sum of three numbers

From the perspective of Confucius Temple IP crossover, we can see how the six walnuts become "butterflies" for the second time
随机推荐
[pyGame] this "groundhog" game is going to be popular (come on, come on)
[pyGame games] don't look for it. Here comes the leisure game topic - bubble dragon widget - recommendation for leisure game research and development
【数学】【连续介质力学】流体力学中的对称张量、应变张量和应力张量
【Pygame小游戏】剧情流推荐:什么样的游戏才能获得大家的喜欢呢?(魔鬼恋人、霸总娇妻版)
Error report of curl import postman
WinDriver compilation summary
How to measure the refresh rate of oscilloscope
启牛学堂理财可靠吗,安全吗
Basic introduction and core components of kubernetes
Opencv实战之图像的基本操作:这效果出来惊艳了众人(附代码解析)
C language file operation
【Pygame小游戏】激荡大脑思维,一起来玩转奇思妙想“24点”叭~(超赞滴)
【AcWing】4. Multiple knapsack problem I
安全生产月,黄埔开展燃气安全进商铺宣传活动
[pyGame games] here it is. This Gobang game is super A. share it with your friends~
【Pygame小游戏】这款“打地鼠”小游戏要火了(来来来)
Why is the website snapshot hijacked and tampered with
Serial port missing in Ni Max in LabVIEW
[mathematics] [continuum mechanics] symmetry tensor, strain tensor and stress tensor in fluid mechanics
Deepin20菜单启动选项后自检到iwlwifi停机