Redis Command Reference _redis

Source: Internet
Author: User
Tags failover redis node redis redis cluster
Redis Command Reference

This document is a Chinese translation of  redis command reference  and  redis documentation  to help you understand the specific use of the Redis command and to learn how to use Redis transactions, Persistence, replication, Sentinel, clustering and other functions. Command directory (using CTRL + F Quick Find): Key (key) DEL DUMP EXISTS EXPIRE expireat KEYS MIGRATE move OBJECT PERSIST pexpire pexpireat pttl RAN Domkey RENAME renamenx RESTORE SORT TTL TYPE SCAN string (character) APPEND bitcount bitop bitfield decr decrby get getbit Getran GE getset INCR incrby incrbyfloat mget mset msetnx psetex SET setbit setex setnx SETRANGE STRLEN hash (hash table) Hdel hexists HG ET hgetall hincrby hincrbyfloat hkeys hlen hmget hmset hset hsetnx hvals hscan hstrlen list (listing) Blpop BRPOP BRPOPLPUSH LIN DEX linsert llen lpop lpush lpushx lrange lrem LSET LTRIM rpop rpoplpush rpush rpushx Set (set) Sadd SCard Sdiff Sdiffstore SINTER SINTERSTORE SISMEMBER SMEMBERS SMOVE SPOP SRANDMEMBER SREM SUNION SUNIONSTORE SSCAN SortedSet(有序集合) ZADD ZCARD ZCOU NT Zincrby zrange zrangebyscore zrank zrem zremrangebyrank zremrangebyscore zrevrange ZREVRANGEBYSCORE ZREVRANKRE zunionstore zinterstore zscan zrangebylex zlexcount zremrangebylex hyperloglog pfadd PFCOUNT PFMERGE GEO (geographical location) GEOADD G EoPoS geodist Georadius georadiusbymember geohash pub/sub (Publish/subscribe) psubscribe PUBLISH PUBSUB punsubscribe SUBSCRIBE unsubsc Ribe Transaction (transaction) Discard EXEC MULTI unwatch WATCH Script (script) EVAL Evalsha script EXISTS script FLUSH script KILL SCRIP T LOAD Connection (connect) AUTH ECHO PING QUIT SELECT Server (server) bgrewriteaof Bgsave client GETNAME client KILL client LIST CL Ient setname config get config resetstat config REWRITE config SET dbsize debug OBJECT debug Segfault flushall flushdb INF O lastsave MONITOR psync SAVE SHUTDOWN slaveof slowlog SYNC time       documentation

The following articles are translated from  redis.io/documentation  documentation. Key space Notification (keyspace notification) Feature overview event type configuration command send time transaction (transaction) Usage of notification expiration notification in a transaction why Redis does not support rollback (roll back) Discard transaction usage Check-and-set operation Implementation optimistic lock understanding WATCH use WATCH to implement Zpop Redis script and transactional publishing and subscription (PUB/SUB) Information Format subscription mode receive the same number of information subscriptions through channels and modes programming sample client library implementation prompt replication (Replication) When primary server persistence is turned off, the function of data security replication of replication features partial resynchronization configuration read-only from server-related configuration The primary server executes the Write communication Protocol (Protocol) network layer only if there are at least N servers from the server. Please novelty Unified Request Protocol reply State Reply error Reply integer Reply batch reply multiple batch reply multiple batch reply empty element Multi-command and pipelining command high-performance Redis Protocol Analyzer Persistence (persistence) Redis persistent RDB advantages RDB Disadvantages The advantages of aof aof The disadvantages of RDB and aof, which one should I use. RDB How snapshot snapshots operate only append-operated files (append-only file,aof) aof override AoF's durability. What if the aof file is wrong. How AOF operates from RDB to aof persistent RDB and aof interaction backup Redis Data Disaster recovery Sentinel get Sentinel boot Sentinel configuration Sentinel subjective and objective offline Each Sentinel needs to perform periodic tasks to automatically discover Sentinel and server Sentinel API failover TILT mode processing  -BUSY  status Sentinel client implementation cluster Introduction Redi S-cluster data sharing Redis Redis cluster consistency assurance (guarantee) Create and use Redis cluster to create cluster cluster clients using  redis-rb-cluster&nbsp Write an example application to reorder clusters a more interesting example apply a failover test add a new node to the cluster remove a node Redis Cluster specification Introduction What is a Redis cluster. Functional subset implemented by Redis cluster Redis client and server key distribution model cluster node attribute node handshake (implemented) moved to cluster online reconfiguration (live reconfiguration) ask to fault tolerant publish/subscribe (implemented, but still need To improve) The ANSI implementation reference for the Appendix A:CRC16 algorithm

This document is translated by Huangjianhong (Huangz) and is owned by Redis official.

The update log (change log) lists the major update details of this document, and you can track the latest updates to the document at any time by focusing on the document's GitHub project.

If you have any questions, comments or suggestions, please leave a message in the Disqus Forum of the document, or contact the translator directly. Redis Book recommendation

The book "Redis Design and realization", created by the translator Huangjianhong of this document, is being sold in detail about the workings of redis and the principles of its implementation, and is a book dedicated to helping Redis users deepen their understanding of redis and use redis more efficiently. Welcome to visit Redisbook.com and learn more about Redis design and implementation.

The book "Redis Combat", translated by Huangjianhong, a translator of the Redis Command reference, is on the hot sell, and the book provides an insight into the five data structures of Redis, and demonstrates the use of Redis in a series of practical examples. In addition, "Redis combat" also introduced a variety of ways to extend and optimize redis, whether Redis novice or have some experience of redis users, should be able to benefit from this book.

Welcome to visit Redisinaction.com and learn more about the "Redis combat" more relevant information.

The Redis command Speed checklist, produced by this document translator, is in sale. The table is complementary to this document to help readers better understand and consult the Redis command, and interested readers can learn more by visiting the following links: https://selfstore.io/products/538 participate in group discussions

Welcome to the "Redis Command Reference" readers to join the following QQ group: It technical discussion 1 group, group number 398976550, old group, current number of saturated IT technology Discussion 2 Group, group number 186200307, new group, a lot of places, recommended to join

You can share your Redis experience in the group, or talk to other people about the problems you encounter with the Redis process.


From:http://redisdoc.com/index.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.