Redis命令参考手册(总目录)

2020年7月30日16:10:47 评论 125

Redis命令提供了非常丰富的命令,包括的命令组有KeysStringsHashesListsSorted SetsSetsPub/SubScriptServerTransactionsGeoClusterStreamConnectionHyperLogLog等一共15个redis命令组,约两百多个redis命令,通过以下表格可以快速查找命令。

命令组 命令
Keys(键) DEL;    DUMP;    EXISTS;   EXPIRE;   EXPIREAT;
KEYS;   MIGRATE;   MOVE;   OBJECT;
PERSIST;   PEXPIRE;   PEXPIREAT;   PTTL;
RANDOMKEY;   RENAME;   RENAMENX;   RESTORE;
SCAN;   SORT;   TOUCH;   TTL;
TYPE;   UNLINK;   WAIT
Strings (字符串) APPEND;   BITCOUNT;   BITFIELD;   BITOP;   BITPOS;
DECR;   DECRBY;   GET;   GETBIT;   GETRANGE;   GETSET;
INCR;   INCRBY;   INCRBYFLOAT;
MGET;   MSET;   MSETNX;   PSETEX;
SET;   SETBIT;   SETEX;   SETNX;   SETRANGE;   STRLEN
Hashes(哈希表) HDEL;   HEXISTS;   HGET;   HGETALL;
HINCRBY;   HINCRBYFLOAT;   HKEYS;   HLEN;
HMGET;   HMSET;   HSCAN;
HSET;   HSETNX;   HSTRLEN;   HVALS;
Lists(列表) BLPOP;   BRPOP;   BRPOPLPUSH;
LINDEX;   LINSERT;   LLEN;
LPOP;   LPUSH;   LPUSHX;   LRANGE;   LREM;   LSET;   LTRIM;
RPOP;   RPOPLPUSH;   RPUSH;   RPUSHX
Sets(集合) SADD;   SCARD;   SDIFF;   SDIFFSTORE;
SINTER;   SINTERSTORE;   SISMEMBER;   SMEMBERS;
SMOVE;   SPOP;   SRANDMEMBER;   SREM;
SSCAN;   SUNION;   SUNIONSTORE;
Sorted Sets(有序集合) BZPOPMAX;   BZPOPMIN;
ZADD;   ZCARD;   ZCOUNT;   ZINCRBY;   ZINTERSTORE;
ZLEXCOUNT;   ZPOPMAX;   ZPOPMIN;
ZRANGE;   ZRANGEBYLEX;   ZRANGEBYSCORE;
ZRANK;   ZREM;   ZREMRANGEBYLEX;
ZREMRANGEBYRANK;   ZREMRANGEBYSCORE;
ZREVRANGE;   ZREVRANGEBYLEX;   ZREVRANGEBYSCORE;
ZREVRANK;    ZSCAN;    ZSCORE;   ZUNIONSTORE;
Pub/Sub(发布/订阅) PSUBSCRIBE;   PUBLISH;   PUBSUB;
PUNSUBSCRIBE;   SUBSCRIBE;   UNSUBSCRIBE;
Transactions(事务) DISCARD;   EXEC;   MULTI;
UNWATCH;   WATCH
Scripting(脚本) EVAL;   EVALSHA;   SCRIPT DEBUG;   SCRIPT EXISTS;
SCRIPT FLUSH;   SCRIPT KILL;   SCRIPT LOAD
Connection(连接) AUTH;    ECHO;   PING;   QUIT;   SELECT;   SWAPDB
Geo(地理位置) GEOADD;   GEODIST;    GEOHASH;   GEOPOS;
GEORADIUS;   GEORADIUSBYMEMBER;
Streams(流) XACK;   XADD;   XCLAIM;   XDEL;   XGROUP;
XINFO;   XLEN;   XPENDING;   XRANGE;
XREAD;   XREADGROUP;   XREVRANGE;   XTRIM;
HyperLogLog PFADD;   PFCOUNT;   PFMERGE;
Server(服务器) BGREWRITEAOF;   BGSAVE;   CLIENT GETNAME;    CLIENT ID;
CLIENT KILL;   CLIENT LIST;    CLIENT PAUSE;     CLIENT REPLY;
CLIENT SETNAME;    CLIENT UNBLOCK;    COMMAND;
COMMAND COUNT;    COMMAND GETKEYS;    COMMAND INFO
CONFIG GET;   CONFIG RESETSTAT;   CONFIG REWRITE;
CONFIG SET;   DBSIZE;   DEBUG OBJECT;   DEBUG SEGFAULT;
FLUSHALL;   FLUSHDB;   INFO;   LASTSAVE;
MEMORY DOCTOR;    MEMORY HELP;
MEMORY MALLOC-STATS;    MEMORY PURGE;
MEMORY STATS;    MEMORY USAGE;    MONITOR;
REPLICAOF;    ROLE;    SAVE;   SHUTDOWN;
SLAVEOF;   SLOWLOG;   SYNC;   TIME;
Cluster(集群) CLUSTER ADDSLOTS;   CLUSTER COUNT-FAILURE-REPORTS;
CLUSTER COUNTKEYSINSLOT;   CLUSTER DELSLOTS;
CLUSTER FAILOVER;   CLUSTER FORGET;
CLUSTER GETKEYSINSLOT;   CLUSTER INFO;   CLUSTER KEYSLOT;
CLUSTER MEET;   CLUSTER NODES;   CLUSTER REPLICAS;
CLUSTER REPLICATE;   CLUSTER RESET;   CLUSTER SAVECONFIG;
CLUSTER SET-CONFIG-EPOCH;   CLUSTER SETSLOT;
CLUSTER SLAVES;   CLUSTER SLOTS;
READONLY;   READWRITE;
素课网
  • 本文由 发表于 2020年7月30日16:10:47
  • 转载请注明:https://www.suketech.com/8754.html
Redis Cluster – READONLY命令 Redis命令参考

Redis Cluster – READONLY命令

READONLY 起始版本:3.0.0 时间复杂度:O(1) 开启与 Redis Cluster 从节点连接的读请求 通常,从节点将重定向客户端到认证过的主节点,以获取在指定命令中所涉及的哈希槽,然而...
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: