tencent cloud

Feedback

Server Group

Last updated: 2024-11-25 15:49:27
The standard architecture of Redis 2.8 and the standard and cluster architectures of Redis 4.0, 5.0, 6.2, and 7.0 support the following commands: client list, client getname, client setname, command count, command info, config rewrite, config resetstat, role, lastsave, command, dbsize, info, time, config get, flushdb, and flushall.
The standard architecture of Redis 2.8 and the standard and cluster architectures of Redis 4.0, 5.0, 6.2, and 7.0 do not support the following commands: bgrewriteaof, bgsave, client kill, sync, psync, client pause, client reply, slaveof, config set, debug object, debug segfault, save, shutdown, module, acl cat, acl deluser, acl genpass, acl getuser, acl help, acl list, acl load, acl log, acl save, acl setuser, acl users, acl whoami, and failover.
The MEMORY and slowlog commands are only supported by the standard architectures of Redis 4.0, 5.0, 6.2, and 7.0 and are not supported in the cluster architecture.
The cluster keyslot, cluster nodes, cluster getkeysinslot, cluster slots, cluster info, and cluster countkeysinslot commands are supported in the Redis 4.0, 5.0, 6.2, and 7.0 cluster architectures but are not supported in the standard architecture. Other cluster commands are not supported.
The lolwut command is only supported in Redis 5.0 and later versions for both the standard and cluster architectures.
The monitor command is deprecated in Redis 6.2, but it is supported in versions earlier than 6.2.
The following new commands are supported in the Redis 7.0: command getkeysandflags, command docs, and command list.
Command Group
Command
New Description
Server group
CONFIG SET/GET
A new parameter to atomically handle sets and gets with multiple configurations.
Quit
Marked as deprecated, allowing clients to directly close the TCP connection.
SHUTDOWN [NOSAVE | SAVE] [NOW] [FORCE] [ABORT]
Added NOW | FORCE | ABORT.
NOW: Immediately shuts down without waiting for any ongoing commands to be completed.
FORCE: Forces the Redis server to shut down even if commands are still being executed.
ABORT: Terminates the currently executing command without executing other commands.
COMMAND GETKEYSANDFLAGS command [arg [arg ...]]
A new command that obtains the keys and flags of a command.
COMMAND DOCS [command-name [command-name ...]]
A new command that returns document information of a command, including historical changes and related records.
COMMAND LIST [FILTERBY <MODULE module-name | ACLCAT category | PATTERN pattern>]
A new command that returns the list of Redis commands.
COMMAND INFO
An updated command that returns information about Redis commands.
INFO [section [section ...]]
A new parameter that supports obtaining multiple chapters simultaneously.
XGROUP CREATE key group <id | $> [MKSTREAM] [ENTRIESREAD entries-read]
ENTRIESREAD is added to configure and enable the entries-read and lag features.
XGROUP SETID key group <id | $> [ENTRIESREAD entries-read]
ENTRIESREAD is added to configure and enable the entries-read and lag features.
The supported details for each version are shown in the table below, where ✓ indicates support, x indicates not support, and - indicates that the command does not involve cross-slot access scenarios.
Command
2.8 Memory Edition (Standard Architecture)
4.0 Memory Edition (Standard Architecture)
4.0 Memory Edition (Cluster Architecture)
5.0 Memory Edition (Standard Architecture)
5.0 Memory Edition (Cluster Architecture)
6.2 Memory Edition (Standard Architecture)
6.2 Memory Edition (Cluster Architecture)
7.0 Memory Edition (Standard Architecture)
7.0 Memory Edition (Cluster Architecture)
Memory Edition (Cluster Architecture) Cross-Slot Support
bgrewriteaof
x
x
x
x
x
x
x
x
x
-
bgsave
x
x
x
x
x
x
x
x
x
-
client kill
x
x
x
x
x
x
x
x
x
-
sync
x
x
x
x
x
x
x
x
x
-
psync
x
x
x
x
x
x
x
x
x
-
client list
-
client getname
-
client pause
x
x
x
x
x
x
x
x
x
-
client reply
x
x
x
x
x
x
x
x
x
-
client setname
-
command count
-
command getkeys
x
-
command info
-
command getkegysandflags
x
x
x
x
x
x
x
-
command docs
x
x
x
x
x
x
x
-
command list
x
x
x
x
x
x
x
-
slaveof
x
x
x
x
x
x
x
x
x
-
config rewrite
-
config set
x
x
x
x
x
x
x
x
x
-
config resetstat
-
debug object
x
x
x
x
x
x
x
x
x
-
debug segfault
x
x
x
x
x
x
x
x
x
-
role
-
save
x
x
x
x
x
x
x
x
x
-
lastsave
-
shutdown
x
x
x
x
x
x
x
x
x
-
memory
x
x
x
x
x
x
-
command
-
dbsize
-
info
-
time
-
config get
-
monitor
x
x
x
x
-
flushdb
-
flushall
-
slowlog
x
x
x
x
-
cluster keyslot
x
x
x
x
x
-
cluster nodes
x
x
x
x
x
-
cluster getkeysinslot
x
x
x
x
x
-
cluster slots
x
x
x
x
x
-
cluster info
x
x
x
x
x
-
cluster countkeysinslot
x
x
x
x
x
-
cluster shards
x
x
x
x
x
x
x
-
cluster (others)
x
x
x
x
x
x
x
x
x
-
module
x
x
x
x
x
x
x
x
x
-
lolwut
x
x
x
-
acl cat
x
x
x
x
x
x
x
x
x
-
acl deluser
x
x
x
x
x
x
x
x
x
-
acl genpass
x
x
x
x
x
x
x
x
x
-
acl help
x
x
x
x
x
x
x
x
x
-
acl list
x
x
x
x
x
x
x
x
x
-
acl load
x
x
x
x
x
x
x
x
x
-
acl log
x
x
x
x
x
x
x
x
x
-
acl save
x
x
x
x
x
x
x
x
x
-
acl setuser
x
x
x
x
x
x
x
x
x
-
acl users
x
x
x
x
x
x
x
x
x
-
acl whoami
x
x
x
x
x
x
x
x
x
-
failover
x
x
x
x
x
x
x
x
x
-
slowlog help
x
x
x
x
x
x
x
x
x
-
Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support