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

相关推荐
你的微笑,乱了夏天3 分钟前
linux centos 7 安装 mongodb7
数据库·mongodb
黄油饼卷咖喱鸡就味增汤拌孜然羊肉炒饭15 分钟前
SpringBoot如何实现缓存预热?
java·spring boot·spring·缓存·程序员
工业甲酰苯胺15 分钟前
分布式系统架构:服务容错
数据库·架构
独行soc1 小时前
#渗透测试#漏洞挖掘#红蓝攻防#护网#sql注入介绍08-基于时间延迟的SQL注入(Time-Based SQL Injection)
数据库·sql·安全·渗透测试·漏洞挖掘
White_Mountain2 小时前
在Ubuntu中配置mysql,并允许外部访问数据库
数据库·mysql·ubuntu
Code apprenticeship2 小时前
怎么利用Redis实现延时队列?
数据库·redis·缓存
百度智能云技术站2 小时前
广告投放系统成本降低 70%+,基于 Redis 容量型数据库 PegaDB 的方案设计和业务实践
数据库·redis·oracle
装不满的克莱因瓶2 小时前
【Redis经典面试题六】Redis的持久化机制是怎样的?
java·数据库·redis·持久化·aof·rdb
梦想平凡3 小时前
PHP 微信棋牌开发全解析:高级教程
android·数据库·oracle
TianyaOAO4 小时前
mysql的事务控制和数据库的备份和恢复
数据库·mysql