Skip to content

Ask the HotKV docs

Answers come only from these docs and can be wrong; check the linked pages before you rely on them.

COMMAND COUNT

Last updated
COMMAND COUNT
Group
Server
Complexity
O(1)
Arity
2 (exactly, counting the command name)
HotKV Cloud
All plans
On-Premise
no license needed

COMMAND COUNT returns how many top-level commands the server has, the number of entries COMMAND returns. Subcommands such as CONFIG GET are not counted separately.

An integer, in RESP2 and RESP3.

127.0.0.1:6379> COMMAND COUNT
(integer) 466

The number you see depends on your build and license.

Same as Redis 7 and Valkey 8. The count includes the commands HotKV adds.

COMMAND, COMMAND LIST