当前位置:网站首页>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
边栏推荐
- RK1126平台OSD的实现支持颜色半透明度多通道支持中文
- 统计php程序运行时间及设置PHP最长运行时间
- Hardware Basics - diode Basics
- Ml: introduction, principle, use method and detailed introduction of classic cases of snap value
- The mouse wheel of xshell/bash/zsh and other terminals is garbled (turn)
- LiveData
- 【FAQ】华为帐号服务报错 907135701的常见原因总结和解决方法
- 递增的三元子序列[贪心训练]
- Idea shortcut keys
- 迅为IMX6Q开发板QT系统移植tinyplay
猜你喜欢

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

瑞吉外卖笔记
![[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

Ruiji takeout notes

Mask wearing detection based on yolov1

Introducing testfixture into unittest framework

DDD application and practice of domestic hotel transactions -- Code

CVPR 2022 | greatly reduce the manual annotation required for zero sample learning, and propose category semantic embedding rich in visual information (source code download)

Leetcode 61: 旋转链表

实时数据仓库
随机推荐
R language uses dplyr package group_ The by function and the summarize function calculate the mean and standard deviation of the target variables based on the grouped variables
C # WPF realizes the real-time screen capture function of screen capture box
How to package QT and share exe
ARouter的使用
R语言使用epiDisplay包的dotplot函数通过点图的形式可视化不同区间数据点的频率、使用by参数指定分组参数可视化不同分组的点图分布
Understand chisel language thoroughly 12. Chisel project construction, operation and testing (IV) -- chisel test of chisel test
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
【信息检索】链接分析
MySQL的存储过程练习题
【FAQ】华为帐号服务报错 907135701的常见原因总结和解决方法
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
奇妙秘境 码蹄集
第十七章 进程内存
R语言使用lattice包中的bwplot函数可视化箱图(box plot)、par.settings参数自定义主题模式
DDD application and practice of domestic hotel transactions -- Code
R语言使用epiDisplay包的followup.plot函数可视化多个ID(病例)监测指标的纵向随访图、使用stress.col参数指定强调线的id子集的颜色(色彩)
R language uses bwplot function in lattice package to visualize box plot and par Settings parameter custom theme mode
海外游戏代投需要注意的
redis 日常笔记
10.(地图数据篇)离线地形数据处理(供Cesium使用)