[フレーム]
Docs Pricing
Login Book a meeting Try Redis

CLUSTER INFO

Syntax
CLUSTER INFO
Available since:
Redis Open Source 3.0.0
Time complexity:
O(1)
ACL categories:
@slow,
Compatibility:
Redis Enterprise and Redis Cloud compatibility

CLUSTER INFO provides INFO style information about Redis Cluster vital parameters. The following fields are always present in the reply:

cluster_state:ok
cluster_slots_assigned:16384
cluster_slots_ok:16384
cluster_slots_pfail:0
cluster_slots_fail:0
cluster_known_nodes:6
cluster_size:3
cluster_current_epoch:6
cluster_my_epoch:2
cluster_stats_messages_sent:1483972
cluster_stats_messages_received:1483968
total_cluster_links_buffer_limit_exceeded:0

The following atomic slot migration fields may be included in the reply (available since Redis 8.4.0):

The following message-related fields may be included in the reply if the value is not 0: Each message type includes statistics on the number of messages sent and received. Here are the explanation of these fields:

More information about the Current Epoch and Config Epoch variables are available in the Redis Cluster specification document.

Redis Enterprise and Redis Cloud compatibility

Redis
Enterprise
Redis
Cloud
Notes
✅ Standard
✅ Active-Active
✅ Standard
✅ Active-Active
Only supported with the OSS cluster API.

Return information

Bulk string reply: A map between named fields and values in the form of <field>:<value> lines separated by newlines composed by the two bytes CRLF.
RATE THIS PAGE
Back to top ↑

AltStyle によって変換されたページ (->オリジナル) /