当前位置:网站首页>Redis introduction

Redis introduction

2022-07-19 08:26:00 Illusory clarity

1、Redis yes NoSQL A kind of database ,NoSQL(NoSQL = Not Only SQL ), meaning “ not only SQL”, A general term for a non-relational database . NoSQL It doesn't rely on business logic to store , In a simple way key-value Mode storage . Therefore, it is greatly increased The expansion ability of the database .

  Non compliance  SQL  standard . 
  I won't support it  ACID.
  Far beyond  SQL  Performance of .

2、 NoSQL Applicable scenario

  High concurrent reading and writing of data  
  Read and write massive data  
  High scalability of data 

3、NoSQL Not applicable to the scene

  Need transaction support  
  be based on  sql  Structured query storage of , Dealing with complex relationships , You need to make an ad hoc inquiry . 

 ( Not need sql And used sql It doesn't work , Please consider using NoSql

4、NOSQL The role of database
web2.0 Time : Single server 、 Single database , Due to the increasing number of users ,CPU、 Memory and IO Are facing great pressure .
 Insert picture description here

At this time redis It came into being .

(1) solve CPU And memory pressure
 Insert picture description here (2) solve IO pressure
 Insert picture description here

5、redis brief introduction
 Insert picture description here
Concrete NoSQL You can go to the official website to understand .

原网站

版权声明
本文为[Illusory clarity]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/200/202207170723513116.html