Maximum redis key
size
#11815
-
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@migbash the maximum size of the key is by default 512MB, but there is a configuration (proto-max-bulk-len) which allows you the change this limit. Given said that using large key size is not recommended in term of memory and CPU efficiency I suggest you take a look at this |
Beta Was this translation helpful? Give feedback.
-
As @ranshid said, a single string value is "limited" to 512MB by default, but can be changed. |
Beta Was this translation helpful? Give feedback.
-
The latter. |
Beta Was this translation helpful? Give feedback.
As @ranshid said, a single string value is "limited" to 512MB by default, but can be changed.
As a result, a String key name and value obey that limit.
A Hash has a key name, fields, and their values. Each is a string. The Hash can contain up to 2^32-1 field-value pairs.