Redis 3 All commands
Note: This article refer to Redis Chinese web, content update. The list of commands in the redis.cn redis Chinese network is Redis version 2.8, this article is the latest Redis 3.0 version of all the commands (in fact, more than 2.8 out of 2 commands: CLIENT reply and Script DEBUG), click the command to view details, Redis Chinese network in some orders, details will be transferred to the redis.cn corresponding page, otherwise go to the official website (redis.io). There are altogether 196 commands (if I have not counted correctly). Append key value appends a value to key Auth password Authentication Server command bgrewriteaof asynchronous override append File command bgsave asynchronously save dataset to disk Bitcount key [Start end] Statistic string Specifies the number of bytes at the starting position bitop operation destkey key [key ...] Perform bitwise operations between strings Bitpos key bit [start] [end]find-bit set or clear in a string blpop& Nbsp;key [key ...] timeout deletes and gets the first element in the list, or blocks until there is a brpop key [key ...] timeout deleted, and gets the last element in the list, or blocks until there is an available Brpoplpush source destination timeout pops a list of values, pushes it to another list, and returns it, or blocks until there is a usable CLIENT kill [ip:port] [ID Client-id] [TYPE normal|slave|pubsub] [ADDR ip:port] [SKIPME yes/no] shut down client connection clients list get client connection list clients getname& nbsp; Get current connection name client pause timeout suspend processing clients command reply on| Off| Skipinstruct the server whether to reply to commands CLIENT SEtname connection-name sets the name of the current connection CLUSTER Addslots slot [slot ...] Assign New Hash slots to receiving node CLUSTER Count-failure-reports node-idreturn the number of failure REPORTS Act Ive for a given node CLUSTER countkeysinslot slotreturn the number of local keys in the specified hash slot CLUSTER D Elslots slot [slot ...] Set Hash slots as unbound in receiving node CLUSTER failover [force| Takeover]forces a slave to perform a manual failover of its master. CLUSTER forget node-idremove a node from the nodes table CLUSTER getkeysinslot slot Countreturn local key names In the specified hash slot CLUSTER info provides INFO about redis CLUSTER node State CLUSTER keyslot keyreturns The hash slot of the specified key CLUSTER Meet ip portforce a node CLUSTER to handshake with another node CLUSTER NO Des get Cluster Config for the node Cluster replicate node-idreconfigure a node as a slave of the specified mast ER node CLUSTER reset&nbsP [hard| Soft]reset a Redis Cluster node Cluster saveconfig forces the node to save Cluster State on disk Cluster SET-CONFIG-E Poch config-epochset the configuration epoch in a new node CLUSTER Setslot slot importing| Migrating| stable| NODE [Node-id]bind a hash slot to a specific node CLUSTER slaves node-idlist slave nodes of the specified master nod e CLUSTER slots get Array of CLUSTER slot to node mappings command get array of redis command details command CO Unt get total number of REDIS commands command getkeys extract keys given a full redis command command info  ; Command-name [Command-name ...] Get array of specific Redis command details Config get parameter gets the value config for the configuration parameter rewrite from the Write memory config file config set&nb Sp;parameter Value settings Config file config resetstat reset redistribution use Info Command Report Statistics dbsize returns the number of keys in the current database DEBUG object Key gets the debug information for a key debug segfault makes the server Crash command Decr key integer atom minus 1 Decrby key decrement atom minus the specified integer del key [ Key...] Delete a key discard discard all MULTI commands Dump key Export the value of the key echo message echo the input string eval script the Numkeys key [key ...] arg [arg ...] Perform LUA scripts on the server side EVALSHA SHA1 numkeys key [key ...] arg [arg ...] Execute LUA scripts on the server side exec execute all MULTI commands Exists key [key ...] Query whether a key exists