当前位置:网站首页>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
边栏推荐
- Single step debugging of master data reading of SAP commerce cloud products
- 潘多拉 IOT 开发板学习(RT-Thread)—— 实验4 蜂鸣器+马达实验【按键外部中断】(学习笔记)
- Poap: the adoption entrance of NFT?
- Robley's global and Chinese markets 2022-2028: technology, participants, trends, market size and share Research Report
- 小程序直播 + 电商,想做新零售电商就用它吧!
- Pycharm professional download and installation tutorial
- 各大主流编程语言性能PK,结果出乎意料
- dotnet-exec 0.6.0 released
- Compare whether two lists are equal
- dotnet-exec 0.6.0 released
猜你喜欢
测试部新来了个00后卷王,上了年纪的我真的干不过了,已经...
7. Scala process control
Innovation leads the direction. Huawei Smart Life launches new products in the whole scene
Leetcode70 (Advanced), 322
[wave modeling 1] theoretical analysis and MATLAB simulation of wave modeling
程序员SQL数据脚本编码能力弱,BI做不出来怎么办?
107. SAP UI5 OverflowToolbar 容器控件以及 resize 事件处理的一些细节介绍
资深测试/开发程序员写下无bug?资历(枷锁)不要惧怕错误......
【海浪建模2】三维海浪建模以及海浪发电机建模matlab仿真
1189. Maximum number of "balloons"
随机推荐
[circuit design] optocoupler use and circuit design summary
Global and Chinese markets of emergency rescue vessels (errv) 2022-2028: Research Report on technology, participants, trends, market size and share
ROS command line tool
Hand drawn video website
Summary of the function and usage of const, volatile and restrict
【FPGA教程案例9】基于vivado核的时钟管理器设计与实现
Async/await you can use it, but do you know how to deal with errors?
I was beaten by the interviewer because I didn't understand the sorting
【海浪建模2】三维海浪建模以及海浪发电机建模matlab仿真
[microprocessor] VHDL development of microprocessor based on FPGA
To sort out messy header files, I use include what you use
Global and Chinese market of network connected IC card smart water meters 2022-2028: Research Report on technology, participants, trends, market size and share
Analysis and comparison of leetcode weekly race + acwing weekly race (t4/t3)
7. Scala process control
6. Scala operator
RB technology stack
[untitled]
[STM32] (I) overview and GPIO introduction
107. SAP UI5 OverflowToolbar 容器控件以及 resize 事件处理的一些细节介绍
实战模拟│JWT 登录认证