当前位置:网站首页>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
边栏推荐
- CVPR 2022 | greatly reduce the manual annotation required for zero sample learning, and propose category semantic embedding rich in visual information (source code download)
- Why should Base64 encoding be used for image transmission
- 安装Mysql
- [antd step pit] antd form cooperates with input Form The height occupied by item is incorrect
- 数据埋点的一些问题和想法
- Yingshi Ruida rushes to the scientific and Technological Innovation Board: the annual revenue is 450million and the proposed fund-raising is 979million
- 统计php程序运行时间及设置PHP最长运行时间
- C # WPF realizes the real-time screen capture function of screen capture box
- Mask wearing detection based on yolov1
- R language dplyr package summary_ If function calculates the mean and median of all numerical data columns in dataframe data, and summarizes all numerical variables based on conditions
猜你喜欢
Learn kernel 3: use GDB to track the kernel call chain
测试流程整理(3)
【信息检索】链接分析
Understand chisel language thoroughly 12. Chisel project construction, operation and testing (IV) -- chisel test of chisel test
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
Why should Base64 encoding be used for image transmission
Leetcode 61: 旋转链表
实时数据仓库
[matlab] summary of conv, filter, conv2, Filter2 and imfilter convolution functions
Yingshi Ruida rushes to the scientific and Technological Innovation Board: the annual revenue is 450million and the proposed fund-raising is 979million
随机推荐
Remove duplicate letters [greedy + monotonic stack (maintain monotonic sequence with array +len)]
【FAQ】華為帳號服務報錯 907135701的常見原因總結和解决方法
Rich text editing: wangeditor tutorial
Ml: introduction, principle, use method and detailed introduction of classic cases of snap value
测试流程整理(2)
Progress in architecture
流行框架:Glide的使用
C # WPF realizes the real-time screen capture function of screen capture box
Gorm data insertion (transfer)
Supprimer les lettres dupliquées [avidité + pile monotone (maintenir la séquence monotone avec un tableau + Len)]
ML之shap:基于boston波士顿房价回归预测数据集利用Shap值对LiR线性回归模型实现可解释性案例
Hardware Basics - diode Basics
LifeCycle
数据中台概念
Why should Base64 encoding be used for image transmission
Use of tiledlayout function in MATLAB
TestSuite and testrunner in unittest
迅为IMX6Q开发板QT系统移植tinyplay
R language ggplot2 visualization: gganimate package creates animated graph (GIF) and uses anim_ The save function saves the GIF visual animation
R language uses bwplot function in lattice package to visualize box plot and par Settings parameter custom theme mode