本文主要是介绍redis一个实例能存多少key,key与value最大是多少?,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
官方说单例能处理key:2.5亿个,参考链接:https://redis.io/topics/faq,以下是原话:
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 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.
一个key或是value大小最大是512M
这篇关于redis一个实例能存多少key,key与value最大是多少?的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!