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>
179 lines
46 KiB
HTML
179 lines
46 KiB
HTML
<a name="EN-US_TOPIC_0000001145895021"></a><a name="EN-US_TOPIC_0000001145895021"></a>
|
||
|
||
<h1 class="topictitle1">Logging Content</h1>
|
||
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001145895021__section81174139518"><h4 class="sectiontitle">debug_print_parse</h4><p id="EN-US_TOPIC_0000001145895021__p1455615276550"><strong id="EN-US_TOPIC_0000001145895021__b1336388519">Parameter description</strong>: Specifies whether to print parsing tree results.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p13167151613314"><strong id="EN-US_TOPIC_0000001145895021__b1169445112017">Type</strong>: SIGHUP</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p185191242205120"><strong id="EN-US_TOPIC_0000001145895021__b105191342145114">Value range</strong>: Boolean</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__ul18519042145111"><li id="EN-US_TOPIC_0000001145895021__li5519194219515"><strong id="EN-US_TOPIC_0000001145895021__b842352706151350">on</strong> indicates the printing result function is enabled.</li><li id="EN-US_TOPIC_0000001145895021__li13519442145118"><strong id="EN-US_TOPIC_0000001145895021__b84235270615143">off</strong> indicates the printing result function is disabled.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__p25191142105119"><strong id="EN-US_TOPIC_0000001145895021__b1859316619154">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b459411612151">off</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__section1521510162517"><h4 class="sectiontitle">debug_print_rewritten</h4><p id="EN-US_TOPIC_0000001145895021__p371413378563"><strong id="EN-US_TOPIC_0000001145895021__b1553012241515">Parameter description</strong>: Specifies whether to print query rewriting results.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p7990191016331"><strong id="EN-US_TOPIC_0000001145895021__b37488186111">Type</strong>: SIGHUP</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p10315135435116"><strong id="EN-US_TOPIC_0000001145895021__b131517542517">Value range</strong>: Boolean</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__ul7315195416517"><li id="EN-US_TOPIC_0000001145895021__li631511547513"><strong id="EN-US_TOPIC_0000001145895021__b1171767887">on</strong> indicates the printing result function is enabled.</li><li id="EN-US_TOPIC_0000001145895021__li15315115425115"><strong id="EN-US_TOPIC_0000001145895021__b187436732">off</strong> indicates the printing result function is disabled.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__p183151354135112"><strong id="EN-US_TOPIC_0000001145895021__b152542052171510">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b22551452101512">off</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__s9c3870d1371f42c3b0dd5d9ee05e8670"><h4 class="sectiontitle">debug_print_plan</h4><p id="EN-US_TOPIC_0000001145895021__a4b5a3767eeae48138d3bd5060c431617"><strong id="EN-US_TOPIC_0000001145895021__b278583016119">Parameter description</strong>: Specifies whether to print query execution results.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__aefc558fc3009473c824d0ebfc2898bbe"><strong id="EN-US_TOPIC_0000001145895021__b67846311411">Type</strong>: SIGHUP</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__a5f76c4722528435fbeb4960ee6e5ec7e"><strong id="EN-US_TOPIC_0000001145895021__b1869783712">Value range</strong>: Boolean</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__u994b85c836024298922a5153c3709a41"><li id="EN-US_TOPIC_0000001145895021__l74dd5d84e6604e8d9b8068f636909269"><strong id="EN-US_TOPIC_0000001145895021__b1317981988">on</strong> indicates the printing result function is enabled.</li><li id="EN-US_TOPIC_0000001145895021__l8d95e30f40e244c08edcb46973f79a8e"><strong id="EN-US_TOPIC_0000001145895021__b2038439196">off</strong> indicates the printing result function is disabled.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__ade49f90119434d81b43d55a43f1a3f1b"><strong id="EN-US_TOPIC_0000001145895021__b55233292105553">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b842352706172155">off</strong></p>
|
||
<div class="notice" id="EN-US_TOPIC_0000001145895021__note05751148105816"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="EN-US_TOPIC_0000001145895021__ul182267183718"><li id="EN-US_TOPIC_0000001145895021__li16227141810715">Debugging information about <strong id="EN-US_TOPIC_0000001145895021__b5219954161712">debug_print_parse</strong>, <strong id="EN-US_TOPIC_0000001145895021__b175408219181">debug_print_rewritten</strong>, and <strong id="EN-US_TOPIC_0000001145895021__b1882191691816">debug_print_plan</strong> are printed only when the log level is set to <strong id="EN-US_TOPIC_0000001145895021__b32011847132615">log</strong> or higher. When these parameters are set to <strong id="EN-US_TOPIC_0000001145895021__b07741742111818">on</strong>, their debugging information will be recorded in server logs and will not be sent to client logs. You can change the log level by setting <a href="dws_04_0915.html#EN-US_TOPIC_0000001098655026__sbd8ad9bb6b9b48ba97f998f060dc56f3">client_min_messages</a> and <a href="dws_04_0915.html#EN-US_TOPIC_0000001098655026__s1ffb0797361d413d875381200fed970b">log_min_messages</a>.</li><li id="EN-US_TOPIC_0000001145895021__li722751814720">Do not invoke the <strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0058967718_b84235270615846">gs_encrypt_aes128</strong> and <strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0058967718_b84235270615849">gs_decrypt_aes128</strong> functions when <strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0058967718_b8423527061594">debug_print_plan</strong> is set to <strong id="EN-US_TOPIC_0000001145895021__b84235270683755">on</strong>, preventing the risk of sensitive information disclosure. You are advised to filter parameter information of the <strong id="EN-US_TOPIC_0000001145895021__b155360820110724">gs_encrypt_aes128</strong> and <strong id="EN-US_TOPIC_0000001145895021__b1560946810724">gs_decrypt_aes128</strong> functions in the log files generated when <strong id="EN-US_TOPIC_0000001145895021__b84235270683921">debug_print_plan</strong> is set to <strong id="EN-US_TOPIC_0000001145895021__b84235270684133">on</strong>, and then provide the information to external maintenance engineers for fault locating. After you finish using the logs, delete them as soon as possible.</li></ul>
|
||
</div></div>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__sa2640b7cf0554b0b89715af1b59ee115"><h4 class="sectiontitle">debug_pretty_print</h4><p id="EN-US_TOPIC_0000001145895021__a6fab7137ce4b4652bc9f379f789b682b"><strong id="EN-US_TOPIC_0000001145895021__b20511637_16">Parameter description</strong>: Specifies the logs produced by <strong id="EN-US_TOPIC_0000001145895021__b842352706151651">debug_print_parse</strong>, <strong id="EN-US_TOPIC_0000001145895021__b842352706151656">debug_print_rewritten</strong>, and <strong id="EN-US_TOPIC_0000001145895021__b84235270615170">debug_print_plan</strong>. The output format is more readable but much longer than the output generated when this parameter is set to <strong id="EN-US_TOPIC_0000001145895021__b84235270615201">off</strong>.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p11463101175210"><strong id="EN-US_TOPIC_0000001145895021__b15193123712120">Type</strong>: USERSET</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__ad234a8fa671b47be96e039d75adcfb89"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778487_a968b64b668e64cf4b795a69bd28ef46c">Value range</strong>: Boolean</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__u464b1fc24b8a4025851c996111a50d60"><li id="EN-US_TOPIC_0000001145895021__l787cf6292a684954881390cc67f5a119"><strong id="EN-US_TOPIC_0000001145895021__b125039383334559">on</strong> indicates the indentation is enabled.</li><li id="EN-US_TOPIC_0000001145895021__l05ff88b4ad0d41888d7c4e0c0f66df8a"><strong id="EN-US_TOPIC_0000001145895021__b107488474034559">off</strong> indicates the indentation is disabled.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__a6f3e2858d443422eaec04d43655b9acd"><strong id="EN-US_TOPIC_0000001145895021__b19573715114114">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b842352706172116">on</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__sa1f00cee076c4fed9e30aaf9d4db37ae"><h4 class="sectiontitle">log_checkpoints</h4><p id="EN-US_TOPIC_0000001145895021__a011ef48db61a4fd693d0cbf0d7156288"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778400_en-us_topic_0058967718_b39533782">Parameter description</strong>: Specifies whether the statistics on the checkpoints and restart points are recorded in the server logs. When this parameter is set to <strong id="EN-US_TOPIC_0000001145895021__b64224620434559">on</strong>, statistics on checkpoints and restart points are recorded in the log messages, including the number of buffers to be written and the time spent in writing them.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p1458571153412"><strong id="EN-US_TOPIC_0000001145895021__b201338482110">Type</strong>: SIGHUP</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__a0e49c6ca39594f4a9777a07c0c0ce48d"><strong id="EN-US_TOPIC_0000001145895021__b187018491216">Value range</strong>: Boolean</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__u26ee6c2d55fa4f0b9a6abc5015131bfd"><li id="EN-US_TOPIC_0000001145895021__la94da3aff0f041838573a397d42174ce"><strong id="EN-US_TOPIC_0000001145895021__b842352706152540">on</strong> indicates the statistics on the checkpoints and restart points are recorded in the server logs.</li><li id="EN-US_TOPIC_0000001145895021__le25d05c6c719495889cfb8c2af33f9cc"><strong id="EN-US_TOPIC_0000001145895021__b84235270615265">off</strong> indicates the statistics on the checkpoints and restart points are not recorded in the server logs.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__ab1831a9cb878465b939fd312b65577b9"><strong id="EN-US_TOPIC_0000001145895021__b1503527402">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b1778696522">off</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__s6f28761cef1d43a39321c405e59e3be7"><h4 class="sectiontitle">log_connections</h4><p id="EN-US_TOPIC_0000001145895021__aec7725f061224a91a1c118712c65c924"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778400_en-us_topic_0058967718_b4527735">Parameter description</strong>: Specifies whether to record connection request information of the client.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__a099fb4a8ac0b4e76a732ada6ed0a26ec"><strong id="EN-US_TOPIC_0000001145895021__b1085517551315">Type</strong>: BACKEND</p>
|
||
<div class="notice" id="EN-US_TOPIC_0000001145895021__n3560e10f87bc409d9d1eaadefaa302eb"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="EN-US_TOPIC_0000001145895021__ul16495515185917"><li id="EN-US_TOPIC_0000001145895021__li23241690315">Session connection parameter. Users are not advised to configure this parameter.</li><li id="EN-US_TOPIC_0000001145895021__li883153512610">Some client programs, such as gsql, attempt to connect twice while determining if a password is required. In this case, duplicate <strong id="EN-US_TOPIC_0000001145895021__b1147766131210">connection receive</strong> messages do not necessarily indicate a problem.</li></ul>
|
||
</div></div>
|
||
<p id="EN-US_TOPIC_0000001145895021__a69e6846c9866481390f0e0dc80a75bd5"><strong id="EN-US_TOPIC_0000001145895021__b698251227">Value range</strong>: Boolean</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__ubf0c8ed416114cfda7fb737ec1de13e8"><li id="EN-US_TOPIC_0000001145895021__l0ff20d9a5bb34bb09513c5227bc73609"><strong id="EN-US_TOPIC_0000001145895021__b842352706154054">on</strong> indicates the request information is recorded.</li><li id="EN-US_TOPIC_0000001145895021__l3fce6bdd1786418f9522f3b1bbc68dac"><strong id="EN-US_TOPIC_0000001145895021__b842352706154115">off</strong> indicates the request information is not recorded.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__aa2785ee99a4c454c9ceeb91f890d8c47"><strong id="EN-US_TOPIC_0000001145895021__b1149457720">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b261260114">off</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__s97246b2e8f6f42b6a841857ab92483a4"><h4 class="sectiontitle">log_disconnections</h4><p id="EN-US_TOPIC_0000001145895021__a0b851746c43640d4890c59dea0f75e6c"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778400_en-us_topic_0058967718_b16018111">Parameter description</strong>: Specifies whether to record end connection request information of the client.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__ab0ecf7d322b74a41bd4e8ff8bf0f895c"><strong id="EN-US_TOPIC_0000001145895021__b13171451020">Type</strong>: BACKEND</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__a23bf147bb38948468e094e2a381876e3"><strong id="EN-US_TOPIC_0000001145895021__b563488210">Value range</strong>: Boolean</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__ue342f6499fbc49f68b93c20237e1a8a3"><li id="EN-US_TOPIC_0000001145895021__lc64d5eaa959b4df8ac5e1980228a49ec"><strong id="EN-US_TOPIC_0000001145895021__b1789513261">on</strong> indicates the request information is recorded.</li><li id="EN-US_TOPIC_0000001145895021__l08d2b01c023f43e1953e7101b18e6975"><strong id="EN-US_TOPIC_0000001145895021__b285198070">off</strong> indicates the request information is not recorded.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__af16d01d13dd348b8a4543a811ae5c28f"><strong id="EN-US_TOPIC_0000001145895021__b1704938667">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b2054808045">off</strong></p>
|
||
<div class="note" id="EN-US_TOPIC_0000001145895021__note13423125752619"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001145895021__p5418515279">Session connection parameter. Users are not advised to configure this parameter.</p>
|
||
</div></div>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__sda1abeeb28da4d9096867f7ab7ea3885"><h4 class="sectiontitle">log_duration</h4><p id="EN-US_TOPIC_0000001145895021__a93e99476deb048a69260bce6ea0e01d5"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778400_en-us_topic_0058967718_b4981121">Parameter description</strong>: Specifies whether to record the duration of every completed SQL statement. For clients using extended query protocols, the time required for parsing, binding, and executing steps are logged independently.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p166132013260"><strong id="EN-US_TOPIC_0000001145895021__b1877610920219">Type</strong>: SUSET</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__a652d598534ce4d14aacc9636d31338b4"><strong id="EN-US_TOPIC_0000001145895021__b3100152615369">Value range</strong>: Boolean</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__u10df9003f53f4feda488dfc8fa2f51ee"><li id="EN-US_TOPIC_0000001145895021__l74c6622c838241d0838cb57c14220173">If this parameter is set to <strong id="EN-US_TOPIC_0000001145895021__b16946152843617">off</strong>, the difference between setting this parameter and setting <a href="dws_04_0915.html#EN-US_TOPIC_0000001098655026__s670cade0b3b84413bd2256e1fe1c8cdb">log_min_duration_statement</a> is that exceeding <strong id="EN-US_TOPIC_0000001145895021__b694742813365">log_min_duration_statement</strong> forces the text of the query to be logged, but this parameter does not.</li><li id="EN-US_TOPIC_0000001145895021__l4968a55b30ba4cc1814bc1cf826fb4f8">If this parameter is set to <strong id="EN-US_TOPIC_0000001145895021__b1826123519361">on</strong> and <strong id="EN-US_TOPIC_0000001145895021__b1582613356362">log_min_duration_statement</strong> has a positive value, all durations are logged but the query text is included only for statements exceeding the threshold. This behavior can be used for gathering statistics in high-load situation.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__a847b22aed68749ceb9d45de3b50b4cad"><strong id="EN-US_TOPIC_0000001145895021__b1251846602">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b1437101364">on</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__s1f2f9699c54c4c3f973baa725d94a06a"><h4 class="sectiontitle">log_error_verbosity</h4><p id="EN-US_TOPIC_0000001145895021__a56aa0ba3fa9947e1aff9b9795012ad87"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778400_en-us_topic_0058967718_b2262347">Parameter description</strong>: Specifies the amount of detail written in the server log for each message that is logged.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p49921350132618"><strong id="EN-US_TOPIC_0000001145895021__b19596151817211">Type</strong>: SUSET</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__a008d0806c6ff4ac2a8764a60df50d4ef"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778091_en-us_topic_0058967545_b41199681">Value range</strong>: enumerated values</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__uedffbf40c5af4b16ac43e9815aa5578f"><li id="EN-US_TOPIC_0000001145895021__l741d8e67fe4e4720b58904ef7bd7bbcf"><strong id="EN-US_TOPIC_0000001145895021__b84235270610522">terse</strong> indicates that the output excludes the logging of DETAIL, HINT, QUERY, and CONTEXT error information.</li><li id="EN-US_TOPIC_0000001145895021__l868e7428538f40678bafb4cc11c3f92c"><strong id="EN-US_TOPIC_0000001145895021__b84235270610537">verbose</strong> indicates that the output includes the SQLSTATE error code, the source code file name, function name, and number of the line in which the error occurs.</li><li id="EN-US_TOPIC_0000001145895021__l6f5f46f379ac4fa09446b4cff8dd5a3d"><strong id="EN-US_TOPIC_0000001145895021__b8423527061061">default</strong> indicates that the output includes the logging of DETAIL, HINT, QUERY, and CONTEXT error information, and excludes the SQLSTATE error code, the source code file name, function name, and number of the line in which the error occurs.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__a413426662b5f4da6a91ee5ad03ef3935"><strong id="EN-US_TOPIC_0000001145895021__b24134234_4">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b84235270617913">default</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__sc7876ce3e91b4fba8d063b091fb60995"><h4 class="sectiontitle">log_hostname</h4><p id="EN-US_TOPIC_0000001145895021__a829222d3070d4ed5b1a93fe99a1be886"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778400_en-us_topic_0058967718_b28964910">Parameter description</strong>: By default, connection log messages only show the IP address of the connected host. The host name can be recorded when this parameter is set to <strong id="EN-US_TOPIC_0000001145895021__b842352706164136">on</strong>. It may take some time to parse the host name. Therefore, the database performance may be affected.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p1906174311314"><strong id="EN-US_TOPIC_0000001145895021__b9721122424">Type</strong>: SIGHUP</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__a6a4fe01bd9d343718e797ce1e4c9c93d"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778400_en-us_topic_0058967718_b58171051">Value range</strong>: Boolean</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__u75103295bd1041a598ef7d70e81cfb4e"><li id="EN-US_TOPIC_0000001145895021__l9b5377006e294b0f93eb1ce2cb04eb2d"><strong id="EN-US_TOPIC_0000001145895021__b84235270616431">on</strong> indicates the host name can be simultaneously recorded.</li><li id="EN-US_TOPIC_0000001145895021__lfbe0e12ba377496d8379e41e0cccab45"><strong id="EN-US_TOPIC_0000001145895021__b885166701">off</strong> indicates the host name cannot be simultaneously recorded.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__a78e07695f7e045d0b91d5e14f13fb1f6"><strong id="EN-US_TOPIC_0000001145895021__b1404512528">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b1826496478">off</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__s80fbcd77ad5a4cdc879fe344d17b2c13"><a name="EN-US_TOPIC_0000001145895021__s80fbcd77ad5a4cdc879fe344d17b2c13"></a><a name="s80fbcd77ad5a4cdc879fe344d17b2c13"></a><h4 class="sectiontitle">log_lock_waits</h4><p id="EN-US_TOPIC_0000001145895021__a2b3489c5be3c4fb5bc2309382b6f7b28"><strong id="EN-US_TOPIC_0000001145895021__b1921419477369">Parameter description</strong>: If the time that a session used to wait a lock is longer than the value of <a href="dws_04_0928.html#EN-US_TOPIC_0000001098814524__s34083b462e2947b5a232d8b3a1465d3b">deadlock_timeout</a>, this parameter specifies whether to record this message in the database. This is useful in determining if lock waits are causing poor performance.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p16111602712"><strong id="EN-US_TOPIC_0000001145895021__b17396733226">Type</strong>: SUSET</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__af37c416494754aa0a5971654bba296b2"><strong id="EN-US_TOPIC_0000001145895021__b1753703502">Value range</strong>: Boolean</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__u7a93bd0a699b4b41bfb5de61ee762288"><li id="EN-US_TOPIC_0000001145895021__l06bb68dbd53c45f9b6e8d12b5a0d00f0"><strong id="EN-US_TOPIC_0000001145895021__b567688840">on</strong> indicates the information is recorded.</li><li id="EN-US_TOPIC_0000001145895021__ld13fbd0bf5344587b0a0a395e0ea113a"><strong id="EN-US_TOPIC_0000001145895021__b1718971260">off</strong> indicates the information is not recorded.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__a0f91942a7a324e6e89e2baa45b216f90"><strong id="EN-US_TOPIC_0000001145895021__b189064053">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b398912901">off</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__s3dd4368238fd47a2bb1de59c2142ede5"><a name="EN-US_TOPIC_0000001145895021__s3dd4368238fd47a2bb1de59c2142ede5"></a><a name="s3dd4368238fd47a2bb1de59c2142ede5"></a><h4 class="sectiontitle">log_statement</h4><p id="EN-US_TOPIC_0000001145895021__a9122122d846c4b77882e42c8c2550e32"><strong id="EN-US_TOPIC_0000001145895021__b20511637_34">Parameter description</strong>: Specifies whether to record SQL statements. For clients using extended query protocols, logging occurs when an execute message is received, and values of the Bind parameters are included (with any embedded single quotation marks doubled).</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p990231132718"><strong id="EN-US_TOPIC_0000001145895021__b320817371821">Type</strong>: SUSET</p>
|
||
<div class="notice" id="EN-US_TOPIC_0000001145895021__n07706568b6dc4b26921f64bf2e2b1613"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001145895021__aad068db2a166423abff4fbdab28a2142">Statements that contain simple syntax errors are not logged even if <strong id="EN-US_TOPIC_0000001145895021__b5510856834559">log_statement</strong> is set to <strong id="EN-US_TOPIC_0000001145895021__b84235270611648">all</strong>, because the log message is emitted only after basic parsing has been completed to determine the statement type. If the extended query protocol is used, this setting also does not log statements before the execution phase (during parse analysis or planning). Set <strong id="EN-US_TOPIC_0000001145895021__b102587881734559">log_min_error_statement</strong> to ERROR or lower to log such statements.</p>
|
||
</div></div>
|
||
<p id="EN-US_TOPIC_0000001145895021__a2292a7957fa243be9210b439a7914351"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778400_en-us_topic_0058967718_b61472055">Value range</strong>: enumerated values</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__u210ac03f52a54d7c813ae3fcdc03ec15"><li id="EN-US_TOPIC_0000001145895021__le46daaf6e17246d4b4e2b2b23fedb9dd"><strong id="EN-US_TOPIC_0000001145895021__b15043698634559">none</strong> indicates that no statement is recorded.</li><li id="EN-US_TOPIC_0000001145895021__ld601186655354eec8b0b6c479eb61380"><strong id="EN-US_TOPIC_0000001145895021__b59794239134559">ddl</strong> indicates that all data definition statements, such as CREATE, ALTER, and DROP, are recorded.</li><li id="EN-US_TOPIC_0000001145895021__lb3a726d76f4740ebb0d58bba37a433e7"><strong id="EN-US_TOPIC_0000001145895021__b42923426534559">mod</strong> indicates that all DDL statements and data modification statements, such as INSERT, UPDATE, DELETE, TRUNCATE, and COPY FROM, are recorded.</li><li id="EN-US_TOPIC_0000001145895021__l75537a2f49764feba5c05934a1b2a0c3"><strong id="EN-US_TOPIC_0000001145895021__b129363205834559">all</strong> indicates that all statements are recorded. The PREPARE, EXECUTE, and EXPLAIN ANALYZE statements are also recorded.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__ab325b167b9bb4dd0af9a1697986c10ab"><strong id="EN-US_TOPIC_0000001145895021__b37632759_4">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b84235270617103">none</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__s8d1011e76c764e8a8b2e29184fd70a95"><h4 class="sectiontitle">log_temp_files</h4><p id="EN-US_TOPIC_0000001145895021__a4a33915857884db687e1ea90d7173313"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778400_en-us_topic_0058967718_b35339169">Parameter description</strong>: Specifies whether to record the delete information of temporary files. Temporary files can be created for sorting, hashing, and temporary querying results. A log entry is generated for each temporary file when it is deleted. </p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p10656111742717"><strong id="EN-US_TOPIC_0000001145895021__b4111939223">Type</strong>: SUSET</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__a32940836480d464bbcf56025cdc0f825"><strong id="EN-US_TOPIC_0000001145895021__b02851984111">Value range</strong>: an integer ranging from -1 to INT_MAX. The unit is KB.</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__u48c110478f1c43b89fdf80e052bf11cb"><li id="EN-US_TOPIC_0000001145895021__l55b6e2098aaf44b9a0c808465f06dbb1">A positive value indicates that the delete information of temporary files whose values are larger than that of <strong id="EN-US_TOPIC_0000001145895021__b842352706175348">log_temp_files</strong> is recorded.</li><li id="EN-US_TOPIC_0000001145895021__ld823f961ab3d45529b99189b9a635264">If the parameter is set to <strong id="EN-US_TOPIC_0000001145895021__b101575189117">0</strong>, all the delete information of temporary files is recorded.</li><li id="EN-US_TOPIC_0000001145895021__ld172d11e43194030a23c3630d5c142a0">If the parameter is set to <strong id="EN-US_TOPIC_0000001145895021__b63022047111119">-1</strong>, the delete information of no temporary files is recorded.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__aabcfebfb75eb4c229b14474a430654e7"><strong id="EN-US_TOPIC_0000001145895021__b53628433514291">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b164450946414291">–1</strong></p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__s3b62620e506041c8835978fbada772be"><h4 class="sectiontitle">log_timezone</h4><p id="EN-US_TOPIC_0000001145895021__p88549532318"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778400_en-us_topic_0058967718_b9745144">Parameter description</strong>: Specifies the time zone used for time stamps written in the server log. Different from <a href="dws_04_0926.html#EN-US_TOPIC_0000001098814478__seb4ea8b8bc704f4eb9f7e7661c826fa9">TimeZone</a>, this parameter takes effect for all sessions in the database.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__a6165d539a3194c77b720ef1b7a9fdda8"><strong id="EN-US_TOPIC_0000001145895021__b1959810183712">Type</strong>: SIGHUP</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__a97a3a507c90a45d888bc342e2cff5b57"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059779159_a1b051ea8e65c4a3e9f20a7de48f8e292">Value range</strong>: a string</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__abe79e7b1ab7b4c3d9873da48de526f5b"><strong id="EN-US_TOPIC_0000001145895021__b14726192912234">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b2726162916230">PRC</strong></p>
|
||
<div class="note" id="EN-US_TOPIC_0000001145895021__note1086972319196"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001145895021__p1933215820233">The value can be changed when <strong id="EN-US_TOPIC_0000001145895021__b183814401307">gs_initdb</strong> is used to set system environments.</p>
|
||
</div></div>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__s0f9bdfeae6b64a4ca1773a93118e25a1"><h4 class="sectiontitle">logging_module</h4><p id="EN-US_TOPIC_0000001145895021__ae497467375a54cec913d3b7cfe5809d9"><strong id="EN-US_TOPIC_0000001145895021__en-us_topic_0059778400_b1969628515824">Parameter description</strong>: Specifies whether module logs can be output on the server. This parameter is a session-level parameter, and you are not advised to use the <strong id="EN-US_TOPIC_0000001145895021__b842352706102317">gs_guc</strong> tool to set it.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p3604683302"><strong id="EN-US_TOPIC_0000001145895021__b1501341923">Type</strong>: USERSET</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__ae209100cb34b453090ecf92376fd3de8"><strong id="EN-US_TOPIC_0000001145895021__b1160010014">Value range</strong>: a string</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__aa431c7db59fa45c78f6d5f3a08cbb188"><strong id="EN-US_TOPIC_0000001145895021__b842352706102740">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b842352706151436">off</strong>. All the module logs on the server can be viewed by running <strong id="EN-US_TOPIC_0000001145895021__b842352706103112">show logging_module</strong>.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__a7cadbde5ab104a828d6ed5e82fa49145"><strong id="EN-US_TOPIC_0000001145895021__b842352706102745">Setting method</strong>: First, you can run <strong id="EN-US_TOPIC_0000001145895021__b842352706103016">show logging_module</strong> to view which module is controllable. For example, the query output result is as follows:</p>
|
||
<div class="codecoloring" codetype="Sql" id="EN-US_TOPIC_0000001145895021__s17a8924ef33246bbb21a0c3b78f018f3"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal">1</span>
|
||
<span class="normal">2</span>
|
||
<span class="normal">3</span>
|
||
<span class="normal">4</span></pre></div></td><td class="code"><div><pre><span></span><span class="k">show</span><span class="w"> </span><span class="n">logging_module</span><span class="p">;</span><span class="w"></span>
|
||
<span class="n">logging_module</span><span class="w"></span>
|
||
<span class="c1">-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ALL,on(),off(DFS,GUC,HDFS,ORC,SLRU,MEM_CTL,AUTOVAC,CACHE,ADIO,SSL,GDS,TBLSPC,WLM,OBS,EXECUTOR,VEC_EXECUTOR,STREAM,LLVM,OPT,OPT_REWRITE,OPT_JOIN,OPT_AGG,OPT_SUBPLAN,OPT_SETOP,OPT_SKEW,UDF,COOP_ANALYZE,WLMCP,ACCELERATE,PLANHINT,PARQUET,CARBONDATA,SNAPSHOT,XACT,HANDLE,CLOG,EC,REMOTE,CN_RETRY,PLSQL,TEXTSEARCH,SEQ,INSTR,COMM_IPC,COMM_PARAM)</span>
|
||
<span class="p">(</span><span class="mi">1</span><span class="w"> </span><span class="k">row</span><span class="p">)</span><span class="w"></span>
|
||
</pre></div></td></tr></table></div>
|
||
|
||
</div>
|
||
<p id="EN-US_TOPIC_0000001145895021__a380ecc4a554443e89fe8e8e7ea3dacb5">Controllable modules are identified by uppercase letters, and the special ID ALL is used for setting all module logs. You can control module logs to be exported by setting the log modules to <strong id="EN-US_TOPIC_0000001145895021__b842352706103559">on</strong> or <strong id="EN-US_TOPIC_0000001145895021__b84235270610361">off</strong>. Enable log output for SSL:</p>
|
||
<div class="codecoloring" codetype="Sql" id="EN-US_TOPIC_0000001145895021__s0c94b1aec57747a4bbaf3d12a26220ea"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal">1</span>
|
||
<span class="normal">2</span>
|
||
<span class="normal">3</span>
|
||
<span class="normal">4</span>
|
||
<span class="normal">5</span>
|
||
<span class="normal">6</span>
|
||
<span class="normal">7</span></pre></div></td><td class="code"><div><pre><span></span><span class="k">set</span><span class="w"> </span><span class="n">logging_module</span><span class="o">=</span><span class="s1">'on(SSL)'</span><span class="p">;</span><span class="w"></span>
|
||
<span class="k">SET</span><span class="w"></span>
|
||
<span class="k">show</span><span class="w"> </span><span class="n">logging_module</span><span class="p">;</span><span class="w"> </span><span class="n">logging_module</span><span class="w"> </span>
|
||
<span class="c1">------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- </span>
|
||
<span class="k">ALL</span><span class="p">,</span><span class="k">on</span><span class="p">(</span><span class="n">SSL</span><span class="p">),</span><span class="k">off</span><span class="p">(</span><span class="n">DFS</span><span class="p">,</span><span class="n">GUC</span><span class="p">,</span><span class="n">HDFS</span><span class="p">,</span><span class="n">ORC</span><span class="p">,</span><span class="n">SLRU</span><span class="p">,</span><span class="n">MEM_CTL</span><span class="p">,</span><span class="n">AUTOVAC</span><span class="p">,</span><span class="k">CACHE</span><span class="p">,</span><span class="n">ADIO</span><span class="p">,</span><span class="n">GDS</span><span class="p">,</span><span class="n">TBLSPC</span><span class="p">,</span><span class="n">WLM</span><span class="p">,</span><span class="n">OBS</span><span class="p">,</span><span class="n">EXECUTOR</span><span class="p">,</span><span class="n">VEC_EXECUTOR</span><span class="p">,</span><span class="n">STREAM</span><span class="p">,</span><span class="n">LLVM</span><span class="p">,</span><span class="n">OPT</span><span class="p">,</span><span class="n">OPT_REWRITE</span><span class="p">,</span><span class="n">OPT_JOIN</span><span class="p">,</span><span class="n">OPT_AGG</span><span class="p">,</span><span class="n">OPT_SUBPLAN</span><span class="p">,</span><span class="n">OPT_SETOP</span><span class="p">,</span><span class="n">OPT_CA</span><span class="w"></span>
|
||
<span class="n">RD</span><span class="p">,</span><span class="n">OPT_SKEW</span><span class="p">,</span><span class="n">UDF</span><span class="p">,</span><span class="n">COOP_ANALYZE</span><span class="p">,</span><span class="n">WLMCP</span><span class="p">,</span><span class="n">ACCELERATE</span><span class="p">,</span><span class="n">PLANHINT</span><span class="p">,</span><span class="n">PARQUET</span><span class="p">,</span><span class="n">CARBONDATA</span><span class="p">,</span><span class="n">SNAPSHOT</span><span class="p">,</span><span class="n">XACT</span><span class="p">,</span><span class="n">HANDLE</span><span class="p">,</span><span class="n">CLOG</span><span class="p">,</span><span class="n">TQUAL</span><span class="p">,</span><span class="n">EC</span><span class="p">,</span><span class="n">REMOTE</span><span class="p">,</span><span class="n">CN_RETRY</span><span class="p">,</span><span class="n">PLSQL</span><span class="p">,</span><span class="n">TEXTSEARCH</span><span class="p">,</span><span class="n">SEQ</span><span class="p">,</span><span class="n">INSTR</span><span class="p">,</span><span class="n">COMM_IPC</span><span class="p">,</span><span class="n">COMM_PARAM</span><span class="p">,</span><span class="n">CSTORE</span><span class="p">)</span><span class="w"></span>
|
||
<span class="p">(</span><span class="mi">1</span><span class="w"> </span><span class="k">row</span><span class="p">)</span><span class="w"></span>
|
||
</pre></div></td></tr></table></div>
|
||
|
||
</div>
|
||
<p id="EN-US_TOPIC_0000001145895021__a6c1e832210da48d99c43375b344dee7f">SSL log output is enabled.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__a111db0aae5c0485381367a50e7e99ecf">The ALL identifier is equivalent to a shortcut operation. That is, logs of all modules can be enabled or disabled. </p>
|
||
<div class="codecoloring" codetype="Sql" id="EN-US_TOPIC_0000001145895021__sa46fcab427ad49abbdceeb573463beb5"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal"> 1</span>
|
||
<span class="normal"> 2</span>
|
||
<span class="normal"> 3</span>
|
||
<span class="normal"> 4</span>
|
||
<span class="normal"> 5</span>
|
||
<span class="normal"> 6</span>
|
||
<span class="normal"> 7</span>
|
||
<span class="normal"> 8</span>
|
||
<span class="normal"> 9</span>
|
||
<span class="normal">10</span>
|
||
<span class="normal">11</span>
|
||
<span class="normal">12</span>
|
||
<span class="normal">13</span>
|
||
<span class="normal">14</span>
|
||
<span class="normal">15</span></pre></div></td><td class="code"><div><pre><span></span><span class="k">set</span><span class="w"> </span><span class="n">logging_module</span><span class="o">=</span><span class="s1">'off(ALL)'</span><span class="p">;</span><span class="w"></span>
|
||
<span class="k">SET</span><span class="w"></span>
|
||
<span class="k">show</span><span class="w"> </span><span class="n">logging_module</span><span class="p">;</span><span class="w"> </span><span class="n">logging_module</span><span class="w"> </span>
|
||
<span class="c1">-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- </span>
|
||
<span class="k">ALL</span><span class="p">,</span><span class="k">on</span><span class="p">(),</span><span class="k">off</span><span class="p">(</span><span class="n">DFS</span><span class="p">,</span><span class="n">GUC</span><span class="p">,</span><span class="n">HDFS</span><span class="p">,</span><span class="n">ORC</span><span class="p">,</span><span class="n">SLRU</span><span class="p">,</span><span class="n">MEM_CTL</span><span class="p">,</span><span class="n">AUTOVAC</span><span class="p">,</span><span class="k">CACHE</span><span class="p">,</span><span class="n">ADIO</span><span class="p">,</span><span class="n">SSL</span><span class="p">,</span><span class="n">GDS</span><span class="p">,</span><span class="n">TBLSPC</span><span class="p">,</span><span class="n">WLM</span><span class="p">,</span><span class="n">OBS</span><span class="p">,</span><span class="n">EXECUTOR</span><span class="p">,</span><span class="n">VEC_EXECUTOR</span><span class="p">,</span><span class="n">STREAM</span><span class="p">,</span><span class="n">LLVM</span><span class="p">,</span><span class="n">OPT</span><span class="p">,</span><span class="n">OPT_REWRITE</span><span class="p">,</span><span class="n">OPT_JOIN</span><span class="p">,</span><span class="n">OPT_AGG</span><span class="p">,</span><span class="n">OPT_SUBPLAN</span><span class="p">,</span><span class="n">OPT_SETOP</span><span class="p">,</span><span class="n">OPT_C</span><span class="w"></span>
|
||
<span class="n">ARD</span><span class="p">,</span><span class="n">OPT_SKEW</span><span class="p">,</span><span class="n">UDF</span><span class="p">,</span><span class="n">COOP_ANALYZE</span><span class="p">,</span><span class="n">WLMCP</span><span class="p">,</span><span class="n">ACCELERATE</span><span class="p">,</span><span class="n">PLANHINT</span><span class="p">,</span><span class="n">PARQUET</span><span class="p">,</span><span class="n">CARBONDATA</span><span class="p">,</span><span class="n">SNAPSHOT</span><span class="p">,</span><span class="n">XACT</span><span class="p">,</span><span class="n">HANDLE</span><span class="p">,</span><span class="n">CLOG</span><span class="p">,</span><span class="n">TQUAL</span><span class="p">,</span><span class="n">EC</span><span class="p">,</span><span class="n">REMOTE</span><span class="p">,</span><span class="n">CN_RETRY</span><span class="p">,</span><span class="n">PLSQL</span><span class="p">,</span><span class="n">TEXTSEARCH</span><span class="p">,</span><span class="n">SEQ</span><span class="p">,</span><span class="n">INSTR</span><span class="p">,</span><span class="n">COMM_IPC</span><span class="p">,</span><span class="n">COMM_PARAM</span><span class="p">,</span><span class="n">CSTORE</span><span class="p">)</span><span class="w"></span>
|
||
<span class="p">(</span><span class="mi">1</span><span class="w"> </span><span class="k">row</span><span class="p">)</span><span class="w"></span>
|
||
|
||
<span class="k">set</span><span class="w"> </span><span class="n">logging_module</span><span class="o">=</span><span class="s1">'on(ALL)'</span><span class="p">;</span><span class="w"></span>
|
||
<span class="k">SET</span><span class="w"></span>
|
||
<span class="k">show</span><span class="w"> </span><span class="n">logging_module</span><span class="p">;</span><span class="w"> </span><span class="n">logging_module</span><span class="w"> </span>
|
||
<span class="c1">-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- </span>
|
||
<span class="k">ALL</span><span class="p">,</span><span class="k">on</span><span class="p">(</span><span class="n">DFS</span><span class="p">,</span><span class="n">GUC</span><span class="p">,</span><span class="n">HDFS</span><span class="p">,</span><span class="n">ORC</span><span class="p">,</span><span class="n">SLRU</span><span class="p">,</span><span class="n">MEM_CTL</span><span class="p">,</span><span class="n">AUTOVAC</span><span class="p">,</span><span class="k">CACHE</span><span class="p">,</span><span class="n">ADIO</span><span class="p">,</span><span class="n">SSL</span><span class="p">,</span><span class="n">GDS</span><span class="p">,</span><span class="n">TBLSPC</span><span class="p">,</span><span class="n">WLM</span><span class="p">,</span><span class="n">OBS</span><span class="p">,</span><span class="n">EXECUTOR</span><span class="p">,</span><span class="n">VEC_EXECUTOR</span><span class="p">,</span><span class="n">STREAM</span><span class="p">,</span><span class="n">LLVM</span><span class="p">,</span><span class="n">OPT</span><span class="p">,</span><span class="n">OPT_REWRITE</span><span class="p">,</span><span class="n">OPT_JOIN</span><span class="p">,</span><span class="n">OPT_AGG</span><span class="p">,</span><span class="n">OPT_SUBPLAN</span><span class="p">,</span><span class="n">OPT_SETOP</span><span class="p">,</span><span class="n">OPT_CARD</span><span class="p">,</span><span class="n">OP</span><span class="w"></span>
|
||
<span class="n">T_SKEW</span><span class="p">,</span><span class="n">UDF</span><span class="p">,</span><span class="n">COOP_ANALYZE</span><span class="p">,</span><span class="n">WLMCP</span><span class="p">,</span><span class="n">ACCELERATE</span><span class="p">,</span><span class="n">PLANHINT</span><span class="p">,</span><span class="n">PARQUET</span><span class="p">,</span><span class="n">CARBONDATA</span><span class="p">,</span><span class="n">SNAPSHOT</span><span class="p">,</span><span class="n">XACT</span><span class="p">,</span><span class="n">HANDLE</span><span class="p">,</span><span class="n">CLOG</span><span class="p">,</span><span class="n">TQUAL</span><span class="p">,</span><span class="n">EC</span><span class="p">,</span><span class="n">REMOTE</span><span class="p">,</span><span class="n">CN_RETRY</span><span class="p">,</span><span class="n">PLSQL</span><span class="p">,</span><span class="n">TEXTSEARCH</span><span class="p">,</span><span class="n">SEQ</span><span class="p">,</span><span class="n">INSTR</span><span class="p">,</span><span class="n">COMM_IPC</span><span class="p">,</span><span class="n">COMM_PARAM</span><span class="p">,</span><span class="n">CSTORE</span><span class="p">),</span><span class="k">off</span><span class="p">()</span><span class="w"></span>
|
||
<span class="p">(</span><span class="mi">1</span><span class="w"> </span><span class="k">row</span><span class="p">)</span><span class="w"></span>
|
||
</pre></div></td></tr></table></div>
|
||
|
||
</div>
|
||
<p id="EN-US_TOPIC_0000001145895021__a9e32975601864b47b161fa35d9eb634e"><strong id="EN-US_TOPIC_0000001145895021__b2342163173713">Dependency relationship</strong>: The value of this parameter depends on the settings of <a href="dws_04_0915.html#EN-US_TOPIC_0000001098655026__s1ffb0797361d413d875381200fed970b">log_min_messages</a>.</p>
|
||
</div>
|
||
<div class="section" id="EN-US_TOPIC_0000001145895021__section843517526358"><h4 class="sectiontitle">enable_unshipping_log</h4><p id="EN-US_TOPIC_0000001145895021__p1043525273520"><strong id="EN-US_TOPIC_0000001145895021__b941668363">Parameter description</strong>: Specifies whether to log statements that are not pushed down. The logs help locate performance issues that may be caused by statements not pushed down.</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p2011353582716"><strong id="EN-US_TOPIC_0000001145895021__b179555426214">Type</strong>: SUSET</p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p141570567378"><strong id="EN-US_TOPIC_0000001145895021__b5950165515171">Value range</strong>: Boolean</p>
|
||
<ul id="EN-US_TOPIC_0000001145895021__ul1115710563378"><li id="EN-US_TOPIC_0000001145895021__li13157155663711"><strong id="EN-US_TOPIC_0000001145895021__b11560256161318">on</strong>: Statements not pushed down will be logged.</li><li id="EN-US_TOPIC_0000001145895021__li51571256123711"><strong id="EN-US_TOPIC_0000001145895021__b64907001812">off</strong>: Statements not pushed down will not be logged.</li></ul>
|
||
<p id="EN-US_TOPIC_0000001145895021__p41573567373"><strong id="EN-US_TOPIC_0000001145895021__b14739191161814">Default value</strong>: <strong id="EN-US_TOPIC_0000001145895021__b16740201181816">on</strong></p>
|
||
<p id="EN-US_TOPIC_0000001145895021__p243665243515"></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>
|
||
|