当前位置:网站首页>Redis6-01nosql database
Redis6-01nosql database
2022-07-05 03:28:00 【Qian mys】
1、NoSQL brief introduction
1.web1.0 :
2.web2.0:
3. solve CPU And memory pressure :
4. solve IO pressure :
2、NoSQL summary
NoSQL = Not Only SQL Non relational database
NoSQL It doesn't rely on business logic to store , In a simple way key-value Mode storage . Therefore, the expansion ability of the database is greatly increased .
- Non compliance SQL standard .
- I won't support it ACID. Atomicity 、 Uniformity 、 Isolation, 、 persistence
- Far beyond SQL Performance of .
Applicable scenario :
- High concurrent reading and writing of data
- Read and write massive data
- High scalability of data
Not applicable to the scene :
- Need transaction support
- be based on sql Structured query storage of , Dealing with complex relationships , need Ad hoc inquiry .
- ( Not need sql And used sql It doesn't work , Please consider using NoSql)
3、 common NoSQL database
1、Memcache
It's very early NoSql database
The data is in memory , Generally not persistent
Support simple key-value Pattern , Support type A single
Usually as Cache database Secondary persistent database
2、Redis
It's almost covered Memcached Most functions of
The data is in memory , Support persistence , Mainly used for backup and recovery
In addition to supporting simple key-value Pattern , And support Storage of multiple data structures , such as list、set、hash、zset etc. .
Usually as Cache database Secondary persistent database
3、MongoDB
High performance 、 Open source 、 Model freedom (schema free) The article of File database
The data are all there Memory in , If there is not enough memory , Save infrequently used data to hard disk
Although it is key-value Pattern , But yes. value( In especial json) Provides rich query functions
Support Binary data and large objects
It can be replaced according to the characteristics of the data RDBMS , Become an independent database . Or cooperation RDBMS, Store specific data .
边栏推荐
猜你喜欢
Master Fur
2021 Li Hongyi machine learning (3): what if neural network training fails
[groovy] groovy environment setup (download groovy | install groovy | configure groovy environment variables)
2. Common request methods
51 independent key basic experiment
Ubantu disk expansion (VMware)
[groovy] string (string splicing | multi line string)
Design of kindergarten real-time monitoring and control system
Zabbix
Tencent cloud, realize image upload
随机推荐
2021 Li Hongyi machine learning (3): what if neural network training fails
Jd.com 2: how to prevent oversold in the deduction process of commodity inventory?
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Azkaban actual combat
Usage scenarios and solutions of ledger sharing
[2022 repair version] community scanning code into group activity code to drain the complete operation source code / connect the contract free payment interface / promote the normal binding of subordi
51 independent key basic experiment
GFS distributed file system
Share the newly released web application development framework based on blazor Technology
Leetcode92. reverse linked list II
2.常见的请求方法
Elfk deployment
Zabbix
[200 opencv routines] 99 Modified alpha mean filter
[Chongqing Guangdong education] 2777t green space planning reference questions of National Open University in autumn 2018
Moco V2 literature research [self supervised learning]
Anchor free series network yolox source code line by line explanation Part 2 (a total of 10, ensure to explain line by line, after reading, you can change the network at will, not just as a participan
TCP security of network security foundation
Pdf things
Yyds dry goods inventory intelligent fan based on CC2530 design