Redis中cluster命令详解

CLUSTER ADDSLOTS slot [slot ...]

summary: Assign new hash slots to receiving node

since: 3.0.0

CLUSTER BUMPEPOCH -

summary: Advance the cluster config epoch

since: 3.0.0

CLUSTER COUNT-FAILURE-REPORTS node-id

summary: Return the number of failure reports active for a given node

since: 3.0.0

CLUSTER COUNTKEYSINSLOT slot

summary: Return the number of local keys in the specified hash slot

since: 3.0.0

CLUSTER DELSLOTS slot [slot ...]

summary: Set hash slots as unbound in receiving node

since: 3.0.0

CLUSTER FAILOVER [FORCE|TAKEOVER]

summary: Forces a replica to perform a manual failover of its master.

since: 3.0.0

CLUSTER FLUSHSLOTS -

summary: Delete a node's own slots information

since: 3.0.0

CLUSTER FORGET node-id

summary: Remove a node from the nodes table

since: 3.0.0

CLUSTER GETKEYSINSLOT slot count

summary: Return local key names in the specified hash slot

since: 3.0.0

CLUSTER INFO -

summary: Provides info about Redis Cluster node state

since: 3.0.0

CLUSTER KEYSLOT key

summary: Returns the hash slot of the specified key

since: 3.0.0

CLUSTER MEET ip port

summary: Force a node cluster to handshake with another node

since: 3.0.0

CLUSTER MYID -

summary: Return the node id

since: 3.0.0

CLUSTER NODES -

summary: Get Cluster config for the node

since: 3.0.0

CLUSTER REPLICAS node-id

summary: List replica nodes of the specified master node

since: 5.0.0

CLUSTER REPLICATE node-id

summary: Reconfigure a node as a replica of the specified master node

since: 3.0.0

CLUSTER RESET [HARD|SOFT]

summary: Reset a Redis Cluster node

since: 3.0.0

CLUSTER SAVECONFIG -

summary: Forces the node to save cluster state on disk

since: 3.0.0

CLUSTER SET-CONFIG-EPOCH config-epoch

summary: Set the configuration epoch in a new node

since: 3.0.0

CLUSTER SETSLOT slot IMPORTING|MIGRATING|STABLE|NODE [node-id]

summary: Bind a hash slot to a specific node

since: 3.0.0

CLUSTER SLAVES node-id

summary: List replica nodes of the specified master node

since: 3.0.0

CLUSTER SLOTS -

summary: Get array of Cluster slot to node mappings

since: 3.0.0

READONLY -

summary: Enables read queries for a connection to a cluster replica node

since: 3.0.0

READWRITE -

summary: Disables read queries for a connection to a cluster replica node

since: 3.0.0

相关推荐
smart19982 分钟前
混合存储HDD+SSD机型磁盘阵列,配上SSD缓存功能,性能提升300%
科技·缓存·混合存储
NineData7 分钟前
NineData 社区版正式上线,支持一键本地化部署!
数据库·程序员
大0马浓14 分钟前
LLM训练如何从图片提取信息存入向量数据库
数据库·训练·rag
鱼骨不是鱼翅16 分钟前
Mybatis操作数据库----小白基础入门
数据库·mybatis
已是上好佳1 小时前
介绍一下Qt 中的QSizePolicy 布局策略
数据库·qt
钡铼技术物联网关1 小时前
导轨式ARM工业控制器:组态软件平台的“神经中枢”
linux·数据库·人工智能·安全·智慧城市
驜鸈2 小时前
MySQL 的EXPLAIN 计划 type 字段详细说明
android·数据库·mysql
XiYang-DING2 小时前
【数据库系统概论】第一章 绪论
数据库·oracle
码上飞扬2 小时前
Oracle RAC配置原理详解:构建高可用与高性能的数据库集群
数据库·oracle·rac
小刘爱喇石( ˝ᗢ̈˝ )2 小时前
行式数据库与列式数据库区别
数据库·分布式