CLUSTER COUNTKEYSINSLOT

Since 1.1.0Cluster

Syntax

CLUSTER COUNTKEYSINSLOT slot

Returns the number of keys this node holds in slot.

Reply

  • The number of keys.
  • ERR Invalid slot slot, must be between 0 and 16383.

Examples

> CLUSTER COUNTKEYSINSLOT 15495
(integer) 2