当前位置:网站首页>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
边栏推荐
猜你喜欢

迅为IMX6Q开发板QT系统移植tinyplay
![[MySQL from introduction to proficiency] [advanced chapter] (V) SQL statement execution process of MySQL](/img/58/a8dbed993921f372d04f7a1ee19679.png)
[MySQL from introduction to proficiency] [advanced chapter] (V) SQL statement execution process of MySQL
![[matlab] summary of conv, filter, conv2, Filter2 and imfilter convolution functions](/img/7a/9b559313b407f9a12cbaed7bebd4dc.png)
[matlab] summary of conv, filter, conv2, Filter2 and imfilter convolution functions
![去除重复字母[贪心+单调栈(用数组+len来维持单调序列)]](/img/af/a1dcba6f45eb4ccc668cd04a662e9c.png)
去除重复字母[贪心+单调栈(用数组+len来维持单调序列)]

Oppo find N2 product form first exposure: supplement all short boards

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

Learn kernel 3: use GDB to track the kernel call chain
![Incremental ternary subsequence [greedy training]](/img/92/7efd1883c21c0e804ffccfb2231602.png)
Incremental ternary subsequence [greedy training]
![[FAQ] summary of common causes and solutions of Huawei account service error 907135701](/img/43/1a9786c89a5ab21d1fb8903cb7b77e.png)
[FAQ] summary of common causes and solutions of Huawei account service error 907135701

Excel quickly merges multiple rows of data
随机推荐
Gorm data insertion (transfer)
Idea shortcut keys
【信息检索】链接分析
商业智能BI财务分析,狭义的财务分析和广义的财务分析有何不同?
Understand chisel language thoroughly 09. Chisel project construction, operation and testing (I) -- build and run chisel project with SBT
Haobo medical sprint technology innovation board: annual revenue of 260million Yonggang and Shen Zhiqun are the actual controllers
Understand chisel language thoroughly 03. Write to the developer of Verilog to chisel (you can also see it without Verilog Foundation)
R language ggplot2 visualization: gganimate package creates dynamic line graph animation (GIF) and uses transition_ The reveal function displays data step by step along a given dimension in the animat
按照功能对Boost库进行分类
R language uses follow up of epidisplay package The plot function visualizes the longitudinal follow-up map of multiple ID (case) monitoring indicators, and uses stress The col parameter specifies the
利用Shap值进行异常值检测
学内核之三:使用GDB跟踪内核调用链
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
DDD application and practice of domestic hotel transactions -- Code
测试流程整理(2)
R语言ggplot2可视化:gganimate包创建动画图(gif)、使用anim_save函数保存gif可视化动图
Leetcode 61: 旋转链表
Hardware Basics - diode Basics
Can mortgage with housing exclude compulsory execution
[antd] how to set antd in form There is input in item Get input when gourp Value of each input of gourp