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.

CLIENT

Last updated
CLIENT subcommand [argument ...]
Group
Connection
Arity
-2 (at least 2 words, counting the command name)
Flags
admin
HotKV Cloud
All plans
On-Premise
no license needed

CLIENT is a container command. Its subcommands identify and configure the current connection, list and close other connections, and pause command processing. CLIENT HELP lists the subcommands.

Subcommand What it does
CLIENT ID The current connection’s id.
CLIENT INFO One line describing the current connection.
CLIENT LIST One line per client connection, optionally filtered.
CLIENT SETNAME Name the current connection.
CLIENT GETNAME The current connection’s name.
CLIENT SETINFO Record the client library’s name and version.
CLIENT KILL Close connections by address or by filters.
CLIENT PAUSE Hold all commands, or only writes, for a while.
CLIENT UNPAUSE End a pause early.
CLIENT UNBLOCK End another connection’s blocking command.
CLIENT REPLY Turn replies to the current connection off, on, or skip one.
CLIENT NO-EVICT Exempt the current connection from eviction when clients hold more than maxmemory-clients.
CLIENT NO-TOUCH Read keys without updating their last access time.
CLIENT TRACKING Turn client-side caching on or off: HotKV tells the connection when a key it read changes.
CLIENT TRACKINGINFO The client-side caching state of the current connection.
CLIENT CACHING Choose whether the keys of the next command are tracked, in OPTIN or OPTOUT mode.
CLIENT GETREDIR The connection the invalidations go to.

An unknown subcommand gets ERR unknown subcommand '<name>'. Try CLIENT HELP., and a wrong number of arguments gets ERR wrong number of arguments for 'client|<subcommand>' command.

HotKV has the CLIENT subcommands of Redis 7, including server-assisted client-side caching (TRACKING, TRACKINGINFO, CACHING and GETREDIR). See client-side caching. Clients can be evicted when they hold more than maxmemory-clients; see memory and eviction.

HELLO, RESET, INFO, MONITOR