doc-exports/docs/dcs/umn/dcs-faq-0730015.html
Chen, Junjie ea05d1a734 DCS UMN Initial Version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2022-12-12 14:07:56 +00:00

15 lines
1.6 KiB
HTML

<a name="dcs-faq-0730015"></a><a name="dcs-faq-0730015"></a>
<h1 class="topictitle1">Do DCS Redis Instances Limit the Size of a Key or Value?</h1>
<div id="body1596093268949"><ul id="dcs-faq-0730015__en-us_topic_0152099097_ul5399430122814"><li id="dcs-faq-0730015__en-us_topic_0152099097_li18254143043312">The maximum allowed size of a key is 512 MB.<p id="dcs-faq-0730015__en-us_topic_0152099097_p5100103293310"><a name="dcs-faq-0730015__en-us_topic_0152099097_li18254143043312"></a><a name="en-us_topic_0152099097_li18254143043312"></a>To reduce memory usage and facilitate key query, ensure that each key does not exceed 1 KB.</p>
</li><li id="dcs-faq-0730015__en-us_topic_0152099097_li103995308287">The maximum allowed size of a string is 512 MB.</li><li id="dcs-faq-0730015__en-us_topic_0152099097_li639963013287">The maximum allowed size of a Set, List, or Hash is 512 MB.<p id="dcs-faq-0730015__en-us_topic_0152099097_p5795336311"><a name="dcs-faq-0730015__en-us_topic_0152099097_li639963013287"></a><a name="en-us_topic_0152099097_li639963013287"></a>In essence, a Set is a collection of Strings; a List is a list of Strings; a Hash contains mappings between string fields and string values.</p>
</li></ul>
<p id="dcs-faq-0730015__en-us_topic_0152099097_p316012465475">Prevent the client from constantly writing large values in Redis. Otherwise, network transmission efficiency will be lowered and the Redis server would take a longer time to process commands, resulting in higher latency.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dcs-faq-0326021.html">Redis Usage</a></div>
</div>
</div>