当前位置:网站首页>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 .
边栏推荐
- MySQL winter vacation self-study 2022 11 (9)
- Kubernetes - identity and authority authentication
- Why is this an undefined behavior- Why is this an undefined behavior?
- Elfk deployment
- Performance of calling delegates vs methods
- Leetcode42. connect rainwater
- This + closure + scope interview question
- Kubernetes -- cluster expansion principle
- Acwing第 58 场周赛【完结】
- 問下,這個ADB mysql支持sqlserver嗎?
猜你喜欢
为什么腾讯阿里等互联网大厂诞生的好产品越来越少?
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
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Logstash、Fluentd、Fluent Bit、Vector? How to choose the appropriate open source log collector
Spark SQL learning bullet 2
Zero foundation uses paddlepaddle to build lenet-5 network
单项框 复选框
Basic knowledge of tuples
Acwing第 58 场周赛【完结】
Jd.com 2: how to prevent oversold in the deduction process of commodity inventory?
随机推荐
Cette ADB MySQL prend - elle en charge SQL Server?
Kbp206-asemi rectifier bridge kbp206
[micro service SCG] 33 usages of filters
VM in-depth learning (XXV) -class file overview
Comparison of advantages and disadvantages between platform entry and independent deployment
[groovy] string (string injection function | asBoolean | execute | minus)
Basic knowledge of tuples
Good documentation
Why are there fewer and fewer good products produced by big Internet companies such as Tencent and Alibaba?
001 chip test
LeetCode 234. Palindrome linked list
SQL injection exercise -- sqli Labs
打破信息茧房-我主动获取信息的方法 -#3
端口,域名,协议。
Design and practice of kubernetes cluster and application monitoring scheme
qrcode:将文本生成二维码
Azkaban actual combat
How to learn to get the embedding matrix e # yyds dry goods inventory #
Yyds dry goods inventory embedded matrix
Kubernetes - identity and authority authentication