当前位置:网站首页>Redis command Encyclopedia
Redis command Encyclopedia
2022-04-23 04:31:00 【The hunter is eating meat】
List of articles
One 、 Command directory
1.1、key( key )
- keys
- del
- type
- pexpire
- ttl
- exists
- dump
- expire
- expireat
- migrate
- move
- object
- persist
- pexpireat
- pttl
- randomkey
- rename
- renamenx
- restore
- sort
- scan
1.2、String( character string )
String( character string ) Catalog
- set , among ,
set key value nx ex timeEquivalent tosetnx key valueandexpire key timeoperation . - get
- append
- bitcount
- bitop
- decr
- decrby
- getbit
- getrange
- getset
- incr
- incrby
- incrbyfloat
- mget
- mset
- msetnx
- psetex
- setbit
- setex
- setnx ,key When there is no , can Add success .
- setrange
- strlen
1.3、 Hash( Hashtable )
1.4、List( list )
- llen
- lpop
- lrange
- blpop
- brpop
- brpoplpush
- lindex
- linsert
- lpush
- lpushx
- lrem
- lset
- ltrim
- rpop
- rpoplpush
- rpush
- rpushx
1.5、Set( aggregate )
- sadd
- smembers
- scard
- sdiff
- sdiffstore
- sinter
- sinterstore
- sismember
- smove
- spop
- srandmember
- srem
- sunion
- sunionstore
- sscan
1.6、Sorted Set( Ordered set )
Sorted Set( Ordered set ) Catalog
- zadd
- zcard
- zcount
- zincrby
- zrange
- zrangebyscore
- zrank
- zrem
- zremrangebyrank
- zremrangebyscore
- zrevrange
- zrevrangebyscore
- zrevrank
- zscore
- zunionstore
- zinterstore
- zscan
1.7、Pub/Sub( Release / subscribe )
Pub/Sub( Release / subscribe ) Catalog
1.8、Transaction( Business )
Transaction( Business ) Catalog
1.9、Script( Script )
1.10、Connection( Connect )
1.11、Server( The server )
- bgrewriteaof
- bgsave
- client getname
- client kill
- client list
- client setname
- config get
- config resetstat
- config rewrite
- config set
- dbsize
- debug object
- debug segfault
- flushall
- flushdb
- info
- lastsave
- monitor
- psync
- save
- shutdown
- slaveof
- slowlog
- sync
- time
Two 、 file
The following article is translated from redis.io/documentation file .
2.1、 Key space notification (keyspace notification)
Key space notification (keyspace notification) Catalog
2.2、 Business (transaction)
Business (transaction) Catalog
- usage
- Mistakes in the transaction
- Why? Redis Rollback is not supported (roll back)
- Give up the business
- Use check-and-set Operation to achieve optimistic lock
- understand WATCH
- Use WATCH Realization ZPOP
- Redis Scripts and transactions
2.3、 Publish and subscribe (pub/sub)
Publish and subscribe (pub/sub) Catalog
- The format of the message
- A subscription model
- Receive the same message through channel and mode
- Total subscriptions
- Programming examples
- Client library implementation tips
2.4、 Copy (Replication)
- How replication works
- Partial resynchronization
- To configure
- Read only from server
- From server related configuration
- The primary server only has at least N In the case of slave servers , Just write
2.5、 Communication protocol (protocol)
Communication protocol (protocol) Catalog
- request
- The network layer
- New uniform request agreement
- reply
- State the reply
- Error response
- Integer reply
- Batch reply
- Multiple batch replies
- Empty elements in multiple batch replies
- Multi command and pipeline
- Inline command
- High performance Redis Protocol Analyzer
2.6、 Persistence (persistence)
Persistence (persistence) Catalog
- Redis Persistence
- RDB The advantages of
- RDB The shortcomings of
- AOF The advantages of
- AOF The shortcomings of
- RDB and AOF , Which one should I use ?
- RDB snapshot
- How snapshots work
- Files for append operation only (append-only file,AOF)
- AOF rewrite
- AOF How durable ?
- If AOF There's something wrong with the file , What do I do ?
- AOF How it works
- How can I RDB Persistence switch to AOF Persistence
- RDB and AOF The interaction between
- Backup Redis data
- Disaster recovery backup
2.7、Sentinel
- obtain Sentinel
- start-up Sentinel
- To configure Sentinel
- Subjective offline and objective offline
- Every Sentinel All tasks that need to be performed on a regular basis
- Auto discovery Sentinel And from the server
- Sentinel API
- Fail over
- TILT Pattern
- Handle
-BUSYstate - Sentinel The client implementation of
2.8、 Cluster tutorial
- Introduction of the cluster
- Redis Cluster data sharing
- Redis Master-slave replication in a cluster
- Redis Cluster consistency guarantee (guarantee)
- Create and use Redis colony
- Create clusters
- Cluster clients
- Use
redis-rb-clusterWrite a sample application - Regroup the cluster
- A more interesting example application
- Failover test
- Add new nodes to the cluster
- Remove a node
2.9、Redis Cluster specification
版权声明
本文为[The hunter is eating meat]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230417436477.html
边栏推荐
- [echart] Introduction to echart
- 三十六计是什么
- 那些年我面试过的Android开发岗总结(附面试题+答案解析)
- The latest price trend chart and trading points of London Silver
- Difference between LabVIEW small end sequence and large end sequence
- Go 语言中的 logger 和 zap 日志库
- RuntimeError: output with shape [4, 1, 512, 512] doesn‘t match the broadcast shape[4, 4, 512, 512]
- Iron and intestinal flora
- 递归调用--排列的穷举
- AWS EKS添加集群用户或IAM角色
猜你喜欢

OpenCV----YOLACT实例分割模型推理

Chapter 4 - understanding standard equipment documents, filters and pipelines

减治思想——二分查找详细总结
![[AI vision · quick review of NLP natural language processing papers today, issue 31] Fri, 15 APR 2022](/img/40/72fdf9c89ed7d063cc368e6e052d0f.png)
[AI vision · quick review of NLP natural language processing papers today, issue 31] Fri, 15 APR 2022
![[mapping program design] coordinate azimuth calculation artifact (version C)](/img/2b/e640f3e2702f80d003fa3dd5c4158d.png)
[mapping program design] coordinate azimuth calculation artifact (version C)

Network principle | connection management mechanism in TCP / IP important protocol and core mechanism
![[AI vision · quick review of robot papers today, issue 32] wed, 20 APR 2022](/img/eb/916a3fc1a89356fd8e74b943172ac3.png)
[AI vision · quick review of robot papers today, issue 32] wed, 20 APR 2022
![[AI vision · quick review of today's sound acoustic papers, issue 3] wed, 20 APR 2022](/img/48/0e95841743bada4faf3edfee31cb6a.png)
[AI vision · quick review of today's sound acoustic papers, issue 3] wed, 20 APR 2022

STM32F4单片机ADC采样及ARM-DSP库的FFT

Effects of antibiotics on microbiome and human health
随机推荐
LabVIEW 小端序和大端序区别
Fusobacterium -- symbiotic bacteria, opportunistic bacteria, oncobacterium
华为机试--高精度整数加法
【BIM入门实战】Revit中的墙体层次以及常见问题解答
Operating skills of spot gold_ Wave estimation curve
Express middleware ② (classification of Middleware)
【论文阅读】【3d目标检测】Improving 3D Object Detection with Channel-wise Transformer
递归调用--排列的穷举
[AI vision · quick review of NLP natural language processing papers today, No. 32] wed, 20 APR 2022
[Li Hongyi 2022 machine learning spring] hw6_ Gan (don't understand...)
【BIM+GIS】ArcGIS Pro2. 8 how to open Revit model, Bim and GIS integration?
How to regulate intestinal flora? Introduction to common natural substances, probiotics and prebiotics
A function second kill 2sum 3sum 4sum problem
io.Platform.packageRoot; // ignore: deprecated_member_use
mysql table 中增加列的SQL语句
Matlab reads multiple fig graphs and then combines them into one graph (in the form of sub graph)
zynq平台交叉编译器的安装
Who will answer the question?
RC低通滤波器的逆系统
[BIM introduction practice] wall hierarchy and FAQ in Revit