当前位置:网站首页>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
边栏推荐
- Assertion of unittest framework
- MySQL的存储过程练习题
- R语言使用epiDisplay包的dotplot函数通过点图的形式可视化不同区间数据点的频率、使用by参数指定分组参数可视化不同分组的点图分布
- RK1126平台OSD的实现支持颜色半透明度多通道支持中文
- Understand chisel language thoroughly 04. Chisel Foundation (I) - signal type and constant
- 按照功能对Boost库进行分类
- Understand chisel language thoroughly 09. Chisel project construction, operation and testing (I) -- build and run chisel project with SBT
- Ml: introduction, principle, use method and detailed introduction of classic cases of snap value
- JVM memory layout detailed, illustrated, well written!
- 实时数据仓库
猜你喜欢

【MySQL从入门到精通】【高级篇】(五)MySQL的SQL语句执行流程

Haobo medical sprint technology innovation board: annual revenue of 260million Yonggang and Shen Zhiqun are the actual controllers

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

失败率高达80%,企业数字化转型路上有哪些挑战?

C # WPF realizes the real-time screen capture function of screen capture box

测试流程整理(3)

ML之shap:基于boston波士顿房价回归预测数据集利用shap值对XGBoost模型实现可解释性案例

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

nowcoder重排链表

TestSuite and testrunner in unittest
随机推荐
File creation, writing, reading, deletion (transfer) in go language
统计php程序运行时间及设置PHP最长运行时间
Understand chisel language thoroughly 08. Chisel Foundation (V) -- wire, REG and IO, and how to understand chisel generation hardware
Understand chisel language thoroughly 12. Chisel project construction, operation and testing (IV) -- chisel test of chisel test
Migration from go vendor project to mod project
How to operate and invest games on behalf of others at sea
golang fmt. Printf() (turn)
China Post technology rushes to the scientific innovation board: the annual revenue is 2.058 billion, and the postal group is the major shareholder
Understand chisel language thoroughly 07. Chisel Foundation (IV) - bundle and VEC
Ruichengxin micro sprint technology innovation board: annual revenue of 367million, proposed to raise 1.3 billion, Datang Telecom is a shareholder
R language uses the DOTPLOT function of epidisplay package to visualize the frequency of data points in different intervals in the form of point graph, and uses the by parameter to specify the groupin
【FAQ】華為帳號服務報錯 907135701的常見原因總結和解决方法
ML之shap:基于boston波士顿房价回归预测数据集利用Shap值对LiR线性回归模型实现可解释性案例
LifeCycle
Xcode 异常图片导致ipa包增大问题
[MySQL from introduction to proficiency] [advanced chapter] (V) SQL statement execution process of MySQL
Map of mL: Based on Boston house price regression prediction data set, an interpretable case is realized by using the map value to the LIR linear regression model
docker-compose公网部署redis哨兵模式
LiveData
R语言使用epiDisplay包的dotplot函数通过点图的形式可视化不同区间数据点的频率、使用by参数指定分组参数可视化不同分组的点图分布