2013-01-10

SSDB与Redis命令对比

Views: 42674 | 9 Comments
Redis SSDB
kv get get
set set
del del
incr/incrBy incr
decr/decrBy decr
getMultiple multi_get
setMultiple multi_set
del(multiple) multi_del
keys scan(for kv type only)


Redis SSDB
hashmap hget hget
hset hset
hdel hdel
hIncrBy hincr
hDecrBy hdecr
hKeys hkeys
hVals hscan
hMGet multi_hget
hMSet multi_hset
hLen hsize


Redis SSDB
zset zScore zget
zAdd zset
zRem zdel
zRange zrange/zscan
zRangeByScore zscan
zIncrBy zincr
zDecrBy zdecr
zCount
zCard zsize

Related posts:

  1. 用PHP遍历SSDB中的zset集合
  2. SSDB 增加 zrank, zrange 命令
  3. 如何使用SSDB的zscan命令
  4. SSDB在大数据量日志分析中的应用案例
  5. SSDB 提供了非常详细的 PHP API 文档
Posted by ideawu at 2013-01-10 18:41:49 Tags: , , ,

9 Responses to "SSDB与Redis命令对比"

Leave a Comment