当前位置:网站首页>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
边栏推荐
- The most complete regular practical guide of the whole network. You're welcome to take it away
- Take you ten days to easily complete the go micro service series (IX. link tracking)
- [development of large e-commerce projects] performance pressure test - Performance Monitoring - heap memory and garbage collection -39
- What you learned in the eleventh week
- Reasons and solutions of redis cache penetration and avalanche
- 资深测试/开发程序员写下无bug?资历(枷锁)不要惧怕错误......
- Binary conversion problem
- 华为百万聘请数据治理专家!背后的千亿市场值得关注
- MySQL uses the explain tool to view the execution plan
- 全网最全正则实战指南,拿走不谢
猜你喜欢
Poap: the adoption entrance of NFT?
To sort out messy header files, I use include what you use
SAP UI5 应用的主-从-从(Master-Detail-Detail)布局模式的实现步骤
Pycharm professional download and installation tutorial
[wave modeling 1] theoretical analysis and MATLAB simulation of wave modeling
各大主流编程语言性能PK,结果出乎意料
Applet live + e-commerce, if you want to be a new retail e-commerce, use it!
pycharm专业版下载安装教程
Single step debugging of master data reading of SAP commerce cloud products
潘多拉 IOT 开发板学习(RT-Thread)—— 实验4 蜂鸣器+马达实验【按键外部中断】(学习笔记)
随机推荐
[FPGA tutorial case 10] design and implementation of complex multiplier based on Verilog
Maximum number of "balloons"
[development of large e-commerce projects] performance pressure test - Optimization - impact of middleware on performance -40
Complete knapsack problem (template)
[STM32] (I) overview and GPIO introduction
ROS command line tool
PyTorch: In-place Operation
揭露测试外包公司,关于外包,你或许听到过这样的声音
Redis(1)之Redis简介
Detailed explanation of multi-mode input event distribution mechanism
Innovation leads the direction. Huawei Smart Life launches new products in the whole scene
[Yocto RM]11 - Features
107. Some details of SAP ui5 overflow toolbar container control and resize event processing
[flutter topic] 64 illustration basic textfield text input box (I) # yyds dry goods inventory #
Arbitrum: two-dimensional cost
Expose testing outsourcing companies. You may have heard such a voice about outsourcing
Expansion operator: the family is so separated
Parameter passing mechanism of member methods
College degree, what about 33 year old Baoma? I still sell and test, and my monthly income is 13K+
[FPGA tutorial case 9] design and implementation of clock manager based on vivado core