当前位置:网站首页>The difference between relational database and non relational database
The difference between relational database and non relational database
2022-07-03 00:55:00 【Z_ Gleng】
1、 Data storage is different .
The main difference between relational and non relational databases is the way data is stored . Relational data is naturally tabular , Therefore, it is stored in the rows and columns of the data table . Data tables can be associated with each other and stored cooperatively , It's also easy to extract data .
On the contrary , Non relational data is not suitable to be stored in rows and columns of the data table , It's big pieces together . Non relational data is usually stored in a dataset , It's like a document 、 Key value pairs or graph structures . Your data and its characteristics are the primary factors in choosing how to store and extract data .
2、 Different expansion methods .
SQL and NoSQL The biggest difference between databases may be in the way they are extended , To support growing demand, of course, expand .
To support more concurrency ,SQL The database is vertically extended , In other words, improve processing capacity , Use a faster computer , This makes it faster to process the same data set .
Because the data is stored in relational tables , The performance bottleneck of the operation may involve many tables , This needs to be improved by improving computer performance . although SQL The database has a lot of expansion space , But it will eventually reach the upper limit of vertical expansion . and NoSQL The database is scalable .
Non relational data storage is naturally distributed ,NoSQL The database can be expanded by adding more common database servers to the resource pool ( node ) To share the load .
3、 Support for transactional is different .
If the data operation needs high transaction or complex data query needs to control the execution plan , So traditional SQL Database is your best choice in terms of performance and stability .SQL The database supports fine-grained control over the atomicity of transactions , And it's easy to roll back transactions .
although NoSQL Databases can also use transactional operations , But it can't compare with relational database in terms of stability , So their real value is in the scalability of operation and large amount of data processing .
边栏推荐
- 【JetCache】JetCache的配置说明和注解属性说明
- [AUTOSAR I overview]
- Rust ownership (very important)
- Leetcode-849: maximum distance to the nearest person
- Shell 实现文件基本操作(sed-编辑、awk-匹配)
- Infrared thermography temperature detection system based on arm rk3568
- Leetcode-934: the shortest Bridge
- University of Oslo: Li Meng | deep reinforcement learning based on swing transformer
- In the first half of 2022, there are 10 worth seeing, and each sentence can bring you strength!
- 使用jenkins之二Job
猜你喜欢
![[applet project development -- JD mall] user defined search component of uni app (middle) -- search suggestions](/img/ea/ee1ad50a497478b9d080bb5e4bdfb5.png)
[applet project development -- JD mall] user defined search component of uni app (middle) -- search suggestions

Infrared thermography temperature detection system based on arm rk3568

飞凌搭载TI AM62x的ARM核心板/开发板首发上市,亮相Embedded World 2022

Reading and writing speed of Reza rz/g2l arm development board storage and network measurement

百度智能云牵头打造智能云综合标准化平台

Win10 can't be installed in many ways Problems with NET3.5

使用jenkins之二Job

图解网络:什么是虚拟路由器冗余协议 VRRP?

1.12 - 指令

Rk3568 development board evaluation (II): development environment construction
随机推荐
【AutoSAR 五 方法论】
How to systematically learn machine learning
Illustrated network: what is virtual router redundancy protocol VRRP?
瑞萨电子RZ/G2L开发板上手评测
【luogu P4320】道路相遇(圆方树)
瑞萨RZ/G2L 处理器简介|框架图|功耗|原理图及硬件设计指南
腾讯云免费SSL证书扩展文件含义
[daily training] 871 Minimum refueling times
[AUTOSAR I overview]
[AUTOSAR II appl overview]
Vulkan并非“灵药“
Linux软件:如何安装Redis服务
lex && yacc && bison && flex 配置的问题
leetcode-1964:找出到每个位置为止最长的有效障碍赛跑路线
[AUTOSAR XIII NVM]
Array and collection performance comparison
Initial order of pointer (basic)
数据分析思维分析犯法和业务知识——分析方法(一)
Sentry developer contribution Guide - configure pycharm
关于QByteArray存储十六进制 与十六进制互转