forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
19 lines
3.1 KiB
HTML
19 lines
3.1 KiB
HTML
<a name="EN-US_TOPIC_0000001811609761"></a><a name="EN-US_TOPIC_0000001811609761"></a>
|
||
|
||
<h1 class="topictitle1">Kernel Resources</h1>
|
||
<div id="body8662426"><p id="EN-US_TOPIC_0000001811609761__ac4978a847af4485b940d344c992e3006">This section describes kernel resource parameters. Whether these parameters take effect depends on OS settings.</p>
|
||
<div class="section" id="EN-US_TOPIC_0000001811609761__section19662191614718"><h4 class="sectiontitle">max_files_per_node</h4><p id="EN-US_TOPIC_0000001811609761__p156627165473"><strong id="EN-US_TOPIC_0000001811609761__b1266261613479">Parameter description</strong>: Specifies the maximum number of files that can be opened by a single SQL statement on a single node. Generally, you do not need to set this parameter.</p>
|
||
<p id="EN-US_TOPIC_0000001811609761__p3662916114717"><strong id="EN-US_TOPIC_0000001811609761__b14967913185417">Type</strong>: SUSET</p>
|
||
<p id="EN-US_TOPIC_0000001811609761__p7662191674716"><strong id="EN-US_TOPIC_0000001811609761__b41864412373">Value range</strong>: an integer ranging from <strong id="EN-US_TOPIC_0000001811609761__b01871246374">–1</strong> to <strong id="EN-US_TOPIC_0000001811609761__b91881841375">INT_MAX</strong>. The value <strong id="EN-US_TOPIC_0000001811609761__b11892410373">–1</strong> indicates that the maximum number is limited.</p>
|
||
<p id="EN-US_TOPIC_0000001811609761__p14662616104710"><strong id="EN-US_TOPIC_0000001811609761__b1248815115413">Default value</strong>: <strong id="EN-US_TOPIC_0000001811609761__b148825164114">50000</strong></p>
|
||
<div class="note" id="EN-US_TOPIC_0000001811609761__note142255481889"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001811609761__ul276310337226"><li id="EN-US_TOPIC_0000001811609761__li57683258119">For a newly installed cluster of 9.1.0 or later, the default value of this parameter is <strong id="EN-US_TOPIC_0000001811609761__b1077087104219">50000</strong>.</li><li id="EN-US_TOPIC_0000001811609761__li9944173861612">In an upgrade scenario, if the original cluster supports the <strong id="EN-US_TOPIC_0000001811609761__b533091114218">max_files_per_node</strong> parameter, the default value of this parameter remains the same for forward compatibility.</li><li id="EN-US_TOPIC_0000001811609761__li12656152921111">In the upgrade scenario, if the original cluster does not support the <strong id="EN-US_TOPIC_0000001811609761__b1379614144218">max_files_per_node</strong> parameter, the default value of this parameter is <strong id="EN-US_TOPIC_0000001811609761__b33796145424">–1</strong> after the upgrade.</li><li id="EN-US_TOPIC_0000001811609761__li19101559182219">If error message "The last file name is [%s] and %d files have already been opened on data node [%s] with a maximum of %d files." is displayed during statement execution, increase the value of <strong id="EN-US_TOPIC_0000001811609761__b6223927103717">max_files_per_node</strong>.</li></ul>
|
||
</div></div>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0892.html">Resource Consumption</a></div>
|
||
</div>
|
||
</div>
|
||
|