来自的豌豆荚的Key-Value数据库:RPDB

fdwm 10年前

RPDB 是一个 Redis 协议兼容的 NoSQL 数据库,提供持久化支持。

Keys Command

+-------------------+-----------+-------------------------------------------------------------------+  |      Command      | Twemproxy | rpdb                                                      |  +-------------------+-----------+-------------------------------------------------------------------+  |        DEL        |    Yes    | Yes                                                               |  +-------------------+-----------+-------------------------------------------------------------------+  |       DUMP        |    Yes    | Yes                                                               |  +-------------------+-----------+-------------------------------------------------------------------+  |      EXISTS       |    Yes    | Yes                                                               |  +-------------------+-----------+-------------------------------------------------------------------+  |      EXPIRE       |    Yes    | Yes                                                               |  +-------------------+-----------+-------------------------------------------------------------------+  |     EXPIREAT      |    Yes    | Yes                                                               |  +-------------------+-----------+-------------------------------------------------------------------+  |       KEYS        |    No     |                                                                   |  +-------------------+-----------+-------------------------------------------------------------------+  |      MIGRATE      |    No     |                                                                   |  +-------------------+-----------+-------------------------------------------------------------------+  |       MOVE        |    No     |                                                                   |  +-------------------+-----------+-------------------------------------------------------------------+  |      OBJECT       |    No     |                                                                   |  +-------------------+-----------+-------------------------------------------------------------------+  |      PERSIST      |    Yes    | Yes                                                               |  +-------------------+-----------+-------------------------------------------------------------------+  |      PEXPIRE      |    Yes    | Yes                                                               |  +-------------------+-----------+-------------------------------------------------------------------+  |     PEXPIREAT     |    Yes    | Yes                                                               |  +-------------------+-----------+-------------------------------------------------------------------+  |      PTTL         |    Yes    | Yes                                                               |  +-------------------+-----------+-------------------------------------------------------------------+  |     RANDOMKEY     |    No     |                                                                   |  +-------------------+-----------+-------------------------------------------------------------------+  |      RENAME       |    No     |                                                                   |  +-------------------+-----------+-------------------------------------------------------------------+  |     RENAMENX      |    No     |                                                                   |  +-------------------+-----------+-------------------------------------------------------------------+  |      RESTORE      |    Yes    | Yes                                                               |  +-------------------+-----------+-------------------------------------------------------------------+  |      SORT         |    Yes*   |                                                                   |  +-------------------+-----------+-------------------------------------------------------------------+  |       TTL         |    Yes    | Yes                                                               |  +-------------------+-----------+-------------------------------------------------------------------+  |      TYPE         |    Yes    | Yes                                                               |  +-------------------+-----------+-------------------------------------------------------------------+  |      SCAN         |    No     |                                                                   |  +-------------------+-----------+-------------------------------------------------------------------+

Strings Command

+-------------------+-----------+------------------------------------------------------------------+  |      Command      | Twemproxy | rpdb                                                     |  +-------------------+-----------+------------------------------------------------------------------+  |       APPEND      |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      BITCOUNT     |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |       BITOP       |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |       DECR        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      DECRBY       |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |       GET         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      GETBIT       |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |     GETRANGE      |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      GETSET       |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      INCR         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      INCRBY       |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |     INCRBYFLOAT   |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      MGET         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      MSET         |    Yes*   | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      MSETNX       |    No     | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      PSETEX       |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      SET          |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      SETBIT       |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      SETEX        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      SETNX        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      SETRANGE     |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      STRLEN       |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+

Hashes

+-------------------+-----------+------------------------------------------------------------------+  |      Command      | Twemproxy | rpdb                                                     |  +-------------------+-----------+------------------------------------------------------------------+  |       HDEL        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      HEXISTS      |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |       HGET        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      HGETALL      |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      HINCRBY      |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |    HINCRBYFLOAT   |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      HKEYS        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      HLEN         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      HMGET        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      HMSET        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      HSET         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      HSETNX       |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      HVALS        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      HSCAN        |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+

Lists

+-------------------+-----------+------------------------------------------------------------------+  |      Command      | Twemproxy | rpdb                                                     |  +-------------------+-----------+------------------------------------------------------------------+  |       BLPOP       |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |       BRPOP       |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     BRPOPLPUSH    |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      LINDEX       |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      LINSERT      |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      LLEN         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      LPOP         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      LPUSH        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      LPUSHX       |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      LRANGE       |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      LREM         |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      LSET         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      LTRIM        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      RPOP         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |     RPOPLPUSH     |    Yes*   |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      RPUSH        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      RPUSHX       |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+

Sets

+-------------------+-----------+------------------------------------------------------------------+  |      Command      | Twemproxy | rpdb                                                     |  +-------------------+-----------+------------------------------------------------------------------+  |      SADD         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      SCARD        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      SDIFF        |    Yes*   |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     SDIFFSTORE    |    Yes*   |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      SINTER       |    Yes*   |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    SINTERSTORE    |    Yes*   |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     SISMEMBER     |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |     SMEMBERS      |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      SMOVE        |    Yes*   |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      SPOP         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |    SRANDMEMBER    |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      SREM         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |     SUNION        |    Yes*   |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |   SUNIONSTORE     |    Yes*   |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      SSCAN        |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+

Sorted Sets

+-------------------+-----------+------------------------------------------------------------------+  |      Command      | Twemproxy | rpdb                                                     |  +-------------------+-----------+------------------------------------------------------------------+  |      ZADD         |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      ZCARD        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |      ZCOUNT       |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      ZINCRBY      |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |     ZINTERSTORE   |    Yes*   |                                                                  |  +--------------------------------------------------------------------------------------------------+  |      ZLEXCOUNT    |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      ZRANGE       |    Yes    |                                                                  |  +--------------------------------------------------------------------------------------------------+  |    ZRANGEBYLEX    |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    ZRANGEBYSCORE  |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      ZRANK        |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |       ZREM        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |   ZREMRANGEBYLEX  |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |   ZREMRANGEBYRANK |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |  ZREMRANGEBYSCORE |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    ZREVRANGE      |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |  ZREVRANGEBYSCORE |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     ZREVRANK      |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     ZSCORE        |    Yes    | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |    ZUNIONSTORE    |    Yes*   |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      ZSCAN        |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+

HyperLogLog

+-------------------+-----------+------------------------------------------------------------------+  |      Command      | Twemproxy |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |       PFADD       |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      PFCOUNT      |    Yes    |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      PFMERGE      |    Yes*   |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+

Pub/Sub

+-------------------+-----------+------------------------------------------------------------------+  |      Command      | Twemproxy |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     PSUBSCRIBE    |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     PUBLISH       |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    PUNSUBSCRIBE   |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     SUBSCRIBE     |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     UNSUBSCRIBE   |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+

Transactions

+-------------------+-----------+------------------------------------------------------------------+  |      Command      | Twemproxy |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      DISCARD      |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |       EXEC        |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |       MULTI       |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      UNWATCH      |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |       WATCH       |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+

Scripting

+-------------------+-----------+------------------------------------------------------------------+  |      Command      | Twemproxy |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |       EVAL        |    Yes*   |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     EVALSHA       |    Yes*   |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    SCRIPT EXISTS  |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    SCRIPT FLUSH   |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    SCRIPT KILL    |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    SCRIPT LOAD    |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+

Connection

+-------------------+-----------+------------------------------------------------------------------+  |      Command      | Twemproxy |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |       AUTH        |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |       ECHO        |    No     | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |       PING        |    No     | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |       QUIT        |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      SELECT       |    No     | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+

Server

+-------------------+-----------+------------------------------------------------------------------+  |      Command      | Twemproxy |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    BGREWRITEAOF   |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      BGSAVE       |    No     | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |    CLIENT KILL    |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    CLIENT LIST    |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    CONFIG GET     |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    CONFIG SET     |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |  CONFIG RESETSTAT |    No     |                                                                  |  +-------------------+------------------------------------------------------------------------------+  |     DBSIZE        |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    DEBUG OBJECT   |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |    DEBUG SEGFAULT |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     FLUSHALL      |    No     | Yes (rename to RESET)                                            |  +-------------------+-----------+------------------------------------------------------------------+  |     FLUSHDB       |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      INFO         |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     LASTSAVE      |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     MONITOR       |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      SAVE         |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |     SHUTDOWN      |    No     | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |     SLAVEOF       |    No     | Yes                                                              |  +-------------------+-----------+------------------------------------------------------------------+  |     SLOWLOG       |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      SYNC         |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+  |      TIME         |    No     |                                                                  |  +-------------------+-----------+------------------------------------------------------------------+

Codis-Slots Command

+-------------------+-------------------------------------------------------------------------------+  |      Command      | rpdb                                                                  |  +-------------------+-------------------------------------------------------------------------------+  |   SlotsInfo       | Yes*                                                                          |  +-------------------+-------------------------------------------------------------------------------+  |   SlotsMgrtSlot   | Yes*                                                                          |  +-------------------+-------------------------------------------------------------------------------+  |  SlotsMgrtTagSlot | Yes*                                                                          |  +-------------------+-------------------------------------------------------------------------------+  |   SlotsMgrtOne    | Yes                                                                           |  +-------------------+-------------------------------------------------------------------------------+  |  SlotsMgrtTagOne  | Yes                                                                           |  +-------------------+-------------------------------------------------------------------------------+  |    SlotsDel       |                                                                               |  +-------------------+-------------------------------------------------------------------------------+  |    SlotsHashKey   | Yes                                                                           |  +-------------------+-------------------------------------------------------------------------------+  |    SlotsCheck     |                                                                               |  +-------------------+-------------------------------------------------------------------------------+    * slotsinfo, slotsmgrtslot and slotsmgrttagslot cannot get the exact value of slot's size,

项目主页:http://www.open-open.com/lib/view/home/1429442240292