当前位置:网站首页>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
边栏推荐
- sql优化之explain
- Deming Lee listed on Shenzhen Stock Exchange: the market value is 3.1 billion, which is the husband and wife of Li Hu and Tian Hua
- Unity Shader学习(三)试着绘制一个圆
- Ws2818m is packaged in cpc8. It is a special circuit for three channel LED drive control. External IC full-color double signal 5v32 lamp programmable LED lamp with outdoor engineering
- Understand chisel language thoroughly 03. Write to the developer of Verilog to chisel (you can also see it without Verilog Foundation)
- 数据埋点的一些问题和想法
- redis 日常笔记
- Understand chisel language thoroughly 04. Chisel Foundation (I) - signal type and constant
- [matlab] summary of conv, filter, conv2, Filter2 and imfilter convolution functions
- 【FAQ】華為帳號服務報錯 907135701的常見原因總結和解决方法
猜你喜欢
Test evaluation of software testing
Data warehouse interview question preparation
Understand chisel language thoroughly 10. Chisel project construction, operation and testing (II) -- Verilog code generation in chisel & chisel development process
[FAQ] Huawei Account Service Error Report 907135701 Common reasons Summary and Solutions
[antd step pit] antd form cooperates with input Form The height occupied by item is incorrect
Deming Lee listed on Shenzhen Stock Exchange: the market value is 3.1 billion, which is the husband and wife of Li Hu and Tian Hua
Understand chisel language thoroughly 11. Chisel project construction, operation and test (III) -- scalatest of chisel test
Leetcode 61: 旋转链表
2022 practice questions and mock exams for the main principals of hazardous chemical business units
Product identification of intelligent retail cabinet based on paddlex
随机推荐
Abnormal value detection using shap value
What is the real meaning and purpose of doing things, and what do you really want
ML之shap:基于boston波士顿房价回归预测数据集利用Shap值对LiR线性回归模型实现可解释性案例
数据中台概念
vscode 常用插件汇总
[R language data science]: cross validation and looking back
LiveData
10.(地图数据篇)离线地形数据处理(供Cesium使用)
Apple 5g chip research and development failure: continue to rely on Qualcomm, but also worry about being prosecuted?
China Post technology rushes to the scientific innovation board: the annual revenue is 2.058 billion, and the postal group is the major shareholder
Leetcode T48:旋转图像
Understand chisel language thoroughly 06. Chisel Foundation (III) -- registers and counters
Gorm read / write separation (rotation)
Learning projects are self-made, and growth opportunities are self created
R语言dplyr包summarise_if函数计算dataframe数据中所有数值数据列的均值和中位数、基于条件进行数据汇总分析(Summarize all Numeric Variables)
R语言使用dplyr包的group_by函数和summarise函数基于分组变量计算目标变量的均值、标准差
Use the default route as the route to the Internet
How to operate and invest games on behalf of others at sea
GCC [6] - 4 stages of compilation
php 日志调试