Web CLI中支持和禁用命令
本章节主要介绍DCS管理控制台Web CLI工具的命令兼容性,列举支持和禁用的命令列表。当前仅Redis 4.0及以上版本支持Web CLI功能。
- 当前在Web CLI下所有命令参数暂不支持中文且key和value不支持空格。
- 当value值为空时,执行get命令返回nil。
Web CLI支持的命令
以下列出了通过Web CLI连接Redis实例时支持的命令。各个命令的具体详细语法请前往Redis官方网站查看,例如您想了解SCAN命令的使用,可在Redis官方网站中搜索框中输入“SCAN”查询详细介绍。
DEL |
APPEND |
RPUSH |
SADD |
ZADD |
FLUSHALL |
OBJECT |
BITCOUNT |
RPUSHX |
SCARD |
ZCARD |
FLUSHDB |
EXISTS |
BITOP |
BRPOPLRUSH |
SDIFF |
ZCOUNT |
DBSIZE |
EXPIRE |
BITPOS |
LINDEX |
SDIFFSTORE |
ZINCRBY |
TIME |
MOVE |
DECR |
LINSERT |
SINTER |
ZRANGE |
INFO |
PERSIST |
DECRBY |
LLEN |
SINTERSTORE |
ZRANGEBYSCORE |
CLIENT KILL |
PTTL |
GET |
LPOP |
SISMEMBER |
ZRANK |
CLIENT LIST |
RANDOMKEY |
GETRANGE |
LPUSHX |
SMEMBERS |
ZREMRANGEBYRANK |
CLIENT GETNAME |
RENAME |
GETSET |
LRANGE |
SMOVE |
ZREMRANGEBYCORE |
CLIENT SETNAME |
RENAMENX |
INCR |
LREM |
SPOP |
ZREVRANGE |
CONFIG GET |
SCAN |
INCRBY |
LSET |
SRANDMEMBER |
ZREVRANGEBYSCORE |
SLOWLOG |
SORT |
INCRBYFLOAT |
LTRIM |
SREM |
ZREVRANK |
ROLE |
TTL |
MGET |
RPOP |
SUNION |
ZSCORE |
SWAPDB |
TYPE |
MSET |
RPOPLPU |
SUNIONSTORE |
ZUNIONSTORE |
MEMORY |
- |
MSETNX |
RPOPLPUSH |
SSCAN |
ZINTERSTORE |
- |
- |
PSETEX |
- |
- |
ZSCAN |
- |
- |
SET |
- |
- |
ZRANGEBYLEX |
- |
- |
SETBIT |
- |
- |
ZLEXCOUNT |
- |
- |
SETEX |
- |
- |
- |
- |
- |
SETNX |
- |
- |
- |
- |
- |
SETRANGE |
- |
- |
- |
- |
- |
STRLEN |
- |
- |
- |
- |
- |
BITFIELD |
- |
- |
- |
- |
HDEL |
PFADD |
AUTH |
EVAL |
GEOADD |
UNSUBSCRIBE |
HEXISTS |
PFCOUNT |
ECHO |
EVALSHA |
GEOHASH |
PUBLISH |
HGET |
PFMERGE |
PING |
SCRIPT EXISTS |
GEOPOS |
PUBSUB |
HGETALL |
- |
QUIT |
SCRIPT FLUSH |
GEODIST |
PUNSUBSCRIBE |
HINCRBY |
- |
- |
SCRIPT KILL |
GEORADIUS |
- |
HINCRBYFLOAT |
- |
- |
SCRIPT LOAD |
GEORADIUSBYMEMBER |
- |
HKEYS |
- |
- |
- |
- |
- |
HMGET |
- |
- |
- |
- |
- |
HMSET |
- |
- |
- |
- |
- |
HSET |
- |
- |
- |
- |
- |
HSETNX |
- |
- |
- |
- |
- |
HVALS |
- |
- |
- |
- |
- |
HSCAN |
- |
- |
- |
- |
- |
HSTRLEN |
- |
- |
- |
- |
- |
Web CLI禁用的命令
以下列出了通过Web CLI连接Redis实例时禁用的命令。
MIGRATE |
SLAVEOF |
UNWATCH |
CLUSTER MEET |
WAIT |
SHUTDOWN |
REPLICAOF |
CLUSTER FLUSHSLOTS |
DUMP |
DEBUG相关类 |
DISCARD |
CLUSTER ADDSLOTS |
RESTORE |
CONFIG SET |
EXEC |
CLUSTER DELSLOTS |
- |
CONFIG REWRITE |
MULTI |
CLUSTER SETSLOT |
- |
CONFIG RESETSTAT |
WATCH |
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 |
- |
- |
- |
ACL |
- |
- |
- |
MODULE |
- |
- |
BLPOP |
SELECT |
BZPOPMAX |
PSUBSCRIBE |
BRPOP |
- |
BZPOPMIN |
SUBSCRIBE |
BLMOVE |
- |
BZMPOP |
- |
BRPOPLPUSH |
- |
- |
- |
BLMPOP |
- |
- |
- |