当前位置:网站首页>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 .
边栏推荐
- Sqoop command
- Comparison of advantages and disadvantages between platform entry and independent deployment
- 腾讯云,实现图片上传
- Utilisation simple de devtools
- [groovy] loop control (number injection function implements loop | times function | upto function | downto function | step function | closure can be written outside as the final parameter)
- Is there any way to change the height of the uinavigationbar in the storyboard without using the UINavigationController?
- SQL performance optimization skills
- Six stone programming: advantages of automated testing
- Talk about the SQL server version of DTM sub transaction barrier function
- Azkaban实战
猜你喜欢
el-select,el-option下拉选择框
Azkaban installation and deployment
Simple use of devtools
Watch the online press conference of tdengine community heroes and listen to TD hero talk about the legend of developers
New interesting test applet source code_ Test available
[200 opencv routines] 99 Modified alpha mean filter
Moco V2 literature research [self supervised learning]
Basic knowledge of tuples
Pat class a 1160 forever (class B 1104 forever)
Leetcode92. reverse linked list II
随机推荐
Mongodb common commands
Flume configuration 4 - customize mysqlsource
Vb+access hotel service management system
[system security] ten thousand words summary system virtualization container bottom layer principle experiment
[micro service SCG] 33 usages of filters
Leetcode42. connect rainwater
LeetCode 234. Palindrome linked list
Pdf things
Multi person online anonymous chat room / private chat room source code / support the creation of multiple chat rooms at the same time
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
PHP cli getting input from user and then dumping into variable possible?
SPI and IIC communication protocol
Devtools的簡單使用
Kubernetes - identity and authority authentication
[groovy] string (string splicing | multi line string)
Delphi free memory
Why do some programmers change careers before they are 30?
Yyds dry goods inventory embedded matrix
Pytest (4) - test case execution sequence
Good documentation