forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
144 lines
25 KiB
HTML
144 lines
25 KiB
HTML
<a name="EN-US_TOPIC_0000001098655026"></a><a name="EN-US_TOPIC_0000001098655026"></a>
|
||
|
||
<h1 class="topictitle1">Logging Time</h1>
|
||
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001098655026__sbd8ad9bb6b9b48ba97f998f060dc56f3"><a name="EN-US_TOPIC_0000001098655026__sbd8ad9bb6b9b48ba97f998f060dc56f3"></a><a name="sbd8ad9bb6b9b48ba97f998f060dc56f3"></a><h4 class="sectiontitle">client_min_messages</h4><p id="EN-US_TOPIC_0000001098655026__ab104a5d651fe4ae8aba1325d3085d3b1"><strong id="EN-US_TOPIC_0000001098655026__b197554062634312">Parameter description</strong>: Specifies which level of messages are sent to the client. Each level covers all the levels following it. The lower the level is, the fewer messages are sent.</p>
|
||
<p id="EN-US_TOPIC_0000001098655026__p11463101175210"><strong id="EN-US_TOPIC_0000001098655026__b11578125441215">Type</strong>: USERSET</p>
|
||
<div class="notice" id="EN-US_TOPIC_0000001098655026__n61b090b2cd63452b848d0c5032f7427a"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001098655026__a6118a299c7d6445db0d27c4b3a2955dc">When the values of <strong id="EN-US_TOPIC_0000001098655026__b18228135955413">client_min_messages</strong> and <a href="#EN-US_TOPIC_0000001098655026__s1ffb0797361d413d875381200fed970b">log_min_messages</a> are the same, the levels are different.</p>
|
||
</div></div>
|
||
<p id="EN-US_TOPIC_0000001098655026__ab0acdb490eed4d19862e8498cc65201c"><strong id="EN-US_TOPIC_0000001098655026__b7727241102410">Valid values</strong>: Enumerated values. Valid values: <strong id="EN-US_TOPIC_0000001098655026__b107287412243">debug5</strong>, <strong id="EN-US_TOPIC_0000001098655026__b572812413241">debug4</strong>, <strong id="EN-US_TOPIC_0000001098655026__b37281641102416">debug3</strong>, <strong id="EN-US_TOPIC_0000001098655026__b1472911410243">debug2</strong>, <strong id="EN-US_TOPIC_0000001098655026__b372917415242">debug1</strong>, <strong id="EN-US_TOPIC_0000001098655026__b472964182415">info</strong>, <strong id="EN-US_TOPIC_0000001098655026__b1573094162417">log</strong>, <strong id="EN-US_TOPIC_0000001098655026__b1073014152417">notice</strong>, <strong id="EN-US_TOPIC_0000001098655026__b773044172417">warning</strong>, <strong id="EN-US_TOPIC_0000001098655026__b13730441182411">error</strong> For details about the parameters, see <a href="#EN-US_TOPIC_0000001098655026__ta1ceaf79532d439ead5e098dee6f7b7e">Table 1</a>.</p>
|
||
<p id="EN-US_TOPIC_0000001098655026__a83f750e96f5f4054aadbb615bbc0c24b"><strong id="EN-US_TOPIC_0000001098655026__en-us_topic_0059778452_en-us_topic_0058967791_b5155240211820_1">Default value:</strong> <strong id="EN-US_TOPIC_0000001098655026__en-us_topic_0059778452_b84235270615540">notice</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001098655026__s1ffb0797361d413d875381200fed970b"><a name="EN-US_TOPIC_0000001098655026__s1ffb0797361d413d875381200fed970b"></a><a name="s1ffb0797361d413d875381200fed970b"></a><h4 class="sectiontitle">log_min_messages</h4><p id="EN-US_TOPIC_0000001098655026__a6c495c6c2306481a9bedcd2e252dc2e6"><strong id="EN-US_TOPIC_0000001098655026__b189102789034312">Parameter description</strong>: Specifies which level of messages will be written into server logs. Each level covers all the levels following it. The lower the level is, the fewer messages will be written into the log.</p>
|
||
<p id="EN-US_TOPIC_0000001098655026__p11733154719219"><strong id="EN-US_TOPIC_0000001098655026__b76317871319">Type</strong>: SUSET</p>
|
||
<div class="notice" id="EN-US_TOPIC_0000001098655026__n420ce143768444eaa67feee6b2a6ae9a"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001098655026__af4d2da60cf474e6a83be9da8d1ea5278">When the values of <a href="#EN-US_TOPIC_0000001098655026__sbd8ad9bb6b9b48ba97f998f060dc56f3">client_min_messages</a> and <strong id="EN-US_TOPIC_0000001098655026__en-us_topic_0085032812_en-us_topic_0059778452_en-us_topic_0058967791_b84235270611741">log_min_messages</strong> are the same, the levels are different.</p>
|
||
</div></div>
|
||
<p id="EN-US_TOPIC_0000001098655026__acd4d4849db8042219fb3cd48beab05b7"><strong id="EN-US_TOPIC_0000001098655026__b197133568246">Value range</strong>: enumerated type. Valid values: <strong id="EN-US_TOPIC_0000001098655026__b1071385672413">debug5</strong>, <strong id="EN-US_TOPIC_0000001098655026__b07141256192414">debug4</strong>, <strong id="EN-US_TOPIC_0000001098655026__b37141656132417">debug3</strong>, <strong id="EN-US_TOPIC_0000001098655026__b1771418566240">debug2</strong>, <strong id="EN-US_TOPIC_0000001098655026__b127141565248">debug1</strong>, <strong id="EN-US_TOPIC_0000001098655026__b971565613246">info</strong>, <strong id="EN-US_TOPIC_0000001098655026__b1471595616243">log</strong>, <strong id="EN-US_TOPIC_0000001098655026__b77153565242">notice</strong>, <strong id="EN-US_TOPIC_0000001098655026__b1171655610249">warning</strong>, <strong id="EN-US_TOPIC_0000001098655026__b1771615642417">error</strong>, <strong id="EN-US_TOPIC_0000001098655026__b671635617244">fatal</strong>, <strong id="EN-US_TOPIC_0000001098655026__b87171956132419">panic</strong> For details about the parameters, see <a href="#EN-US_TOPIC_0000001098655026__ta1ceaf79532d439ead5e098dee6f7b7e">Table 1</a>.</p>
|
||
<p id="EN-US_TOPIC_0000001098655026__a15e2b975393949cf8cf974c553f30451"><strong id="EN-US_TOPIC_0000001098655026__b1782311210257">Default value</strong>: <strong id="EN-US_TOPIC_0000001098655026__b19824628256">warning</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001098655026__s9d33915bddc343edab4a5517b8969e57"><h4 class="sectiontitle">log_min_error_statement</h4><p id="EN-US_TOPIC_0000001098655026__a75b23b5bd79c4760a8f1ec480491d146"><strong id="EN-US_TOPIC_0000001098655026__b128072565734312">Parameter description</strong>: Specifies which SQL statements that cause errors condition will be recorded in the server log.</p>
|
||
<p id="EN-US_TOPIC_0000001098655026__p43012219228"><strong id="EN-US_TOPIC_0000001098655026__b250610413137">Type</strong>: SUSET</p>
|
||
<p id="EN-US_TOPIC_0000001098655026__a9e7a6626cd914a1fbfb325d0496f7cce"><strong id="EN-US_TOPIC_0000001098655026__b993283122515">Value range</strong>: enumerated type. Valid values: <strong id="EN-US_TOPIC_0000001098655026__b9932435256">debug5</strong>, <strong id="EN-US_TOPIC_0000001098655026__b20932183122510">debug4</strong>, <strong id="EN-US_TOPIC_0000001098655026__b109336362513">debug3</strong>, <strong id="EN-US_TOPIC_0000001098655026__b1193383152514">debug2</strong>, <strong id="EN-US_TOPIC_0000001098655026__b20933113142510">debug1</strong>, <strong id="EN-US_TOPIC_0000001098655026__b9933133112510">info</strong>, <strong id="EN-US_TOPIC_0000001098655026__b793473152510">log</strong>, <strong id="EN-US_TOPIC_0000001098655026__b11934233251">notice</strong>, <strong id="EN-US_TOPIC_0000001098655026__b11934339257">warning</strong>, <strong id="EN-US_TOPIC_0000001098655026__b493515312518">error</strong>, <strong id="EN-US_TOPIC_0000001098655026__b18935739257">fatal</strong>, <strong id="EN-US_TOPIC_0000001098655026__b16935173112512">panic</strong> For details about the parameters, see <a href="#EN-US_TOPIC_0000001098655026__ta1ceaf79532d439ead5e098dee6f7b7e">Table 1</a>.</p>
|
||
<div class="note" id="EN-US_TOPIC_0000001098655026__n2306de62c39e44dd970d9536de833d25"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001098655026__u343fc63015694174bea581d6e023e29e"><li id="EN-US_TOPIC_0000001098655026__l72ff3b1083b04e3f82ff83a61310e481">The default is <strong id="EN-US_TOPIC_0000001098655026__b1420614115253">error</strong>, indicating that statements causing errors, log messages, fatal errors, or panics will be logged.</li><li id="EN-US_TOPIC_0000001098655026__lc9af1c4abaf84801bec8f1c916c748c6"><strong id="EN-US_TOPIC_0000001098655026__b85652278634312">panic</strong>: This feature is disabled.</li></ul>
|
||
</div></div>
|
||
<p id="EN-US_TOPIC_0000001098655026__a08c81840ed3f4e62b21da6be19ff41ed"><strong id="EN-US_TOPIC_0000001098655026__en-us_topic_0059778452_en-us_topic_0058967791_b1021419917644">Default value</strong>: <strong id="EN-US_TOPIC_0000001098655026__en-us_topic_0059778452_b842352706155450">error</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001098655026__s670cade0b3b84413bd2256e1fe1c8cdb"><a name="EN-US_TOPIC_0000001098655026__s670cade0b3b84413bd2256e1fe1c8cdb"></a><a name="s670cade0b3b84413bd2256e1fe1c8cdb"></a><h4 class="sectiontitle">log_min_duration_statement</h4><p id="EN-US_TOPIC_0000001098655026__a4dacdb7c965145d1b4ccfcea34210df2"><strong id="EN-US_TOPIC_0000001098655026__b131195985334312">Parameter description</strong>: Specifies the threshold for logging statement execution durations. The execution duration that is greater than the specified value will be logged.</p>
|
||
<p id="EN-US_TOPIC_0000001098655026__aef5cce4319934546810f9313bd12662e">This parameter helps track query statements that need to be optimized. For clients using extended query protocol, durations of the Parse, Bind, and Execute are logged independently.</p>
|
||
<p id="EN-US_TOPIC_0000001098655026__p144358285222"><strong id="EN-US_TOPIC_0000001098655026__b84244701310">Type</strong>: SUSET</p>
|
||
<div class="notice" id="EN-US_TOPIC_0000001098655026__n90c5791fcfcf42a58a0ccf66502ca3dd"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001098655026__a94b3f30d363c4aa0ba655e9e1ed3bd25">If this parameter and <a href="dws_04_0916.html#EN-US_TOPIC_0000001145895021__s3dd4368238fd47a2bb1de59c2142ede5">log_statement</a> are used at the same time, statements recorded based on the value of <strong id="EN-US_TOPIC_0000001098655026__en-us_topic_0085032812_b842352706151351">log_statement</strong> will not be logged again after their execution duration exceeds the value of this parameter. If you are not using <strong id="EN-US_TOPIC_0000001098655026__b1246714718212">syslog</strong>, it is recommended that you log the process ID (PID) or session ID using log_line_prefix so that you can link the current statement message to the last logged duration.</p>
|
||
</div></div>
|
||
<p id="EN-US_TOPIC_0000001098655026__ad9885075abc844ff8e471c4b9519acbf"><strong id="EN-US_TOPIC_0000001098655026__b114922692511">Value range</strong>: an integer ranging from -1 to INT_MAX. The unit is millisecond.</p>
|
||
<ul id="EN-US_TOPIC_0000001098655026__u9e17cc3be8804dcc83cf591c1d039600"><li id="EN-US_TOPIC_0000001098655026__ld7d5c655e376431e8bc01d24b977f7b1">If this parameter is set to <strong id="EN-US_TOPIC_0000001098655026__b16555112372916">250</strong>, execution durations of SQL statements that run 250 ms or longer will be logged.</li><li id="EN-US_TOPIC_0000001098655026__l8f313edfc5e94cb884de52e8bab93b4d"><strong id="EN-US_TOPIC_0000001098655026__b55698856934312">0</strong>: Execution durations of all the statements are logged.</li><li id="EN-US_TOPIC_0000001098655026__l388c575fd58c4da9b07569f257f54ffd"><strong id="EN-US_TOPIC_0000001098655026__b164171631734312">–1</strong>: This feature is disabled.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001098655026__a147a9d702ecb4b5998775132975835b0"><strong id="EN-US_TOPIC_0000001098655026__b128413243151938">Default value</strong>: <strong id="EN-US_TOPIC_0000001098655026__b842352706151948">30min</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001098655026__sfa54bcc8393f44ef873c9993cee1fe73"><h4 class="sectiontitle">backtrace_min_messages</h4><p id="EN-US_TOPIC_0000001098655026__a90d6856f7f884df7928fe0052fa6777a"><strong id="EN-US_TOPIC_0000001098655026__b842352706112946">Parameter description</strong>: Prints the function's stack information to the server's log file if the level of information generated is greater than or equal to this parameter level.</p>
|
||
<p id="EN-US_TOPIC_0000001098655026__p10554633192217"><strong id="EN-US_TOPIC_0000001098655026__b09381097136">Type</strong>: SUSET</p>
|
||
<div class="notice" id="EN-US_TOPIC_0000001098655026__nde18cfb2294949fb81c645e3dbde7223"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001098655026__a96742ec160664ded9db1d23d75186c51">This parameter is used for locating customer on-site problems. Because frequent stack printing will affect the system's overhead and stability, therefore, when you locate the onsite problems, set the value of this parameter to ranks other than <strong id="EN-US_TOPIC_0000001098655026__en-us_topic_0058967791_b842352706135146">fatal</strong> and <strong id="EN-US_TOPIC_0000001098655026__en-us_topic_0058967791_b842352706135149">panic</strong>.</p>
|
||
</div></div>
|
||
<p id="EN-US_TOPIC_0000001098655026__a1075a98d426e4761af4886be77d24cc6"><strong id="EN-US_TOPIC_0000001098655026__b65838514134312">Value range</strong>: enumerated values</p>
|
||
<p id="EN-US_TOPIC_0000001098655026__a5dab9a312b884588b26a202eec6e1ad3">Valid values: <strong id="EN-US_TOPIC_0000001098655026__b20775182711258">debug5</strong>, <strong id="EN-US_TOPIC_0000001098655026__b1377612275254">debug4</strong>, <strong id="EN-US_TOPIC_0000001098655026__b17776182712254">debug3</strong>, <strong id="EN-US_TOPIC_0000001098655026__b5776227182519">debug2</strong>, <strong id="EN-US_TOPIC_0000001098655026__b1077718279257">debug1</strong>, <strong id="EN-US_TOPIC_0000001098655026__b37771427202518">info</strong>, <strong id="EN-US_TOPIC_0000001098655026__b4778327192510">log</strong>, <strong id="EN-US_TOPIC_0000001098655026__b67781427112512">notice</strong>, <strong id="EN-US_TOPIC_0000001098655026__b11778202762517">warning</strong>, <strong id="EN-US_TOPIC_0000001098655026__b107791627182513">error</strong>, <strong id="EN-US_TOPIC_0000001098655026__b20779182722515">fatal</strong>, <strong id="EN-US_TOPIC_0000001098655026__b9779142702512">panic</strong> For details about the parameters, see <a href="#EN-US_TOPIC_0000001098655026__ta1ceaf79532d439ead5e098dee6f7b7e">Table 1</a>.</p>
|
||
<p id="EN-US_TOPIC_0000001098655026__a42161193594944e5bad80cb7d92b60e3"><strong id="EN-US_TOPIC_0000001098655026__en-us_topic_0085032812_en-us_topic_0059778452_en-us_topic_0058967791_b36363861152751">Default value</strong>: <strong id="EN-US_TOPIC_0000001098655026__en-us_topic_0085032812_en-us_topic_0059778452_b842352706155621">panic</strong></p>
|
||
</div>
|
||
<p id="EN-US_TOPIC_0000001098655026__a65c3ea3aa69d47ebb4ae00879c33f9bb"><a href="#EN-US_TOPIC_0000001098655026__ta1ceaf79532d439ead5e098dee6f7b7e">Table 1</a> explains the message security levels used in <span id="EN-US_TOPIC_0000001098655026__text831683596">GaussDB(DWS)</span>. If logging output is sent to <strong id="EN-US_TOPIC_0000001098655026__b186769354232">syslog</strong> or <strong id="EN-US_TOPIC_0000001098655026__b56779357237">eventlog</strong>, severity is translated in <span id="EN-US_TOPIC_0000001098655026__text414561421">GaussDB(DWS)</span> as shown in the table.</p>
|
||
|
||
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001098655026__ta1ceaf79532d439ead5e098dee6f7b7e"></a><a name="ta1ceaf79532d439ead5e098dee6f7b7e"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001098655026__ta1ceaf79532d439ead5e098dee6f7b7e" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Message Severity Levels</caption><thead align="left"><tr id="EN-US_TOPIC_0000001098655026__r8cf599f9d11e41f6b36dad37d28933f4"><th align="left" class="cellrowborder" valign="top" width="23.89%" id="mcps1.3.7.2.5.1.1"><p id="EN-US_TOPIC_0000001098655026__a518f357d982c487ca173df5da2506980"><strong id="EN-US_TOPIC_0000001098655026__b48865205234312">Severity</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="38.29%" id="mcps1.3.7.2.5.1.2"><p id="EN-US_TOPIC_0000001098655026__ae53cc0118f6a4d6a8fe08440a4da42ff"><strong id="EN-US_TOPIC_0000001098655026__b198453614534312">Description</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="17.94%" id="mcps1.3.7.2.5.1.3"><p id="EN-US_TOPIC_0000001098655026__ab26d7b91292642c49fac622024d89bb4"><strong id="EN-US_TOPIC_0000001098655026__b199934193034312">syslog</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="19.88%" id="mcps1.3.7.2.5.1.4"><p id="EN-US_TOPIC_0000001098655026__afc262920767d4753b93573869f98ea02"><strong id="EN-US_TOPIC_0000001098655026__b142555748534312">eventlog</strong></p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="EN-US_TOPIC_0000001098655026__r84b67b666dfd4dd39857d8a3a81dd57b"><td class="cellrowborder" valign="top" width="23.89%" headers="mcps1.3.7.2.5.1.1 "><p id="EN-US_TOPIC_0000001098655026__a9d4d5e0082b447f2a7d1184b8337074f">debug[1-5]</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.29%" headers="mcps1.3.7.2.5.1.2 "><p id="EN-US_TOPIC_0000001098655026__ab82dcbc3d2ae4af4a725df29112a904d">Provides detailed debug information.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.94%" headers="mcps1.3.7.2.5.1.3 "><p id="EN-US_TOPIC_0000001098655026__a90f119729dc04ded953fede7cf835bf1">DEBUG</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.7.2.5.1.4 "><p id="EN-US_TOPIC_0000001098655026__a2893373693e743aba3dcbaf061383964">INFORMATION</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="EN-US_TOPIC_0000001098655026__rfbbe27e69c9940af9df7436930ad6c68"><td class="cellrowborder" valign="top" width="23.89%" headers="mcps1.3.7.2.5.1.1 "><p id="EN-US_TOPIC_0000001098655026__a2731dbc8d71f4dea91b4c4c0dbd1a805">log</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.29%" headers="mcps1.3.7.2.5.1.2 "><p id="EN-US_TOPIC_0000001098655026__a423d69301b2a42669d72362b820f7c20">Reports information of interest to administrators, for example, checkpoint activity.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.94%" headers="mcps1.3.7.2.5.1.3 "><p id="EN-US_TOPIC_0000001098655026__af421502954454efaa2ef8c3c129d4066">INFO</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.7.2.5.1.4 "><p id="EN-US_TOPIC_0000001098655026__af81024864e0b4da6acb10ee8d4214a3b">INFORMATION</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="EN-US_TOPIC_0000001098655026__r2c2d38011eaa41638f69049ce1e8ff38"><td class="cellrowborder" valign="top" width="23.89%" headers="mcps1.3.7.2.5.1.1 "><p id="EN-US_TOPIC_0000001098655026__aaf14c50cf59b470199f410952b5ce981">info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.29%" headers="mcps1.3.7.2.5.1.2 "><p id="EN-US_TOPIC_0000001098655026__a7ea36a9ffcc54f16bb972471fabc6e76">Provides information implicitly requested by the user, for example, output from <strong id="EN-US_TOPIC_0000001098655026__b70431412134312">VACUUM VERBOSE</strong>.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.94%" headers="mcps1.3.7.2.5.1.3 "><p id="EN-US_TOPIC_0000001098655026__a8899b8bd74514d95a7f6e18395c96fe8">INFO</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.7.2.5.1.4 "><p id="EN-US_TOPIC_0000001098655026__ac76436ca9930437b8093bf840f62fe41">INFORMATION</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="EN-US_TOPIC_0000001098655026__r33eccb1495664fee9ab1dffa23f248e8"><td class="cellrowborder" valign="top" width="23.89%" headers="mcps1.3.7.2.5.1.1 "><p id="EN-US_TOPIC_0000001098655026__ab0c4731116ef466c90a85667b6429bee">notice</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.29%" headers="mcps1.3.7.2.5.1.2 "><p id="EN-US_TOPIC_0000001098655026__a64162f17b4634ec09f38fb7cc6701f4c">Provides information that might be helpful to users, for example, notice of truncation of long identifiers and index created as part of the primary key.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.94%" headers="mcps1.3.7.2.5.1.3 "><p id="EN-US_TOPIC_0000001098655026__a1ee75e9544cd49aaa022fc1733995edc">NOTICE</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.7.2.5.1.4 "><p id="EN-US_TOPIC_0000001098655026__a43fb368f85bd4e9297b9014e19259459">INFORMATION</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="EN-US_TOPIC_0000001098655026__r3d48fa9c230044d786dffb36234ee9f1"><td class="cellrowborder" valign="top" width="23.89%" headers="mcps1.3.7.2.5.1.1 "><p id="EN-US_TOPIC_0000001098655026__a8c816e4b4d274e68ba9d5797448ee45f">warning</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.29%" headers="mcps1.3.7.2.5.1.2 "><p id="EN-US_TOPIC_0000001098655026__a1a51f1b7d7be46049c748553918b058f">Provides warnings of likely problems, for example, <strong id="EN-US_TOPIC_0000001098655026__b130943767634312">COMMIT</strong> outside a transaction block.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.94%" headers="mcps1.3.7.2.5.1.3 "><p id="EN-US_TOPIC_0000001098655026__a2a0c2f9640fc4185b72b5bfc491d046a">NOTICE</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.7.2.5.1.4 "><p id="EN-US_TOPIC_0000001098655026__a9e293941b10f42789ecd74ab3940577a">WARNING</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="EN-US_TOPIC_0000001098655026__r540493874d6b4ef7a2b8b36de6fcd7df"><td class="cellrowborder" valign="top" width="23.89%" headers="mcps1.3.7.2.5.1.1 "><p id="EN-US_TOPIC_0000001098655026__a771bbd0145aa4cd9b4eeb4328fab6e24">error</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.29%" headers="mcps1.3.7.2.5.1.2 "><p id="EN-US_TOPIC_0000001098655026__a92dcdcf7ef164101b9c5e6fee284b312">Reports an error that causes a command to terminate.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.94%" headers="mcps1.3.7.2.5.1.3 "><p id="EN-US_TOPIC_0000001098655026__a5ca4c082a9f74747b22fc1114916cd56">WARNING</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.7.2.5.1.4 "><p id="EN-US_TOPIC_0000001098655026__a3bc746222d9b4b6ea85d0b4d9ae3cba9">ERROR</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="EN-US_TOPIC_0000001098655026__rfeb5e38dc056465da9ff0c838325b4ef"><td class="cellrowborder" valign="top" width="23.89%" headers="mcps1.3.7.2.5.1.1 "><p id="EN-US_TOPIC_0000001098655026__a8f814259eeb947358677bb78c8e18a4c">fatal</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.29%" headers="mcps1.3.7.2.5.1.2 "><p id="EN-US_TOPIC_0000001098655026__a363ee2b7a30140a7a3d209433c64b70f">Reports the reason that causes a session to terminate.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.94%" headers="mcps1.3.7.2.5.1.3 "><p id="EN-US_TOPIC_0000001098655026__ad47f2e7dde564d9b89774584a3d951d6">ERR</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.7.2.5.1.4 "><p id="EN-US_TOPIC_0000001098655026__aa71a9e375ff74362a863ae85f06c1087">ERROR</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="EN-US_TOPIC_0000001098655026__r98e34bfc2c9b47e094685b97a741fed3"><td class="cellrowborder" valign="top" width="23.89%" headers="mcps1.3.7.2.5.1.1 "><p id="EN-US_TOPIC_0000001098655026__a6b2de05294d64facbb70dc644576f0cb">panic</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.29%" headers="mcps1.3.7.2.5.1.2 "><p id="EN-US_TOPIC_0000001098655026__a47c1446a95ca487a8a7d494f281f408c">Reports an error that caused all database sessions to terminate.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.94%" headers="mcps1.3.7.2.5.1.3 "><p id="EN-US_TOPIC_0000001098655026__a85004c8b6a044d8aa2caf8d8b439b35b">CRIT</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.7.2.5.1.4 "><p id="EN-US_TOPIC_0000001098655026__aca3f41aa67eb462d841acec469713533">ERROR</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001098655026__section12879737135917"><h4 class="sectiontitle">plog_merge_age</h4><p id="EN-US_TOPIC_0000001098655026__p088914378599"><strong id="EN-US_TOPIC_0000001098655026__b842352706205836">Parameter description</strong>: Specifies the output interval of performance log data.</p>
|
||
<p id="EN-US_TOPIC_0000001098655026__p5362114082219"><strong id="EN-US_TOPIC_0000001098655026__b04651410161315">Type</strong>: SUSET</p>
|
||
<div class="notice" id="EN-US_TOPIC_0000001098655026__note189816377599"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001098655026__p15900237115913">This parameter value is in milliseconds. You are advised to set this parameter to a value that is a multiple of 1000. That is, the value is in seconds. Name extension of the performance log files controlled by this parameter is .prf. These log files are stored in the <strong id="EN-US_TOPIC_0000001098655026__b84235270621355">$GAUSSLOG/gs_profile/</strong><<em id="EN-US_TOPIC_0000001098655026__i84235269721359">node_name</em>> directory. <em id="EN-US_TOPIC_0000001098655026__i20368568521412">node_name</em> is the value of <strong id="EN-US_TOPIC_0000001098655026__b84235270621418">pgxc_node_name</strong> in the <strong id="EN-US_TOPIC_0000001098655026__b84235270621429">postgres.conf</strong> file. You are advised not to use this parameter externally.</p>
|
||
</div></div>
|
||
<p id="EN-US_TOPIC_0000001098655026__p15571655133911"><strong id="EN-US_TOPIC_0000001098655026__en-us_topic_0059778102_aae7931e7938b4f8f8021ead037bc434a">Value range</strong>: an integer ranging from 0 to INT_MAX. The unit is millisecond (ms).</p>
|
||
<ul id="EN-US_TOPIC_0000001098655026__ul165467231031"><li id="EN-US_TOPIC_0000001098655026__li15546192315315"><strong id="EN-US_TOPIC_0000001098655026__b84235270621545">0</strong> indicates that the current session will not output performance log data.</li><li id="EN-US_TOPIC_0000001098655026__li11943126339">A value other than 0 indicates the output interval of performance log data. The smaller the value is, the more log data is output, resulting in more negative impact on the performance.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001098655026__p1890813710595"><strong id="EN-US_TOPIC_0000001098655026__b739861560">Default value</strong>: <strong id="EN-US_TOPIC_0000001098655026__b238765288">3s</strong></p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0913.html">Error Reporting and Logging</a></div>
|
||
</div>
|
||
</div>
|
||
|