当前位置:网站首页>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 .
边栏推荐
- 465. 最优账单平衡 DFS 回溯
- How to find out the currently running version of Solr- How do I find out version of currently running Solr?
- How to convert Quanzhi a40i/t3 to can through SPI
- How SQLSEVER removes data with duplicate IDS
- AEM: Nanlin fan Ben et al. - plant rhizosphere growth promoting bacteria control soybean blight
- 研发一款国产ARM智能边缘计算网关需要什么
- leetcode-2115:从给定原材料中找到所有可以做出的菜
- 线程的启动与优先级
- 1.11 - bus
- Lu Zhe, chief scientist of Shiping information: building data and personnel centered security capabilities
猜你喜欢

瑞萨RZ/G2L ARM开发板存储读写速度与网络实测
![[shutter] image component (the placeholder | transparent_image transparent image plug-in is loaded into the memory)](/img/73/19e2e0fc5ea6f05e34584ba40a452d.jpg)
[shutter] image component (the placeholder | transparent_image transparent image plug-in is loaded into the memory)

Key detection and sinusoidal signal output developed by Arduino

世平信息首席科学家吕喆:构建以数据和人员为中心的安全能力

Arduino开发之按键检测与正弦信号输出

Web2.0 giants have deployed VC, and tiger Dao VC may become a shortcut to Web3
![[AUTOSAR VI description document]](/img/3d/1382acbc4054ab218485a12b7b4e6b.png)
[AUTOSAR VI description document]

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

Linux软件:如何安装Redis服务

【案例分享】让新时代教育发展与“数”俱进
随机推荐
leetcode-1964:找出到每个位置为止最长的有效障碍赛跑路线
【案例分享】让新时代教育发展与“数”俱进
Leetcode-241: designing priorities for operational expressions
深度剖析数据在内存中的存储
【AutoSAR 二 AppL概述】
AEM: Nanlin fan Ben et al. - plant rhizosphere growth promoting bacteria control soybean blight
Baidu AI Cloud takes the lead in building a comprehensive and standardized platform for smart cloud
Rust ownership (very important)
(C语言)数据的存储
An excellent orm in dotnet circle -- FreeSQL
[AUTOSAR + IO Architecture]
Array common operation methods sorting (including ES6) and detailed use
Problèmes de configuration lex & yacc & Bison & Flex
University of Toronto: Anthony coach | the conditions of deep reinforcement learning can induce dynamic risk measurement
Vulkan-实践第一弹
1.11 - bus
leetcode-2115:从给定原材料中找到所有可以做出的菜
[daily training] 871 Minimum refueling times
[AUTOSAR XIII NVM]
Cordova plugin device obtains the device information plug-in, which causes Huawei to fail the audit