Redis-數據結構和內部編碼

1. type命令返回的是當前鍵的數據結構類型,分別是: string 字符串 hash 哈希 list 列表 set 集合 zset 有序集合 注:這些只是redis對外的數據結構,實際上每種數據結構都有各自的內部編碼實現,並且是多種實現 2. 查詢內部編碼 object encoding key 3. 內部編碼 string 字符串 raw int embstr hash 哈希 hashtab
相關文章
相關標籤/搜索