云数据库 Redis 版兼容 Redis 3.0 版本,支持 Redis 3.0 的 Geo 命令。目前还有小部分暂未开放的命令和受限制的命令。
支持的命令操作
Keys(键) | String(字符串) | Hash(哈希表) | List(列表) | Set(集合) | SortedSet(有序集合) |
DEL | APPEND | HDEL | BLPOP | SADD | ZADD |
DUMP | BITCOUNT | HEXISTS | BRPOP | SCARD | ZCARD |
EXISTS | BITOP | HGET | BRPOPLPUSH | SDIFF | ZCOUNT |
EXPIRE | BITPOS | HGETALL | LINDEX | SDIFFSTORE | ZINCRBY |
EXPIREAT | DECR | HINCRBY | LINSERT | SINTER | ZRANGE |
MOVE | DECRBY | HINCRBYFLOAT | LLEN | SINTERSTORE | ZRANGEBYSCORE |
PERSIST | GET | HKEYS | LPOP | SISMEMBER | ZRANK |
PEXPIRE | GETBIT | HLEN | LPUSH | SMEMBERS | ZREM |
PEXPTREAT | GETRANGE | HMGET | LPUSHX | SMOVE | ZREMRANGEBYRANK |
PTTL | GETSET | HMSET | LRANGE | SPOP | ZREMRANGEBYSCORE |
RANDOMKEY | INCR | HSET | LREM | SRANDMEMBER | ZREVRANGE |
RENAME | INCRBY | HSETNX | LSET | SREM | ZREVRANGEBYSCORE |
RENAMENX | INCRBYFLOAT | HVALS | LTRIM | SUNION | ZREVRANK |
RESTORE | MGET | HSCAN | RPOP | SUNIONSTORE | ZSCORE |
SORT | MSET | RPOPLPUSH | SSCAN | ZUNIONSTORE | |
TTL | MSETNX | RPUSH | ZINTERSTORE | ||
TYPE | PSETEX | RPUSHX | ZSCAN | ||
SCAN | SET | ZRANGEBYLEX | |||
OBJECT | SETBIT | ZLEXCOUNT | |||
SETEX | ZREMRANGEBYLEX | ||||
SETNX | |||||
SETRANGE | |||||
STRLEN |
HyperLogLog | Pub/Sub(发布/订阅) | Transaction(事务) | Connection(连接) | Server(服务器) | Scripting(脚本) | Geo(地理位置) |
PFADD | PSUBSCRIBE | DISCARD | AUTH | FLUSHALL | EVAL | GEOADD |
PFCOUNT | PUBLISH | EXEC | ECHO | FLUSHDB | EVALSHA | GEOHASH |
PFMERGE | PUBSUB | MULTI | PING | DBSIZE | SCRIPT EXISTS | GEOPOS |
PUNSUBSCRIBE | UNWATCH | QUIT | TIME | SCRIPT FLUSH | GEODIST | |
SUBSCRIBE | WATCH | SELECT | INFO | SCRIPT KILL | GEORADIUS | |
UNSUBSCRIBE | KEYS | SCRIPT LOAD | GEORADIUSBYMEMBER | |||
CLIENT KILL | ||||||
CLIENT LIST | ||||||
CLIENT GETNAME | ||||||
CLIENT SETNAME | ||||||
CONFIG GET | ||||||
MONITOR | ||||||
SLOWLOG |
Keys(键) | Server(服务器) |
MIGRATE | BGREWRITEAOF |
BGSAVE | |
CONFIG REWRITE | |
CONFIG SET | |
CONFIG RESETSTAT | |
COMMAND | |
COMMAND COUNT | |
COMMAND GETKEYS | |
COMMAND INFO | |
DEBUG OBJECT | |
DEBUG SEGFAULT | |
LASTSAVE | |
ROLE | |
SAVE | |
SHUTDOWN | |
SLAVEOF | |
SYNC |
Scripting | Keys | Server |
EVAL | SCAN | CLIENT KILL |
EVALSHA | CLIENT LIST | |
SCRIPT EXISTS | CLIENT GETNAME | |
SCRIPT FLUSH | CLIENT SETNAME | |
SCRIPT KILL | MONITOR | |
SCRIPT LOAD |
Keys | Strings | Lists | Sets | Sorted Sets | HyperLogLog | Transaction |
RENAME | MSETNX | RPOPLPUSH | SINTERSTORE | ZUNIONSTORE | PFMERGE | DISCARD |
RENAMENX | SINTER | ZINTERSTORE | PFCOUNT | EXEC | ||
SORT | SUNIONSTORE | MULTI | ||||
SUNION | UNWATCH | |||||
SDIFFSTORE | WATCH | |||||
SDIFF | ||||||
SMOVE |
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。