当前位置:网站首页>【数据库】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
边栏推荐
- 【自动回复小脚本】新年快乐,每一个字都是我亲自手打的,不是转发哦~
- LabVIEW performs a serial loopback test
- [pyGame] this classic bomber super game is online. Do you love it? (source code attached)
- 【LaTex】latex VS Code snippets(代码片段)
- Is it safe for changtou school to open an account? Is it reliable?
- vtk.js中vtp下载
- 【Pygame小游戏】这款经典的炸弹人超能游戏上线,你爱了嘛?(附源码)
- 【Pygame小游戏】这款“打地鼠”小游戏要火了(来来来)
- [pyGame collection] please check the game guide through childhood: are there any games you have played? (attach five source codes for self access)
- When leaving the web page, the website displays 404 Not found- starze V Club
猜你喜欢

Wireshake introduction learning notes

LabVIEW uses the visa read function to read USB interrupt data
![[fireworks in the sky] it's beautiful to light up the night sky with gorgeous fireworks. A programmer brought a fireworks show to pay New Year's greetings to everyone~](/img/3b/2fcd5ff2ea08c4c63428899babd522.png)
[fireworks in the sky] it's beautiful to light up the night sky with gorgeous fireworks. A programmer brought a fireworks show to pay New Year's greetings to everyone~

【Pygame小游戏】“史上最炫酷贪吃蛇”驾到,FUN开玩(不好玩不要钱)

Bluetooth development (2) -- initialization

【自动回复小脚本】新年快乐,每一个字都是我亲自手打的,不是转发哦~

C language file operation

Bluetooth (5) -- about retransmission

curl导入postman报错小记

A simple understanding of B tree
随机推荐
[mathematics] [continuum mechanics] symmetry tensor, strain tensor and stress tensor in fluid mechanics
Select sort
都说验证码是爬虫中的一道坎,看我只用五行代码就突破它。
After deepin20 menu startup option, the self-test indicates that iwlwwifi is stopped
Dark horse headlines - Tencent's salary system reform has caused controversy; Intel expanded the recruitment of female engineers nationwide; Black horse is 100% employed really
[pyGame games] tank battle, how many childhood games do you remember?
[pyGame collection] memory killing - "Childhood Games", how many shots did you get? (attach five source codes for self access)
希尔排序
Leetcode-209 minimum length subarray
Kubernetes 基本介绍及核心组件
集合删除元素技巧 removeIf
C language file operation
【Turtle表白合集】“海底月是天上月,眼前人是心上人。”余生多喜乐,长平安~(附3款源码)
Bluetooth development (2) -- initialization
MySQL command line import and export data
【Pygame小游戏】首月破亿下载 一款高度融合了「超休闲游戏特性」的佳作~
Why is the website snapshot hijacked and tampered with
Merge sort
[pyGame] when the "coolest snake in history" arrives, fun will play it (no money for fun)
LabVIEW displays the time and date on the waveform chart or waveform chart