底层数据结构 | 编码类型 | |
zset有序集合 | ziplist skiplist+dict | ziplist skiplist+dict |
hash字典 | ziplist dict | ziplist dict |
set集合 | intset dict | intset dict |
list列表 | quicklist | quicklist |
stream消息队列 | listpack rax树 | |
string字符串 | sds | raw int embstr |
底层数据结构 | 编码类型 | |
zset有序集合 | ziplist skiplist+dict | ziplist skiplist+dict |
hash字典 | ziplist dict | ziplist dict |
set集合 | intset dict | intset dict |
list列表 | quicklist | quicklist |
stream消息队列 | listpack rax树 | |
string字符串 | sds | raw int embstr |