当前位置:网站首页>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 .
边栏推荐
- Extension of flutter
- File operation io-part2
- 百度智能云牵头打造智能云综合标准化平台
- Shell implements basic file operations (SED edit, awk match)
- 【AutoSAR 六 描述文件】
- Problèmes de configuration lex & yacc & Bison & Flex
- The "2022 China Digital Office Market Research Report" can be downloaded to explain the 176.8 billion yuan market in detail
- 详解RDD基本概念、RDD五大属性
- 测试右移:线上质量监控 ELK 实战
- AttributeError: ‘tuple‘ object has no attribute ‘layer‘问题解决
猜你喜欢
Test shift right: Elk practice of online quality monitoring
1.12 - 指令
tail -f 、tail -F、tailf的区别
[shutter] image component (load network pictures | load static pictures | load local pictures | path | provider plug-in)
AEM: Nanlin fan Ben et al. - plant rhizosphere growth promoting bacteria control soybean blight
瑞萨电子RZ/G2L开发板上手评测
[AUTOSAR II appl overview]
【小程序项目开发-- 京东商城】uni-app之自定义搜索组件(中)-- 搜索建议
数学建模之线性规划(含MATLAB代码)
[overview of AUTOSAR three RTE]
随机推荐
【日常训练】871. 最低加油次数
leetcode-934:最短的桥
Illustrated network: what is virtual router redundancy protocol VRRP?
如何系统学习机器学习
(C语言)数据的存储
How to systematically learn machine learning
leetcode-849:到最近的人的最大距离
Win10 多种方式解决无法安装.Net3.5的问题
Meaning of Tencent cloud free SSL certificate extension file
Baidu AI Cloud takes the lead in building a comprehensive and standardized platform for smart cloud
antv x6节点拖拽到画布上后的回调事件(踩大坑记录)
1.12 - 指令
关于XML一些介绍和注意事项
线程的启动与优先级
【AutoSAR 七 工具链简介】
Reading and writing speed of Reza rz/g2l arm development board storage and network measurement
【AutoSAR 六 描述文件】
【JetCache】JetCache的配置说明和注解属性说明
In the first half of 2022, there are 10 worth seeing, and each sentence can bring you strength!
【AutoSAR 八 OS】