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

CLUSTER SLOT-STATS

Syntax
CLUSTER SLOT-STATS <SLOTSRANGE start-slot end-slot | ORDERBY metric
 [LIMIT limit] [ASC | DESC]>
Available since:
Redis Open Source 8.2.0
Time complexity:
O(N) where N is the total number of slots based on arguments. O(N*log(N)) with ORDERBY subcommand.

Use this command to get an array of slot usage statistics for the slots assigned to the current shard. If you're working with a Redis cluster, this data helps you understand overall slot usage, spot hot or cold slots, plan slot migrations to balance load, or refine your application logic to better distribute keys.

Options

CLUSTER SLOT-STATS has two mutually exclusive options:

The command reports on the following statistics:

Return information

One of the following:

RATE THIS PAGE
Back to top ↑

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