forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
87 lines
7.1 KiB
HTML
87 lines
7.1 KiB
HTML
<a name="EN-US_TOPIC_0000001233761749"></a><a name="EN-US_TOPIC_0000001233761749"></a>
|
|
|
|
<h1 class="topictitle1">GS_SESSION_CPU_STATISTICS</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001233761749__abd4db5c7cbf445c4b4c365b5338fdae4"><strong id="EN-US_TOPIC_0000001233761749__b842352706164353">GS_SESSION_CPU_STATISTICS</strong> displays load management information about CPU usage of ongoing complex jobs executed by the current user.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233761749__t040035450d4b45e184c38e8adde2f196" frame="border" border="1" rules="all"><caption><b>Table 1 </b>GS_SESSION_CPU_STATISTICS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233761749__r82f1e9e6ba8a432fa0505ca1baae5bf4"><th align="left" class="cellrowborder" valign="top" width="21.81%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233761749__ad0171ec93e304971b233fbb24c8c9ca2"><strong id="EN-US_TOPIC_0000001233761749__b84235270691445">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.05%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001233761749__ac3db39da9f5e4d2b9ac752c962df9bab">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.14%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001233761749__a66dd18c864c54a9ea594b9565b475aec">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001233761749__re0280d50fc3042c486c4c8c879863717"><td class="cellrowborder" valign="top" width="21.81%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761749__a0bee2dccc7064ea8bba25b4aaf9af17b">datid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761749__ac45000d84a3344a7ade67a2f4ce448e2">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761749__a81e32f98e3794454b775ff7b27089480">OID of the database this backend is connected to</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761749__rc5c6e84192e340e8a4ec24977eb442c0"><td class="cellrowborder" valign="top" width="21.81%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761749__a68d7811951ca44ddb4c6e7b3276ddbb2">usename</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761749__a5bffec3c674740349fbc130c3e204c11">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761749__af80a26b9933e437e9b1c93b11ceecdda">Name of the user logging in to the backend</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761749__rf45f33f15d924ef58db549cb570c3e44"><td class="cellrowborder" valign="top" width="21.81%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761749__afe8a4c4ca133465baaedab91f10d0280">pid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761749__a5e907296a17843e9894df3d5b06d7503">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761749__a989536f87161429793c7371c6cb902b1">ID of a backend process</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761749__r3832b3d187c84b9dbdc3d7fcaaddaf1f"><td class="cellrowborder" valign="top" width="21.81%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761749__a42d7c7b9c772466295ba7dedd0f8d031">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761749__ae22502e9cdc54b069148c0c805a97990">timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761749__aa00e913109f940a0abfbfa62dabb6e8c">Time when the statement starts to be executed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761749__r780ecffa22eb41b19e125c368a2f51c1"><td class="cellrowborder" valign="top" width="21.81%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761749__a6bee24b616d947058585754f5f9ef2a6">min_cpu_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761749__a3842d1b201f94644b7f8484093b5d5a5">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761749__ab012665d0b5542ac937648bd29a3903d">Minimum CPU time of the statement across all DNs. The unit is ms.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761749__r75359e8d07604d4fade4809aab36544b"><td class="cellrowborder" valign="top" width="21.81%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761749__a5f3df740f71443d39ad29927602f4c45">max_cpu_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761749__af95a19c16255428f8b7a03207835f110">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761749__acec58ad0ba8e4f9b93802d061a69c9ac">Maximum CPU time of the statement across all DNs. The unit is ms.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761749__re1da734b0920470aa829c742882d62a4"><td class="cellrowborder" valign="top" width="21.81%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761749__a8f9ec0992b634360a1acf345b55b3c54">total_cpu_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761749__a43a5c6ceec0e41a896cec8a5e809ab16">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761749__a999bf39acbb14318ae2f5a5dc6b037b2">Total CPU time of the statement across all DNs. The unit is ms.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761749__r9c1229f0f39f4982a0d6939b17284519"><td class="cellrowborder" valign="top" width="21.81%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761749__a9baea2bf948243dcad26f3e365f5d8ef">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761749__a37b0917d611d43dba0926f7727ea7f4b">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761749__a78efa6460da6415fbdcc87967e9ec108">Statement that is being executed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761749__row4739252163715"><td class="cellrowborder" valign="top" width="21.81%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761749__p1873905216375">node_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761749__p173905219371">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761749__p3739175203712">Logical cluster of the user running the statement</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>
|
|
|