Commands

ACL CAT

Lists the ACL categories, or the commands inside a category.

Learn more →
Read more

ACL DELUSER

Deletes ACL users, and terminates their connections.

Learn more →
Read more

ACL DRYRUN

Simulates the execution of a command by a user, without executing the command.

Learn more →
Read more

ACL GENPASS

Generates a pseudorandom, secure password that can be used to identify ACL users.

Learn more →
Read more

ACL GETUSER

Lists the ACL rules of a user.

Learn more →
Read more

ACL LIST

Dumps the effective rules in ACL file format.

Learn more →
Read more

ACL LOAD

Reloads the rules from the configured ACL file.

Learn more →
Read more

ACL LOG

Lists recent security events generated due to ACL rules.

Learn more →
Read more

ACL SAVE

Saves the effective ACL rules in the configured ACL file.

Learn more →
Read more

ACL SETUSER

Creates and modifies an ACL user and its rules.

Learn more →
Read more

ACL USERS

Lists all ACL users.

Learn more →
Read more

ACL WHOAMI

Returns the authenticated username of the current connection.

Learn more →
Read more

BGREWRITEAOF

Asynchronously rewrites the append-only file to disk.

Learn more →
Read more

BGSAVE

Asynchronously saves the database(s) to disk.

Learn more →
Read more

COMMAND

Returns detailed information about all commands.

Learn more →
Read more

COMMAND COUNT

Returns a count of commands.

Learn more →
Read more

COMMAND DOCS

Returns documentary information about one, multiple or all commands.

Learn more →
Read more

COMMAND GETKEYS

Extracts the key names from an arbitrary command.

Learn more →
Read more

COMMAND GETKEYSANDFLAGS

Extracts the key names and access flags for an arbitrary command.

Learn more →
Read more

COMMAND INFO

Returns information about one, multiple or all commands.

Learn more →
Read more

COMMAND LIST

Returns a list of command names.

Learn more →
Read more

CONFIG GET

Returns the effective values of configuration parameters.

Learn more →
Read more

CONFIG RESETSTAT

Resets the server's statistics.

Learn more →
Read more

CONFIG REWRITE

Persists the effective configuration to file.

Learn more →
Read more

CONFIG SET

Sets configuration parameters in-flight.

Learn more →
Read more

DBSIZE

Returns the number of keys in the database.

Learn more →
Read more

FAILOVER

Starts a coordinated failover from a server to one of its replicas.

Learn more →
Read more

FLUSHALL

Removes all keys from all databases.

Learn more →
Read more

FLUSHDB

Remove all keys from the current database.

Learn more →
Read more

INFO

Returns information and statistics about the server.

Learn more →
Read more

LASTSAVE

Returns the Unix timestamp of the last successful save to disk.

Learn more →
Read more

LATENCY DOCTOR

Returns a human-readable latency analysis report.

Learn more →
Read more

LATENCY GRAPH

Returns a latency graph for an event.

Learn more →
Read more

LATENCY HISTOGRAM

Returns the cumulative distribution of latencies of a subset or all commands.

Learn more →
Read more

LATENCY HISTORY

Returns timestamp-latency samples for an event.

Learn more →
Read more

LATENCY LATEST

Returns the latest latency samples for all events.

Learn more →
Read more

LATENCY RESET

Resets the latency data for one or more events.

Learn more →
Read more

LOLWUT

Displays computer art and the Redis version

Learn more →
Read more

MEMORY DOCTOR

Outputs a memory problems report.

Learn more →
Read more

MEMORY MALLOC-STATS

Returns the allocator statistics.

Learn more →
Read more

MEMORY PURGE

Asks the allocator to release memory.

Learn more →
Read more

MEMORY STATS

Returns details about memory usage.

Learn more →
Read more

MEMORY USAGE

Estimates the memory usage of a key.

Learn more →
Read more

MODULE LIST

Returns all loaded modules.

Learn more →
Read more

MODULE LOADEX

Loads a module using extended parameters.

Learn more →
Read more

MODULE UNLOAD

Unloads a module.

Learn more →
Read more

MONITOR

Listens for all requests received by the server in real-time.

Learn more →
Read more

PSYNC

An internal command used in replication.

Learn more →
Read more

REPLCONF

An internal command for configuring the replication stream.

Learn more →
Read more

REPLICAOF

Configures a server as replica of another, or promotes it to a master.

Learn more →
Read more

RESTORE-ASKING

An internal command for migrating keys in a cluster.

Learn more →
Read more

ROLE

Returns the replication role.

Learn more →
Read more

SAVE

Synchronously saves the database(s) to disk.

Learn more →
Read more

SHUTDOWN

Synchronously saves the database(s) to disk and shuts down the Redis server.

Learn more →
Read more

SLAVEOF

Sets a Redis server as a replica of another, or promotes it to being a master.

Learn more →
Read more

SLOWLOG GET

Returns the slow log's entries.

Learn more →
Read more

SLOWLOG LEN

Returns the number of entries in the slow log.

Learn more →
Read more

SLOWLOG RESET

Clears all entries from the slow log.

Learn more →
Read more

SWAPDB

Swaps two Redis databases.

Learn more →
Read more

SYNC

An internal command used in replication.

Learn more →
Read more

TIME

Returns the server time.

Learn more →
Read more