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>
87 lines
7.0 KiB
HTML
87 lines
7.0 KiB
HTML
<a name="EN-US_TOPIC_0000001099134908"></a><a name="EN-US_TOPIC_0000001099134908"></a>
|
|
|
|
<h1 class="topictitle1">GS_SESSION_CPU_STATISTICS</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001099134908__aaa79692b4cb749f892f1fb59104eafe9"><strong id="EN-US_TOPIC_0000001099134908__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_0000001099134908__t62199aecefb5433591800e03cd554d46" 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_0000001099134908__r96ea71997e054d338a0411ba8d1de2bb"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001099134908__a1a8fbf168df349a2ae9fbf0a4d9dc6c6"><strong id="EN-US_TOPIC_0000001099134908__b84235270691445">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001099134908__a641904bad5bc4554996c75f671e511cf">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001099134908__ab02f5b489a694c8882333922fe66b77e">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001099134908__r5b21d7c7fc1e49a6a3c63af27c780440"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134908__a863e490b039342188768d60d1eee3ba5">datid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134908__a7bf4d70a7cd54740a387cc72df62e60f">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134908__a07300dc6310e431a84d8ad1dbcf327ad">OID of the database this backend is connected to</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001099134908__r7a2e4756c22841b8872b5a1e6309f9c8"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134908__abb89357b2b5d4669b28665c933254078">usename</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134908__a0dc08b6b89674b0988a2c29a8e65333f">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134908__a9a9d4c240623427fa9344ab517f4dc93">Name of the user logging in to the backend</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001099134908__rbf30cae4dcb54c93a6dd1728a44bfe3a"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134908__a07c2479fe4914760bec57f735b1f8c45">pid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134908__adfc5351bb5da4d8f9a8a5895356b99f7">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134908__a0ed62667b1424af3b93c95cafc4c6ae2">ID of a backend process</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001099134908__r58dd91d73a8d4a1aa65701ce14c9d03c"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134908__a53903dd75ee04f9bb3baafe785947881">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134908__acc53cf9622dd4fd8921d9bc9ab89b1c9">timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134908__a1c18577d9a0749fc861a0a89251d294d">Time when the statement starts to be executed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001099134908__r78e650f3e64f42229f7d81bf2a91fe41"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134908__aa02e3e7f8d6f488185628eb65144b940">min_cpu_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134908__a424236775492496fb5a77184eb4a81f1">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134908__abd96ee1b5d5042378aa4612f4daedb0b">Minimum CPU time of the statement across all DNs. The unit is ms.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001099134908__r5eb81b48342647c1bde5e7742493b14c"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134908__a63cabd20b47f49a68c9cea20f89c2e64">max_cpu_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134908__a7f6a99466949412d9215d2b138763750">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134908__a8943dc42a2b740c4b74634698ca8336a">Maximum CPU time of the statement across all DNs. The unit is ms.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001099134908__r5c347288561740e9b866bbf9e992f8a2"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134908__a5f6755d2ad294607bf759cdf79a59aee">total_cpu_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134908__a4c6b557e05884684ab9bc5e4fb9cebde">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134908__a6d893d7543134e27a5bae519e29a82d6">Total CPU time of the statement across all DNs. The unit is ms.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001099134908__r5be90f13a6ae489aa1b6a49d52bab2ab"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134908__a1663ca7e94a844639b14c43c4872e5ce">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134908__a28f98cc59f2b412483e499bb5d24b42a">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134908__ad5700c39983544f186b17fba60ef0b14">Statement that is being executed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001099134908__row4739252163715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134908__p1873905216375">node_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134908__p173905219371">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134908__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>
|
|
|