当前位置:网站首页>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
边栏推荐
- 【纯音听力测试】基于MATLAB的纯音听力测试系统
- 【FPGA教程案例10】基于Verilog的复数乘法器设计与实现
- 4. Scala writes HelloWorld in idea, in-depth analysis of accompanying objects, and association of source packages
- Discrete mathematics: reasoning rules
- Hand drawn video website
- 实战模拟│JWT 登录认证
- 有哪些收益稳定的理财产品,这两个都不错
- Reasons and solutions of redis cache penetration and avalanche
- leetcode494,474
- MongoDB系列之学习笔记教程汇总
猜你喜欢
26.2 billion! These universities in Guangdong Province have received heavy support
What if the programmer's SQL data script coding ability is weak and Bi can't do it?
Leetcode70 (Advanced), 322
107. SAP UI5 OverflowToolbar 容器控件以及 resize 事件处理的一些细节介绍
大专学历,33岁宝妈又怎样?我照样销售转测试,月入13k+
Expansion operator: the family is so separated
[wave modeling 2] three dimensional wave modeling and wave generator modeling matlab simulation
Sorting selection sorting
Grabbing and sorting out external articles -- status bar [4]
Pandora IOT development board learning (RT thread) - Experiment 4 buzzer + motor experiment [key external interrupt] (learning notes)
随机推荐
【大型电商项目开发】性能压测-优化-中间件对性能的影响-40
Implementation steps of master detail detail layout mode of SAP ui5 application
What you learned in the eleventh week
Expansion operator: the family is so separated
SAP UI5 应用开发教程之一百零六 - 如何提高 SAP UI5 应用路由 url 的可读性试读版
全网最全正则实战指南,拿走不谢
“薪資倒掛”、“畢業生平替” 這些現象說明測試行業已經...
[STM32] (I) overview and GPIO introduction
Several simplified forms of lambda expression
【FPGA教程案例9】基于vivado核的时钟管理器设计与实现
【大型电商项目开发】性能压测-性能监控-堆内存与垃圾回收-39
Research Report on the overall scale, major producers, major regions, products and application segmentation of agricultural automatic steering system in the global market in 2022
What if the programmer's SQL data script coding ability is weak and Bi can't do it?
Getting started with Paxos
Applet live + e-commerce, if you want to be a new retail e-commerce, use it!
ROS command line tool
Apifox (postman + swagger + mock + JMeter), an artifact of full stack development and efficiency improvement
Database postragesql lock management
Open3d uses GICP to register point clouds
Daily practice (18): stack containing min function