当前位置:网站首页>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
边栏推荐
- Global and Chinese market of nutrient analyzer 2022-2028: Research Report on technology, participants, trends, market size and share
- ||Interview questions you will encounter
- Arbitrum: two-dimensional cost
- npm install报错 强制安装
- Reasons and solutions of redis cache penetration and avalanche
- const、volatile和restrict的作用和用法总结
- Actual combat simulation │ JWT login authentication
- 全网最全正则实战指南,拿走不谢
- 4. Scala writes HelloWorld in idea, in-depth analysis of accompanying objects, and association of source packages
- Introduction to the gtid mode of MySQL master-slave replication
猜你喜欢

Take you ten days to easily complete the go micro service series (IX. link tracking)

What you learned in the eleventh week

Insert sort of sort

潘多拉 IOT 开发板学习(RT-Thread)—— 实验4 蜂鸣器+马达实验【按键外部中断】(学习笔记)

Analysis and comparison of leetcode weekly race + acwing weekly race (t4/t3)

【大型电商项目开发】性能压测-性能监控-堆内存与垃圾回收-39

测试部新来了个00后卷王,上了年纪的我真的干不过了,已经...

To sort out messy header files, I use include what you use

小程序直播 + 电商,想做新零售电商就用它吧!

pycharm专业版下载安装教程
随机推荐
[pure tone hearing test] pure tone hearing test system based on MATLAB
FEG founder rox:smartdefi will be the benchmark of the entire decentralized financial market
Sorting selection sorting
Basic operation of database and table ----- the concept of index
RB technology stack
Arbitrum: two-dimensional cost
[FPGA tutorial case 9] design and implementation of clock manager based on vivado core
Global and Chinese market of optical densitometers 2022-2028: Research Report on technology, participants, trends, market size and share
【海浪建模1】海浪建模的理论分析和matlab仿真
Robley's global and Chinese markets 2022-2028: technology, participants, trends, market size and share Research Report
A simple SSO unified login design
Are you still writing the TS type code
Leetcode70 (Advanced), 322
Basic operation of database and table ----- phased test II
"Upside down salary", "equal replacement of graduates" these phenomena show that the testing industry has
Global and Chinese markets of radiation linear accelerators 2022-2028: Research Report on technology, participants, trends, market size and share
[FPGA tutorial case 10] design and implementation of complex multiplier based on Verilog
Async/await you can use it, but do you know how to deal with errors?
多模输入事件分发机制详解
Les phénomènes de « salaire inversé » et de « remplacement des diplômés » indiquent que l'industrie des tests a...