当前位置:网站首页>Introduction to redis (1)
Introduction to redis (1)
2022-07-05 01:06:00 【W sheep Sean w】
Catalog
3.Redis Introduction to relevant knowledge
(3) close redis Two methods of
1. When redis
(1)NoSQL What is it?
NoSQL, A general term for a non-relational database . With the Internet web2.0 The rise of websites , Traditional relational databases are dealing with web2.0 Website , Especially large scale and high concurrency SNS Type of web2.0 Pure already seems unable , There are a lot of insurmountable problems , The non-relational database has developed rapidly due to its own characteristics .NoSQL The emergence of database is to solve the challenge of large data sets and multiple data types , Especially big data application problems .
(2)NoSQL summary
NoSQL Applicable scenario :High concurrent reading and writing of dataRead and write massive dataHigh scalability of data 1.2.3.NoSQL Not applicable to the scene :Need transaction supportbe based on sql Structured query storage of , Dealing with complex relationships , need Impromptu Inquire about .
(3)Redis What is it?
Redis(Remote Dictionary Server ), Remote dictionary service , Is an open source use ANSIC Language writing 、 Support network 、 Log type that can be memory based or persistent 、Key-Value database , And provide multilingual API.Redis It's a kind of NoSQL;
(4)Redis summary
1.Redis It's a Open source Of key-value The storage system .
2. and Memcached similar , It supports storage value There are more types , Include string( character string )、 list( Linked list )、set( aggregate )、zset(sorted set -- Ordered set ) and hash( Hash type ).
2.Redis The role of
(1) Cache with relational database
(2) A variety of data structures store persistent data
3.Redis Introduction to relevant knowledge
(1)redis stay Linux Start in
a. Front desk login
stay bin Enter the command in the directory redis-server
At the same time, the front desk display tells us redis The port number of is 6379
b. Backstage login
redis stay Linux The startup command in is redis-server / route /redis-config
The command to open the client is redis-cli( my redis.conf stay etc Under the table of contents )
Among the two startup methods, we choose the background startup method
(2) sign out redis client
sign out redis client The order is exit
(3) close redis Two methods of
a. Enter commands directly on the client shutdown
b. utilize kill Order to kill redis process kill -9 PID
(4)Redis Database in
(5)Redis Other operations in
(6)Redis Explanation
Redis A single thread + multiple IO Multiplexing technology
边栏推荐
- A simple SSO unified login design
- 整理混乱的头文件,我用include what you use
- 全栈开发提效神器——ApiFox(Postman + Swagger + Mock + JMeter)
- Intel sapphire rapids SP Zhiqiang es processor cache memory split exposure
- Mongodb series learning notes tutorial summary
- Global and Chinese market of veterinary thermometers 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese markets of emergency rescue vessels (errv) 2022-2028: Research Report on technology, participants, trends, market size and share
- SAP UI5 应用开发教程之一百零七 - SAP UI5 OverflowToolbar 容器控件介绍的试读版
- dotnet-exec 0.6.0 released
- 各大主流编程语言性能PK,结果出乎意料
猜你喜欢
26.2 billion! These universities in Guangdong Province have received heavy support
What you learned in the eleventh week
NPM install error forced installation
7. Scala process control
Pycharm professional download and installation tutorial
Relationship between classes and objects
Call Huawei order service to verify the purchase token interface and return connection reset
Async/await you can use it, but do you know how to deal with errors?
Safety learning week4
Senior Test / development programmers write no bugs? Qualifications (shackles) don't be afraid of mistakes
随机推荐
【大型电商项目开发】性能压测-优化-中间件对性能的影响-40
I was beaten by the interviewer because I didn't understand the sorting
leetcode494,474
Visual explanation of Newton iteration method
"Upside down salary", "equal replacement of graduates" these phenomena show that the testing industry has
SAP ui5 application development tutorial 107 - trial version of SAP ui5 overflow toolbar container control introduction
Basic operation of database and table ----- phased test II
[development of large e-commerce projects] performance pressure test - Optimization - impact of middleware on performance -40
dotnet-exec 0.6.0 released
Arbitrum: two-dimensional cost
[circuit design] optocoupler use and circuit design summary
大专学历,33岁宝妈又怎样?我照样销售转测试,月入13k+
Summary of the function and usage of const, volatile and restrict
Single step debugging of master data reading of SAP commerce cloud products
node工程中package.json文件作用是什么?里面的^尖括号和~波浪号是什么意思?
User login function: simple but difficult
107. Some details of SAP ui5 overflow toolbar container control and resize event processing
Relationship between classes and objects
Recursive execution mechanism
视频网站手绘