当前位置:网站首页>Redis daily notes
Redis daily notes
2022-07-04 14:21:00 【Ke Rui】
1.redis colony Clean all key
redis 5.0 The above can be executed to the whole cluster through the following commands flushall command :
redis-cli --cluster call <one-of-the-nodes-address>:<its-port> FLUSHALL
Examples are as follows :
adopt –cluster Parameters sent to the cluster flushall command :
[[email protected] hermes_ta]# redis-cli --cluster call 127.0.0.1:7000 flushall
>>> Calling flushall
127.0.0.1:7000: READONLY You can't write against a read only replica. 127.0.0.1:7003: READONLY You can't write against a read only replica.
127.0.0.1:7004: READONLY You can't write against a read only replica. 127.0.0.1:7007: OK 127.0.0.1:7006: READONLY You can't write against a read only replica.
127.0.0.1:7002: OK
127.0.0.1:7005: OK
127.0.0.1:7001: OK
see dbsize, All have been cleared .
[[email protected] hermes_ta]# redis-cli --cluster call 127.0.0.1:7000 dbsize
>>> Calling dbsize
127.0.0.1:7000: 0
127.0.0.1:7003: 0
127.0.0.1:7004: 0
127.0.0.1:7007: 0
127.0.0.1:7006: 0
127.0.0.1:7002: 0
127.0.0.1:7005: 0
127.0.0.1:7001: 0
边栏推荐
- 第十七章 进程内存
- nowcoder重排链表
- 实时数据仓库
- opencv3.2 和opencv2.4安装
- Learn kernel 3: use GDB to track the kernel call chain
- 安装Mysql
- Unity shader learning (3) try to draw a circle
- sql优化之查询优化器
- Why should Base64 encoding be used for image transmission
- [antd] how to set antd in form There is input in item Get input when gourp Value of each input of gourp
猜你喜欢

Understand chisel language thoroughly 12. Chisel project construction, operation and testing (IV) -- chisel test of chisel test

Use of tiledlayout function in MATLAB
![去除重复字母[贪心+单调栈(用数组+len来维持单调序列)]](/img/af/a1dcba6f45eb4ccc668cd04a662e9c.png)
去除重复字母[贪心+单调栈(用数组+len来维持单调序列)]

Understand chisel language thoroughly 11. Chisel project construction, operation and test (III) -- scalatest of chisel test

Map of mL: Based on Boston house price regression prediction data set, an interpretable case of xgboost model using map value

sql优化之explain

10.(地图数据篇)离线地形数据处理(供Cesium使用)

Use the default route as the route to the Internet
![去除重複字母[貪心+單調棧(用數組+len來維持單調序列)]](/img/af/a1dcba6f45eb4ccc668cd04a662e9c.png)
去除重複字母[貪心+單調棧(用數組+len來維持單調序列)]

JVM memory layout detailed, illustrated, well written!
随机推荐
File creation, writing, reading, deletion (transfer) in go language
Innovation and development of independent industrial software
去除重复字母[贪心+单调栈(用数组+len来维持单调序列)]
Detailed index of MySQL
opencv3.2 和opencv2.4安装
游戏出海,全球化运营
Supprimer les lettres dupliquées [avidité + pile monotone (maintenir la séquence monotone avec un tableau + Len)]
为什么图片传输要使用base64编码
redis 日常笔记
[matlab] summary of conv, filter, conv2, Filter2 and imfilter convolution functions
数据中台概念
如何游戏出海代运营、游戏出海代投
Golang uses JSON unmarshal number to interface{} number to become float64 type (turn)
MySQL的存储过程练习题
Abnormal value detection using shap value
QT how to detect whether the mouse is on a control
MySQL的触发器
流行框架:Glide的使用
利用Shap值进行异常值检测
Mask wearing detection based on yolov1