Web CLI命令
本章节主要介绍DCS管理控制台Web CLI工具的命令兼容性,列举支持和禁用的命令列表,命令的具体详细语法,请前往Redis官方网站查看。
当前仅Redis4.0和Redis5.0版本支持Web CLI功能。
Web CLI支持的命令
以下列出了通过Web CLI连接Redis实例时支持的命令。
Key(键) |
String(字符串) |
Hash(哈希表) |
List(列表) |
Set(集合) |
SortedSet(有序集合) |
Server(服务器) |
---|---|---|---|---|---|---|
DEL |
APPEND |
HDEL |
BLPOP |
SADD |
ZADD |
FLUSHALL |
DUMP |
BITCOUNT |
HEXISTS |
BRPOP |
SCARD |
ZCARD |
FLUSHDB |
EXISTS |
BITOP |
HGET |
BRPOPLRUSH |
SDIFF |
ZCOUNT |
DBSIZE |
EXPIRE |
BITPOS |
HGETALL |
LINDEX |
SDIFFSTORE |
ZINCRBY |
TIME |
MOVE |
DECR |
HINCRBY |
LINSERT |
SINTER |
ZRANGE |
INFO |
PERSISI |
DECRBY |
HINCRBYFLOAT |
LLEN |
SINTERSTORE |
ZRANGEBYSCORE |
CLIENT KILL |
PTTL |
GET |
HKEYS |
LPOP |
SISMEMBER |
ZRANK |
CLIENT LIST |
RANDOMKEY |
GETRANGE |
HMGET |
LPUSHX |
SMEMBERS |
ZREMRANGEBYRANK |
CLIENT GETNAME |
RENAME |
GETSET |
HMSET |
LRANGE |
SMOVE |
ZREMRANGEBYCORE |
CLIENT SETNAME |
RENAMENX |
INCR |
HSET |
LREM |
SPOP |
ZREVRANGE |
CONFIG GET |
RESTORE |
INCRBY |
HSETNX |
LSET |
SRANDMEMBER |
ZREVRANGEBYSCORE |
MONITOR |
SORT |
INCRBYFLOAT |
HVALS |
LTRIM |
SREM |
ZREVRANK |
SLOWLOG |
TTL |
MGET |
HSCAN |
RPOP |
SUNION |
ZSCORE |
ROLE |
TYPE |
MSET |
HSTRLEN |
RPOPLPU |
SUNIONSTORE |
ZUNIONSTORE |
SWAPDB |
SCAN |
MSETNX |
- |
RPOPLPUSH |
SSCAN |
ZINTERSTORE |
MEMORY |
OBJIECT |
PSETEX |
- |
RPUSH |
SPOP |
ZSCAN |
- |
- |
SET |
- |
RPUSHX |
- |
ZRANGEBYLEX |
- |
- |
SETBIT |
- |
- |
- |
ZLEXCOUNT |
- |
- |
SETEX |
- |
- |
- |
- |
- |
- |
SETNX |
- |
- |
- |
- |
- |
- |
SETRANGE |
- |
- |
- |
- |
- |
- |
STRLEN |
- |
- |
- |
- |
- |
- |
BITFIELD |
- |
- |
- |
- |
- |
HyperLogLog |
Pub/Sub(发布/订阅) |
Transaction(事务) |
Connection(连接) |
Scripting(脚本) |
Geo(地理位置) |
---|---|---|---|---|---|
PFADD |
PSUBSCRIBE |
DISCARD |
AUTH |
EVAL |
GEOADD |
PFCOUNT |
PUBLISH |
EXEC |
ECHO |
EVALSHA |
GEOHASH |
PFMERGE |
PUBSUB |
MULTI |
PING |
SCRIPT EXISTS |
GEOPOS |
- |
PUNSUBSCRIBE |
WATCH |
QUIT |
SCRIPT FLUSH |
GEODIST |
- |
SUBSCRIBE |
- |
SELECT |
SCRIPT KILL |
GEORADIUS |
- |
UNSUBSCRIBE |
- |
- |
SCRIPT LOAD |
GEORADIUSBYMEMBER |
Web CLI禁用的命令
以下列出了通过Web CLI连接Redis实例时禁用的命令。
Key(键) |
Server(服务器) |
Transaction(事务) |
---|---|---|
MIGRATE |
SLAVEOF |
UNWATCH |
WAIT |
SHUTDOWN |
REPLICAOF |
- |
DEBUG相关类 |
- |
- |
CONFIG SET |
- |
- |
CONFIG REWRITE |
- |
- |
CONFIG RESETSTAT |
- |
- |
SAVE |
- |
- |
BGSAVE |
- |
- |
BGREWRITEAOF |
- |
- |
COMMAND |
- |
- |
KEYS |
- |
- |
MONITOR |
- |
- |
SYNC |
- |
- |
PSYNC |
- |
Key(键) |
Server(服务器) |
Transaction(事务) |
Cluster |
---|---|---|---|
MIGRATE |
SLAVEOF |
UNWATCH |
CLUSTER MEET |
WAIT |
SHUTDOWN |
REPLICAOF |
CLUSTER FLUSHSLOTS |
- |
DEBUG相关类 |
- |
CLUSTER ADDSLOTS |
- |
CONFIG SET |
- |
CLUSTER DELSLOTS |
- |
CONFIG REWRITE |
- |
CLUSTER SETSLOT |
- |
CONFIG RESETSTAT |
- |
CLUSTER BUMPEPOCH |
- |
SAVE |
- |
CLUSTER SAVECONFIG |
- |
BGSAVE |
- |
CLUSTER FORGET |
- |
BGREWRITEAOF |
- |
CLUSTER REPLICATE |
- |
COMMAND |
- |
CLUSTER COUNT-FAILURE-REPORTS |
- |
KEYS |
- |
CLUSTER FAILOVER |
- |
MONITOR |
- |
CLUSTER SET-CONFIG-EPOCH |
- |
SYNC |
- |
CLUSTER RESET |
- |
PSYNC |
- |
- |