All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Redis Limits-Supported Commands

Last updated:2020-12-02 17:22:36

This topic describes the compatibility of KCS instances with native Redis commands.

Compatibility of KCS primary/secondary instances with native Redis commands

Commands supported by KCS primary/secondary instances

Group Supported commands
Key DEL, DUMP, EXISTS, EXPIRE, EXPIREAT, KEYS, MIGRATE, MOVE, OBJECT, PERSIST, PEXPIRE, PEXPIREAT, PTTL, RANDOMKEY, RENAME, RENAMENX, RESTORE, SCAN, SORT, TOUCH, TTL, TYPE
String APPEND, BITCOUNT, BITOP, BITPOS, DECR, DECRBY, GET, GETBIT, GETRANGE, GETSET, INCR, INCRBY, INCRBYFLOAT, MGET, MSET, MSETNX, PSETEX, SET, SETBIT, SETEX, SETNX, SETRANGE, STRLEN
Hashe HDEL, HEXISTS, HGET, HGETALL, HINCRBY, HINCRBYFLOAT, HKEYS, HLEN, HMGET, HMSET, HSCAN, HSET, HSETNX, HVALS
List BLPOP, BRPOP, BRPOPLPUSH, LINDEX, LINSERT, LLEN, LPOP, LPUSH, LPUSHX, LRANGE, LREM, LSET, LTRIM, RPOP, RPOPLPUSH, RPUSH, RPUSHX
Set SADD, SCARD, SDIFF, SDIFFSTORE, SINTER, SINTERSTORE, SISMEMBER, SMEMBERS, SMOVE, SPOP, SRANDMEMBER, SREM, SSCAN, SUNION, SUNIONSTORE
Sorted Set ZADD, ZCARD, ZCOUNT, ZINCRBY, ZINTERSTORE, ZLEXCOUNT, ZRANGE, ZRANGEBYLEX, ZRANGEBYSCORE, ZRANK, ZREM, ZREMRANGEBYLEX, ZREMRANGEBYRANK, ZREMRANGEBYSCORE, ZREVRANGE, ZREVRANGEBYSCORE, ZREVRANK, ZSCAN, ZSCORE, ZUNIONSTORE
HyperLogLog PFADD, PFCOUNT, PFMERGE
Pub/Sub PSUBSCRIBE, PUBLISH, PUBSUB, PUNSUBSCRIBE, SUBSCRIBE, UNSUBSCRIBE
Transaction DISCARD, EXEC, MULTI, UNWATCH, WATCH
Script EVAL, EVALSHA, SCRIPT DEBUG, SCRIPT EXISTS, SCRIPT FLUSH, SCRIPT KILL, SCRIPT LOAD
Connection AUTH, ECHO, PING, QUIT, SELECT
Server CLIENT GETNAME, CLIENT ID, CLIENT KILL, CLIENT LIST, CLIENT SETNAME, CLIENT UNBLOCK, CONFIG GET, DBSIZE, DEBUG OBJECT, INFO, LASTSAVE, LATENCY DOCTOR, LATENCY GRAPH, LATENCY HELP, LATENCY HISTORY, LATENCY LATEST, LATENCY RESET, MONITOR, TIME

Commands not supported by KCS primary/secondary instances

Group Commands not supported by default* Commands not supported
Server CONFIG RESETSTAT, CONFIG REWRITE, DEBUG SEGFAULT, FLUSHALL, FLUSHDB, MODULE LIST, MODULE LOAD, MODULE UNLOAD, SHUTDOWN BGREWRITEAOF, BGSAVE, CONFIG SET, SAVE, SLAVEOF, SYNC

*Note: If you need to use a command that is not supported by default, you can contact Kingsoft Cloud to request the permission.

Commands newly supported by KCS primary/secondary instances of the Redis 4.0 version

Group Supported commands
Keys WAIT
Strings BITFIELD
Hashes HSTRLEN
Geo GEOADD, GEODIST, GEOHASH, GEOPOS, GEORADIUS, GEORADIUSBYMEMBER
Connection SWAPDB
Server CLIENT PAUSE, CLIENT REPLY, COMMAND, COMMAND COUNT, COMMAND GETKEYS, COMMAND INFO, MEMORY DOCTOR, MEMORY HELP, MEMORY MALLOC-STATS, MEMORY PURGE, MEMORY STATS, MEMORY USAGE, ROLE

Commands supported by KCS cluster instances

Group Supported commands
Key DEL, DUMP, EXISTS, EXPIRE, EXPIREAT, PERSIST, PEXPIRE, PEXPIREAT, PTTL, RESTORE, SORT, TTL, TYPE
String APPEND, BITCOUNT, DECR, DECRBY, GET, GETBIT, GETRANGE, GETSET, INCR, INCRBY, INCRBYFLOAT, MGET, MSET, PSETEX, SET, SETBIT, SETEX, SETNX, SETRANGE, STRLEN
Hashe HDEL, HEXISTS, HGET, HGETALL, HINCRBY, HINCRBYFLOAT, HKEYS, HLEN, HMGET, HMSET, HSCAN, HSET, HSETNX, HVALS
List LINDEX, LINSERT, LLEN, LPOP, LPUSH, LPUSHX, LRANGE, LREM, LSET, LTRIM, RPOP, RPUSH, RPUSHX
Set SADD, SCARD, SISMEMBER, SMEMBERS, SPOP, SRANDMEMBER, SREM, SSCAN
Sorted Sets ZADD, ZCARD, ZCOUNT, ZINCRBY, ZLEXCOUNT, ZRANGE, ZRANGEBYLEX, ZRANGEBYSCORE, ZRANK, ZREM, ZREMRANGEBYLEX, ZREMRANGEBYRANK, ZREMRANGEBYSCORE, ZREVRANGE, ZREVRANGEBYLEX, ZREVRANK, ZSCAN, ZSCORE
HyperLogLog PFADD, PFCOUNT
Connection AUTH*, PING, QUIT

*Note: To use the AUTH command in a cluster instance, you must first set a password for the cluster instance in the KCS console.

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback