What is the maximum value size you can store in redis?

做~自己de王妃 提交于 2019-11-28 09:37:23

It's my understanding that key sizes are limited to 2 GiB. That means that the maximum amount of data you can store at a given key is 2 GiB. All String values are limited to 512 MiB.

http://redis.io/topics/data-types

http://groups.google.com/group/redis-db/browse_thread/thread/1c7e33fbc98734b3?fwc=2

It's in the order of the amount of RAM you have, at least, so unless you plan on puting multi-gigabyte objects in there I wouldn't worry. I've had sets that were hundreds of megabytes big without a problem, but I don't know the exact limits.

Article about Redis Memory Usage can help you to roughly determine how much memory your database would take.

A String value can accommodate the size of max 512MB. But according to this link, the size can be increased.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!