redis最多能存多少个key键?

redis最多能存多少个key键,每个值能存储多少个元素?

 

解决方法:

What is the maximum number of keys a single Redis instance can hold? and what is the max number of elements in a Hash, List, Set, Sorted Set?

Redis can handle up to 2^32 keys, and was tested in practice to handle at least 250 million keys per instance.

 

Every hash, list, set, and sorted set, can hold 2^32 elements.

 

In other words your limit is likely the available memory in your system.

 

从官网中找到了答案,http://www.yayihouse.com/yayishuwu/chapter/2373

你可能感兴趣的:(redis最多能存多少个key键?)