doc-exports/docs/dws/dev/dws_04_0705.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
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>
2024-05-16 07:24:04 +00:00

371 lines
38 KiB
HTML

<a name="EN-US_TOPIC_0000001233883311"></a><a name="EN-US_TOPIC_0000001233883311"></a>
<h1 class="topictitle1">GS_WLM_SESSION_HISTORY</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001233883311__ad3f680f8bccf48828a7e1dcb377e6833"><strong id="EN-US_TOPIC_0000001233883311__en-us_topic_0058965665_b842352706152719">GS_WLM_SESSION_HISTORY</strong> displays load management information about a completed job executed by the current user on the current CN. The view is used by Database Manager to query data from <span id="EN-US_TOPIC_0000001233883311__text1123370544">GaussDB(DWS)</span>. The view returns the data queried from the <strong id="EN-US_TOPIC_0000001233883311__b1019294815519">GS_WLM_SESSION_INFO</strong> table within three minutes only when the GUC parameter <span id="EN-US_TOPIC_0000001233883311__ph3949153442811">enable_resource_track</span> is set to <strong id="EN-US_TOPIC_0000001233883311__b35375356526">on</strong>.</p>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001233883311__tb435fec1dc744bb3872aab277c2a87d8"></a><a name="tb435fec1dc744bb3872aab277c2a87d8"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233883311__tb435fec1dc744bb3872aab277c2a87d8" frame="border" border="1" rules="all"><caption><b>Table 1 </b>GS_WLM_SESSION_HISTORY columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233883311__rb2618a6ee2cf42fd84594f99dc5163a6"><th align="left" class="cellrowborder" valign="top" width="21.782178217821784%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233883311__af6d6f889d09c4bbc83f5cdc4ca2e446d">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.81188118811881%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001233883311__a520753062fd84b56b345fd11568a4c23">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="59.4059405940594%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001233883311__aa4223d4b95904277a4d79610e87bff01">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233883311__reaa7a104dfb64224bff9ca8a8579dba6"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p6601473915">datid</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p36013463914">oid</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p16084113913">OID of the database this backend is connected to</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rcbbfc990548d4acaa1d92694b91531ed"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p12609418397">dbname</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p3606417399">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__a841134a52c9b4bed993cacbdff41698b">Name of the database the backend is connected to</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rd1a60adc086640d4857982d31e58ddba"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p560348390">schemaname</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p10605483915">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p6601744397">Schema name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rd7bdcb22f203411a92bc8fee1f2d0a42"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p17602418392">nodename</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__a09c81250f5fd4a3092f01c10d3377bea">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p146015473916">Name of the CN where the statement is run</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rb7e8f9eb34894c6fb8a868c2d76d5570"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p15601141394">username</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p156034123911">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p1860649397">User name used for connecting to the backend</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r3284e82f83634f69a8718863c0e6fba7"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p26019419397">application_name</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p15601246399">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p7626415391">Name of the application that is connected to the backend</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r0065434869f444a4b98601015df17b99"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p116216453913">client_addr</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p166219413396">inet</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p11628410399">IP address of the client connected to this backend. If this column is null, it indicates either that the client is connected via a Unix socket on the server machine or that this is an internal process such as autovacuum.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__ra44f7df21745490095de793a0004ff04"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__a222709e1834a465783cc443c6c2ef0d5">client_hostname</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p562174113919">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p262643393">Host name of the connected client, as reported by a reverse DNS lookup of <strong id="EN-US_TOPIC_0000001233883311__b842352706142331">client_addr</strong>. This column will only be non-null for IP connections, and only when <strong id="EN-US_TOPIC_0000001233883311__b842352706142349">log_hostname</strong> is enabled.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r323c029b2261487a95670406e600c27c"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p146254113911">client_port</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__ac2f69fd2f8d34dc49e3a5d5a3599fc7f">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p86216411395">TCP port number that the client uses for communication with this backend, or <strong id="EN-US_TOPIC_0000001233883311__b842352706203112">-1</strong> if a Unix socket is used</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rb968d81f744d4f37b9d24cae91fbf5bd"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p9621544396">query_band</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p136210419393">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p106213410394">Job type, which is specified by the <strong id="EN-US_TOPIC_0000001233883311__b75014019497">query_band </strong>parameter. The default value is a null string.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r5bcf99ffc6c04f2ea6717c277ed94019"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p116218463915">block_time</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__a4c028966a7ed41c7ad9d8ceffd9e8fc7">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__p1562813408418">Duration that a statement is blocked before being executed, including the statement parsing and optimization duration. The unit is ms.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r70ac9b75f9774aef9ed63a6eb0f61044"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p4621749395">start_time</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__a14945b86c07a4f46b794d2011157ce1e">timestamp with time zone</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p10629483918">Time when the statement starts to be run</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rabc8aa9fcf0c47f6ade0c54e127bab3b"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p19628493917">finish_time</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p183487172297">timestamp with time zone</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__a2ca725dd9a1544789401c7e484439d2e">Time when the statement execution ends</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r084f783f2ca74a1ea13a8e94ac07fe90"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p2629433911">duration</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p162104133913">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__a215ec1233c40438684e8ab75d9d44928">Execution time of a statement. The unit is ms.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rc237d7cb3a724494b31f647ebb4f4bf9"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p11621417398">estimate_total_time</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p15629416394">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p762147398">Estimated execution time of a statement. The unit is ms.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rf6096d1af07647aaa2309223a955aa17"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p46211417392">status</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p11620412392">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p13627420397">Final statement execution status. Its value can be <strong id="EN-US_TOPIC_0000001233883311__b13715635112">finished</strong> (normal) or <strong id="EN-US_TOPIC_0000001233883311__b1432412219511">aborted</strong> (abnormal). The statement status here is the execution status of the database server. If the statement is successfully executed on the database server but an error is reported in the result set, the statement status is <strong id="EN-US_TOPIC_0000001233883311__b1456452144718">finished</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rb312d31f86fc461787bf9ff4efc349c5"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p106214410393">abort_info</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p146218415395">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__ada6a47c65a5048668dbe8c942bc30695">Exception information displayed if the final statement execution status is <strong id="EN-US_TOPIC_0000001233883311__b1865691635210">aborted</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__re8d3f1f411a04507bc23b31620dbd3b6"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p5629433913">resource_pool</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p106219420393">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p146210416394">Resource pool used by the user</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r73066883ab8b4e3e8f1a152ba1abe8b2"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p96414417397">control_group</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p106415413910">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p206412414397">Cgroup used by the statement</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__row282193014556"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__p1361044194819">estimate_memory</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__p1437124414481">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__p2038719505436">Estimated memory used by the statement (unit: MB). </p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r0d6fb787f6674b408e0badf43c1226c7"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p126417433914">min_peak_memory</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p96412416392">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p164114133911">Minimum memory peak of a statement across all DNs. The unit is MB.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r68a063ef9c214a45b8266216e0a7475a"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__a728169751e124ded92265dfeda5d92b6">max_peak_memory</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p156413433912">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p7641443915">Maximum memory peak of a statement across all DNs. The unit is MB.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r62faa99f3b3f43e6a9e0829204cbba70"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p18641942392">average_peak_memory</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p8646433911">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p15644433913">Average memory usage during statement execution. The unit is MB.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r0bf75f6e9a33458da012011250348f92"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p56418413398">memory_skew_percent</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p186418411391">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p6641641390">Memory usage skew of a statement among DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rfdb34afd6d4a4bdf935c14295cad55ba"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p146412415396">spill_info</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p4645493920">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p166414433910">Statement spill information on all DNs.</p>
<p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p6641547398"><strong id="EN-US_TOPIC_0000001233883311__b842352706145131">None</strong> indicates that the statement has not been flushed to disks on any DNs.</p>
<p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p864246393"><strong id="EN-US_TOPIC_0000001233883311__b84235270614533">All</strong> indicates that the statement has been flushed to disks on every DN.</p>
<p id="EN-US_TOPIC_0000001233883311__a2ba4575d96b34f15895c5b5f3d0a980e"><strong id="EN-US_TOPIC_0000001233883311__b842352706145438">[</strong><em id="EN-US_TOPIC_0000001233883311__i842352697145434">a</em><strong id="EN-US_TOPIC_0000001233883311__b842352706145437">:</strong><em id="EN-US_TOPIC_0000001233883311__i842352697145432">b</em><strong id="EN-US_TOPIC_0000001233883311__b842352706145441">]</strong> indicates that the statement has been flushed to disks on <em id="EN-US_TOPIC_0000001233883311__i842352697145515">a</em> of <em id="EN-US_TOPIC_0000001233883311__i84235269714557">b</em> DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r63dc662b269642b3a164258864b25cd0"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p06415419392">min_spill_size</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__a764ff2daa3ab4e428f6a1ca1e9a76382">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0111176227_p752071475115">Minimum spilled data among all DNs when a spill occurs. The unit is MB. The default value is <strong id="EN-US_TOPIC_0000001233883311__b16171947134618">0</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r0ff56835dfb046d58c3d9cab01d3081f"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p1564541398">max_spill_size</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p126412443912">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__a116d664db7be4affa6dbf8ca1d6273d8">Maximum spilled data among all DNs when a spill occurs. The unit is MB. The default value is <strong id="EN-US_TOPIC_0000001233883311__b1832314486463">0</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r3777ba9bee924450be5469db898a735c"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p15641413399">average_spill_size</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p20641949398">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__a942f96de512e43a98957ff5ed9f9aa56">Average spilled data among all DNs when a spill occurs. The unit is MB. The default value is <strong id="EN-US_TOPIC_0000001233883311__b5269134954616">0</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r822cbcb62709400c82bdf0d306ec3a98"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__af7e3b173281943a086cac4ecf71f6f3e">spill_skew_percent</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p9648493918">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p56411418394">DN spill skew when a spill occurs</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r1ccfad5fdaca4928b344dd4c5c22d641"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p186694153912">min_dn_time</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p86684103910">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p96612433918">Minimum execution time of a statement across all DNs. The unit is ms.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rd3dcbb8a01ee4cac896822ffb18bbce3"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p16661443392">max_dn_time</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p366114193918">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p166610410391">Maximum execution time of a statement across all DNs. The unit is ms.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r6ca4e508f471477c8fc62464c08068ed"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p146612412392">average_dn_time</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p1766949395">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p766114173911">Average execution time of a statement across all DNs. The unit is ms.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rae50e5c0171948d2ab9932c8a1fc4199"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p186619414398">dntime_skew_percent</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p166616433915">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p15661641394">Execution time skew of a statement among DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rba6a34e1e96046ce993f1080697e22ec"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p76618419395">min_cpu_time</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p5666403919">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p196694133917">Minimum CPU time of a statement across all DNs. The unit is ms.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rf7db7288aa6a40f4b85623503b1c7a85"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p20661413399">max_cpu_time</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p96644143916">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p13661948399">Maximum CPU time of a statement across all DNs. The unit is ms.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rfe83fa4b7a3a424abd29290ad012d8dc"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p176613483914">total_cpu_time</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p66624193917">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p9660419393">Total CPU time of a statement across all DNs. The unit is ms.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__rc70ae70bd269448b8ada6cda9e9e8dba"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p17661453919">cpu_skew_percent</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p2667415395">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p8668413919">CPU time skew of a statement among DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__row19498105011260"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__p1880915202270">min_peak_iops</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__p1480919206276">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__p1380982018278">Minimum I/O peak of a statement on all DNs (times/s in column-store tables and 10,000 times/s in row-store tables). This function is not enabled in cluster version 8.1.3. Therefore, you are not advised to refer to this field to analyze memory problems.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__row19149101072913"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__p1912116233291">max_peak_iops</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__p9121123172913">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__p191238239292">Maximum I/O peak of a statement on all DNs (times/s in column-store tables and 10,000 times/s in row-store tables). This function is not enabled in cluster version 8.1.3. Therefore, you are not advised to refer to this field to analyze memory problems.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__row4897202782912"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__p36526352291">average_peak_iops</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__p13652103519299">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__p1652113517293">Average I/O peak of a statement on all DNs (times/s in column-store tables and 10,000 times/s in row-store tables). This function is not enabled in cluster version 8.1.3. Therefore, you are not advised to refer to this field to analyze memory problems.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__row15463154013294"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__p1557874882911">iops_skew_percent</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__p1757874892918">integer</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__p16578184872911">I/O skew of a statement among DNs. This function is not enabled in the 8.1.3 cluster. You are not advised to refer to this field to analyze memory problems.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r3e6892426cd6445d91a26149a28a0885"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__a6640c196bc5345cebbf50314f7c48bb0">warning</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p76724153911">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__a5d902eea534241cc88530e6d82df1f08">Warning. The following warnings and warnings related to SQL self-diagnosis tuning are displayed:</p>
<ol id="EN-US_TOPIC_0000001233883311__ol4915858122411"><li id="EN-US_TOPIC_0000001233883311__li19153584249">Spill file size large than 256MB</li><li id="EN-US_TOPIC_0000001233883311__li16915158102413">Broadcast size large than 100MB</li><li id="EN-US_TOPIC_0000001233883311__li159151458102417">Early spill</li><li id="EN-US_TOPIC_0000001233883311__li20915125862416">Spill times is greater than 3</li><li id="EN-US_TOPIC_0000001233883311__li11915115813249">Spill on memory adaptive</li><li id="EN-US_TOPIC_0000001233883311__li109151758112418">Hash table conflict</li></ol>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__re56ed437bf3d4d4c8735a6cb76fe416c"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p46720416397">queryid</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p8674453918">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p5671843393">Internal query ID used for statement execution</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_row0152846395"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p1667749393">query</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p367545392">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p867114173913">Statement executed</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__r80d2fd3a25b049e5ac166506e69a40ab"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p1767841391">query_plan</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p3671242399">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__en-us_topic_0112535431_p196818412396">Execution plan of a statement</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__row115501321134518"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__p20550152119453">node_group</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__p2550122184511">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__p4550152115450">Logical cluster of the user running the statement</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__row6337349111514"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__p93381149181515">pid</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__p183381649191511">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__p233824971514">PID of the backend thread of the statement</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__row22579569155"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__p152571565159">lane</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__p62576562151">text</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__p5257125611516">Fast/Slow lane where the statement is executed</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883311__row1439104018146"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883311__p10439840141415">unique_sql_id</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883311__p11439114018149">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="59.4059405940594%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883311__p244014021413">ID of the normalized unique SQL.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0639.html">System Views</a></div>
</div>
</div>