当前位置:网站首页>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 .
边栏推荐
- [introduction to AUTOSAR seven tool chain]
- Linux Software: how to install redis service
- 1.12 - Instructions
- 【AutoSAR 五 方法论】
- How to convert Quanzhi a40i/t3 to can through SPI
- Leetcode-871: minimum refueling times
- Shell implements basic file operations (SED edit, awk match)
- 【AutoSAR 一 概述】
- 数组与集合性能比较
- [case sharing] let the development of education in the new era advance with "number"
猜你喜欢
matlab将数字矩阵保存为地理空间数据出错,显示下标索引必须为正整数类型或逻辑类型,解决
Kubernetes resource object introduction and common commands (V) - (NFS & PV & PVC)
如何系统学习机器学习
1.12 - Instructions
Arduino开发之按键检测与正弦信号输出
Rk3568 development board evaluation (II): development environment construction
【AutoSAR 七 工具链简介】
Vulkan practice first bullet
深度剖析数据在内存中的存储
Rust字符串切片、结构体和枚举类
随机推荐
[AUTOSAR + IO Architecture]
(C语言)数据的存储
瑞萨RZ/G2L ARM开发板存储读写速度与网络实测
[overview of AUTOSAR three RTE]
lex && yacc && bison && flex 配置的问题
About qbytearray storage hexadecimal and hexadecimal conversion
Unity learns from spaceshooter to record the difference between fixedupdate and update in unity for the second time
Leetcode-871: minimum refueling times
mysql 多表联合删除
深度剖析数据在内存中的存储
1.11 - 总线
How to find out the currently running version of Solr- How do I find out version of currently running Solr?
Kubernetes resource object introduction and common commands (V) - (NFS & PV & PVC)
【AutoSAR 十二 模式管理】
Rust字符串切片、结构体和枚举类
Some introduction and precautions about XML
2022上半年值得被看见的10条文案,每一句都能带给你力量!
指针初阶(基础)
【AutoSAR 四 BSW概述】
[AUTOSAR nine c/s principle Architecture]