What is the maximum number of keys a single Redis instance can hold? and what the max number of elements in a Hash, List, Set, Sorted Set?
Redis can handle up to 232 keys, and was tested in practice to handle at least 250 million keys per instance.
Every hash, list, set, and sorted set, can hold 232 elements.
In other words your limit is likely the available memory in your system
本文介绍了Redis实例可以容纳的最大键数量为2^32个,并且在实践中至少能够处理2.5亿个键。此外,每种数据结构如哈希、列表、集合及有序集合均可容纳2^32个元素。

2万+

被折叠的 条评论
为什么被折叠?



