You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
390 B

Redis的ziplist是一个紧凑的字节数组结构每个元素之间都是紧挨着。
![[Snipaste_2023-02-24_14-42-21 1.png]]
+ 如果存储的是hash结构那么key和value会作为两个entry被相邻存储
+ 如果是zsetvalue和score会作为两个entry被相邻存储
+ 如果set里存储的是字符串那么sadd会升级为hashtable结构HashSet
# 存储界限