Fork me on GitHub

Redis-基础

数据类型

redis拥有五种数据类型:

  1. 字符串(string)
  2. 哈希(hash)
  3. 列表(list)
  4. 集合(set)
  5. 有序集合(zset)

字符串

内部编码
  1. raw
  2. int
  3. embstr

    哈希

    内部编码
  4. hashtable
  5. ziplist

列表

内部编码
  1. linkedlist
  2. ziplist

集合

内部编码
  1. hashtable
  2. intset

有序集合

内部编码
  1. skiplist
  2. ziplist
I'm not rich, but still hold the dream.
显示 Gitment 评论