Redis命令列表

单节点实例

支持命令列表

编号Keys(键)String(字符串)Hash(哈希表)List(列表)Set(集合)
1DELAPPENDHDELBLPOPSADD
2DUMPBITCOUNTHEXISTSBRPOPSCARD
3EXISTSBITOPHGETBRPOPLPUSHSDIFF
4EXPIREBITPOSHGETALLLINDEXSDIFFSTORE
5EXPIREATDECRHINCRBYLINSERTSINTER
6MOVEDECRBYHINCRBYFLOATLLENSINTERSTORE
7OBJECTGETHKEYSLPOPSISMEMBER
8PERSISTGETBITHLENLPUSHSMEMBERS
9PEXPIREGETRANGEHMGETLPUSHXSMOVE
10PEXPIREATGETSETHMSETLRANGESPOP
11PTTLINCRHSETLREMSRANDMEMBER
12RANDOMKEYINCRBYHSETNXLSETSREM
13RENAMEINCRBYFLOATHVALSLTRIMSUNION
14RENAMENXMGETHSCANRPOPSUNIONSTORE
15RESTOREMSETRPOPLPUSHSSCAN
16SORTMSETNXRPUSH
17TTLPSETEXRPUSHX
18TYPESET
19SCANSETBIT
20SETEX
21SETNX
22SETRANGE
23STRLEN
24SUBSTR
编号SortedSet(有序集合)HyperLogLogPub/Sub(发布/订阅)Transaction
1ZADDPFADDPSUBSCRIBEDISCARD
2ZCARDPFCOUNTPUBLISHEXEC
3ZCOUNTPFMERGEPUBSUBMULTI
4ZINCRBYPUNSUBSCRIBEUNWATCH
5ZRANGESUBSCRIBEWATCH
6ZRANGEBYSCOREUNSUBSCRIBE
7ZRANK
8ZREM
9ZREMRANGEBYRANK
10ZREMRANGEBYSCORE
11ZREVRANGE
12ZREVRANGEBYSCORE
13ZREVRANK
14ZSCORE
15ZUNIONSTORE
16ZINTERSTORE
17ZSCAN
18ZRANGEBYLEX
19ZLEXCOUNT
20ZREMRANGEBYLEX
21ZREVRANGEBYLEX
编号Script(脚本)Connection(连接)Server(服务器)
1AUTHDBSIZE
2ECHOINFO
3PINGROLE
4SELECTTIME
5QUIT

不支持命令列表

编号Keys(键)HyperLogLogScript(脚本)Server(服务器)
1KEYSPFSELFTESTEVALBGREWRITEAOF
2MIGRATEPFDEBUGEVALSHABGSAVE
3SCRIPT EXISTSCLIENT GETNAME
4SCRIPT FLUSHCLIENT KILL
5SCRIPT KILLCLIENT LIST
6SCRIPT LOADCLIENT PAUSE
7CLIENT SETNAME
8COMMAND
9COMMAND COUNT
10COMMAND GETKEYS
11COMMAND INFO
12CONFIG GET
13CONFIG RESETSTAT
14CONFIG REWRITE
15CONFIG SET
16DEBUG OBJECT
17DEBUG SEGFAULT
18FLUSHALL
19FLUSHDB
20LASTSAVE
21MONITOR
22SAVE
23SHUTDOWN
24SLAVEOF
25SLOWLOG
26SYNC
27LATENCY

分布式实例

支持命令列表

编号Keys(键)String(字符串)Hash(哈希表)List(列表)Set(集合)
1DELAPPENDHDELLINDEXSADD
2DUMPBITCOUNTHEXISTSLINSERTSCARD
3EXISTSDECRHGETLLENSDIFF
4EXPIREDECRBYHGETALLLPOPSDIFFSTORE
5EXPIREATGETHINCRBYLPUSHSINTER
6PERSISTGETBITHINCRBYFLOATLPUSHXSINTERSTORE
7PEXPIREGETRANGEHKEYSLRANGESISMEMBER
8PEXPIREATGETSETHLENLREMSMEMBERS
9PTTLINCRHMGETLSETSMOVE
10RESTOREINCRBYHMSETLTRIMSPOP
11SORTINCRBYFLOATHSETRPOPSRANDMEMBER
12TTLMGETHSETNXRPOPLPUSHSREM
13TYPEMSETHVALSRPUSHSUNION
14PSETEXHSCANRPUSHXSUNIONSTORE
15SETSSCAN
16SETBIT
17SETEX
18SETNX
19SETRANGE
20STRLEN
21SUBSTR
编号SortedSet(有序集合)HyperLogLogScript(脚本)Connection(连接)Server(服务器)
1ZADDPFADDEVALAUTHTIME
2ZCARDPFCOUNTEVALSHAECHO
3ZCOUNTPFMERGEPING
4ZINCRBYSELECT
5ZRANGEQUIT
6ZRANGEBYSCORE
7ZRANK
8ZREM
10ZREMRANGEBYSCORE
11ZREVRANGE
12ZREVRANGEBYSCORE
13ZREVRANK
14ZSCORE
15ZUNIONSTORE
16ZINTERSTORE
17ZSCAN
18ZRANGEBYLEX
19ZLEXCOUNT
20ZREMRANGEBYLEX
21ZREVRANGEBYLEX

不支持命令列表

编号Keys(键)String(字符串)List(列表)HyperLogLogPub/Sub(发布/订阅)
1KEYSBITOPBLPOPPFSELFTESTPSUBSCRIBE
2MIGRATEMSETNXBRPOPPFDEBUGPUBLISH
3MOVEBITPOSBRPOPLPUSHPUBSUB
4OBJECTPUNSUBSCRIBE
5RANDOMKEYSUBSCRIBE
6RENAMEUNSUBSCRIBE
7RENAMENX
8SCAN
编号Transaction(事务)Script(脚本)Server(服务器)
1DISCARDSCRIPT EXISTSBGREWRITEAOF
2EXECSCRIPT FLUSHBGSAVE
3MULTISCRIPT KILLCLIENT GETNAME
4UNWATCHSCRIPT LOADCLIENT KILL
5WATCHCLIENT LIST
6CLIENT PAUSE
7CLIENT SETNAME
8COMMAND
9COMMAND COUNT
10COMMAND GETKEYS
11COMMAND INFO
12CONFIG GET
13CONFIG RESETSTAT
14CONFIG REWRITE
15CONFIG SET
16DBSIZE
17DEBUG OBJECT
18DEBUG SEGFAULT
19FLUSHALL
20FLUSHDB
21INFO
22LASTSAVE
23MONITOR
24PSYNC
25ROLE
26SAVE
27SHUTDOWN
28SLAVEOF
29SLOWLOG
30SYNC
31REPLCONF
32LATENCY