forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
39 lines
7.0 KiB
HTML
39 lines
7.0 KiB
HTML
<a name="EN-US_TOPIC_0000001188323644"></a><a name="EN-US_TOPIC_0000001188323644"></a>
|
|
|
|
<h1 class="topictitle1">Fault Tolerance</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001188323644__en-us_topic_0059778347_p16741971293">This section describes parameters used for controlling the methods that the server processes an error occurring in the database system.</p>
|
|
<div class="section" id="EN-US_TOPIC_0000001188323644__sc080ae6f23a54a1c9e4cf175efe7787b"><h4 class="sectiontitle">exit_on_error</h4><p id="EN-US_TOPIC_0000001188323644__a7ad01ca93c624e3db5807a041b89af8a"><strong id="EN-US_TOPIC_0000001188323644__en-us_topic_0059778347_en-us_topic_0058967750_b60161848">Parameter description</strong>: Specifies whether to terminate the current session.</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__p1970111811131"><strong id="EN-US_TOPIC_0000001188323644__b143237114179">Type</strong>: SUSET</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__aba2110a5cd794574a12bf64208ff72d1"><strong id="EN-US_TOPIC_0000001188323644__en-us_topic_0059778347_en-us_topic_0058967750_b61660271">Value range</strong>: Boolean</p>
|
|
<ul id="EN-US_TOPIC_0000001188323644__u8cb361c1af974d2e95961bc12947e04a"><li id="EN-US_TOPIC_0000001188323644__lacaccaee3f654fd88cc5b8ec5f96c362"><strong id="EN-US_TOPIC_0000001188323644__b116430464434353">on</strong> indicates that any error will terminate the current session.</li><li id="EN-US_TOPIC_0000001188323644__l7df4d1a407684ef5a8594173e09f327a"><strong id="EN-US_TOPIC_0000001188323644__b47819794934353">off</strong> indicates that only a FATAL error will terminate the current session.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001188323644__aa2d05d2fd34e4eb5a69c199248f9449d"><strong id="EN-US_TOPIC_0000001188323644__b55233292105553">Default value</strong>: <strong id="EN-US_TOPIC_0000001188323644__b842352706172155">off</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188323644__s8467e2c2956442ca9ebe1bc4c69d6bf9"><h4 class="sectiontitle">omit_encoding_error</h4><p id="EN-US_TOPIC_0000001188323644__a227b1d80bce047119f555b047076e136"><strong id="EN-US_TOPIC_0000001188323644__b457525123018">Parameter description</strong>: This parameter determines how to handle character code errors that occur when converting a database to UTF-8. If set to true, it replaces the invalid characters with question marks (?).</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__p52932562718"><strong id="EN-US_TOPIC_0000001188323644__b3316933154719">Type</strong>: USERSET</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__ab5937fe7738948cd9d1db27a44ed6691"><strong id="EN-US_TOPIC_0000001188323644__en-us_topic_0059778347_en-us_topic_0058967750_b9233635">Value range</strong>: Boolean</p>
|
|
<ul id="EN-US_TOPIC_0000001188323644__u606c587290304407ab8329192db99180"><li id="EN-US_TOPIC_0000001188323644__l393c442d7c0b4ab4aa882edd4f60e247"><strong id="EN-US_TOPIC_0000001188323644__b207086933034353">on</strong> indicates that characters that have conversion errors will be ignored and replaced with question marks (?), and error information will be recorded in logs.</li><li id="EN-US_TOPIC_0000001188323644__lf8f5eb30c05b43c68a1396c413ea1d39"><strong id="EN-US_TOPIC_0000001188323644__b52762365334353">off</strong> indicates that characters that have conversion errors cannot be converted and error information will be directly displayed.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001188323644__aec3bce8889554182bc753808d430d6f9"><strong id="EN-US_TOPIC_0000001188323644__b476105492">Default value</strong>: <strong id="EN-US_TOPIC_0000001188323644__b1626028106">off</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188323644__sc9cd4d1562654b6ebb842765d3e398e4"><h4 class="sectiontitle">max_query_retry_times</h4><p id="EN-US_TOPIC_0000001188323644__a046399f2096540869f7ffed5edadc801"><strong id="EN-US_TOPIC_0000001188323644__b454414321112">Parameter description</strong>: Specifies the maximum number of automatic retry times when an SQL statement error occurs. Currently, a statement can start retrying if the following errors occur: <strong id="EN-US_TOPIC_0000001188323644__b115507331118">Connection reset by peer</strong>, <strong id="EN-US_TOPIC_0000001188323644__b135501933117">Lock wait timeout</strong>, and <strong id="EN-US_TOPIC_0000001188323644__b65507310116">Connection timed out</strong>. If this parameter is set to <strong id="EN-US_TOPIC_0000001188323644__b1955183101120">0</strong>, the retry function is disabled.</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__p2364123518270"><strong id="EN-US_TOPIC_0000001188323644__b11651133513477">Type</strong>: USERSET</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__a62f7dd88fc944363835fa76ab35bece3"><strong id="EN-US_TOPIC_0000001188323644__b1592203154216">Value range</strong>: an integer ranging from 0 to 20</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__a5de2356eb81445a9af6a108d4aeb9062"><strong id="EN-US_TOPIC_0000001188323644__b11441792421">Default value</strong>: <strong id="EN-US_TOPIC_0000001188323644__b161455914214">6</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188323644__section37665521353"><h4 class="sectiontitle">max_cn_temp_file_size</h4><p id="EN-US_TOPIC_0000001188323644__p87668522356"><strong id="EN-US_TOPIC_0000001188323644__b1238984361413">Parameter description</strong>: Specifies the maximum number of temporary files that can be used by the CN during automatic SQL statement retries. The value <strong id="EN-US_TOPIC_0000001188323644__b166551175163">0</strong> indicates that no temporary file is used.</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__p185401035192815"><strong id="EN-US_TOPIC_0000001188323644__b7485836114714">Type</strong>: SIGHUP</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__p9766115218357"><strong id="EN-US_TOPIC_0000001188323644__b7713181101416">Value range</strong>: an integer ranging from 0 to 10485760. The unit is KB.</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__p1376675210357"><strong id="EN-US_TOPIC_0000001188323644__b278945492313">Default value</strong>: <strong id="EN-US_TOPIC_0000001188323644__b1779115452315">5 GB</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188323644__section21795287405"><h4 class="sectiontitle">retry_ecode_list</h4><p id="EN-US_TOPIC_0000001188323644__p117952817400"><strong id="EN-US_TOPIC_0000001188323644__b1514154743915">Parameter description</strong>: Specifies the list of SQL error types that support automatic retry.</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__p728764511279"><strong id="EN-US_TOPIC_0000001188323644__b059753817474">Type</strong>: USERSET</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__p9179202844011"><strong id="EN-US_TOPIC_0000001188323644__b1397615017391">Value range</strong>: a string</p>
|
|
<p id="EN-US_TOPIC_0000001188323644__p41791628124012"><strong id="EN-US_TOPIC_0000001188323644__b1777125273918">Default value</strong>: YY001 YY002 YY003 YY004 YY005 YY006 YY007 YY008 YY009 YY010 YY011 YY012 YY013 YY014 YY015 53200 08006 08000 57P01 XX003 XX009 YY016 CG003 CG004 F0011 45003</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0883.html">GUC Parameters</a></div>
|
|
</div>
|
|
</div>
|
|
|