当前位置:网站首页>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
边栏推荐
- [Yocto RM]11 - Features
- 107. Some details of SAP ui5 overflow toolbar container control and resize event processing
- Summary of the function and usage of const, volatile and restrict
- Inventory of more than 17 typical security incidents in January 2022
- MySQL uses the explain tool to view the execution plan
- 华为百万聘请数据治理专家!背后的千亿市场值得关注
- 【大型电商项目开发】性能压测-性能监控-堆内存与垃圾回收-39
- College degree, what about 33 year old Baoma? I still sell and test, and my monthly income is 13K+
- Postman automatically fills headers
- 7. Scala process control
猜你喜欢
Senior Test / development programmers write no bugs? Qualifications (shackles) don't be afraid of mistakes
Arbitrum:二维费用
“薪資倒掛”、“畢業生平替” 這些現象說明測試行業已經...
1189. Maximum number of "balloons"
pycharm专业版下载安装教程
Les phénomènes de « salaire inversé » et de « remplacement des diplômés » indiquent que l'industrie des tests a...
Leetcode70 (Advanced), 322
Basic operations of database and table ----- create index
程序员SQL数据脚本编码能力弱,BI做不出来怎么办?
College degree, what about 33 year old Baoma? I still sell and test, and my monthly income is 13K+
随机推荐
[microprocessor] VHDL development of microprocessor based on FPGA
Oracle case: SMON rollback exception causes instance crash
Global and Chinese market of optical densitometers 2022-2028: Research Report on technology, participants, trends, market size and share
To sort out messy header files, I use include what you use
[wave modeling 1] theoretical analysis and MATLAB simulation of wave modeling
Check if this is null - checking if this is null
Playwright recording
测试部新来了个00后卷王,上了年纪的我真的干不过了,已经...
Which financial products with stable income are good
Global and Chinese markets of radiation linear accelerators 2022-2028: Research Report on technology, participants, trends, market size and share
Innovation leads the direction. Huawei Smart Life launches new products in the whole scene
Analysis and comparison of leetcode weekly race + acwing weekly race (t4/t3)
【海浪建模2】三维海浪建模以及海浪发电机建模matlab仿真
Applet live + e-commerce, if you want to be a new retail e-commerce, use it!
Are you still writing the TS type code
[flutter topic] 64 illustration basic textfield text input box (I) # yyds dry goods inventory #
Les phénomènes de « salaire inversé » et de « remplacement des diplômés » indiquent que l'industrie des tests a...
Global and Chinese market of veterinary thermometers 2022-2028: Research Report on technology, participants, trends, market size and share
Sorting selection sorting
Database postragesql lock management