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>
149 lines
14 KiB
HTML
149 lines
14 KiB
HTML
<a name="EN-US_TOPIC_0000001145494941"></a><a name="EN-US_TOPIC_0000001145494941"></a>
|
|
|
|
<h1 class="topictitle1">PG_TOTAL_USER_RESOURCE_INFO</h1>
|
|
<div id="body1545358353028"><p id="EN-US_TOPIC_0000001145494941__p8060118"><strong id="EN-US_TOPIC_0000001145494941__b1762906132617">PG_TOTAL_USER_RESOURCE_INFO</strong> displays the resource usage of all users. Only administrators can query this view. This view is valid only if use_workload_manager is set to <strong id="EN-US_TOPIC_0000001145494941__b921311366572">on</strong>. </p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001145494941__t95ae1da4e5134a57beb511cde32be320" frame="border" border="1" rules="all"><caption><b>Table 1 </b><strong id="EN-US_TOPIC_0000001145494941__b423793114559">PG_TOTAL_USER_RESOURCE_INFO</strong> columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001145494941__rc9087219835147ea942ebfe0cd821a77"><th align="left" class="cellrowborder" valign="top" width="20.64%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001145494941__ad43c1679bbef459dbfa097f861b361e0">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.810000000000002%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001145494941__ad8315d8f20fb4f8cb857c2ea92bc00ab">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="58.550000000000004%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001145494941__a32785708bd7c49a0b6569a74edcfab95">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001145494941__r39c3fec6d15c4222829027569830ebea"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p10103102071217">username</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p04241417123">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p639181441214">Username</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__rc16f19daf1c949f2ba6aefc584cfd3aa"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p1110652110121">used_memory</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p193412140122">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p1230151411213">Used memory (unit: MB)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__rc19fd6cc7c634ecfb63a20bf96d2ee16"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p1275719218122">total_memory</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p226191461218">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p62251431218">Available memory (unit: MB). <strong id="EN-US_TOPIC_0000001145494941__b79824436283">0</strong> indicates that the available memory is not limited and depends on the maximum memory available in the database.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row0970538191711"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p9971538191717">used_cpu</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p797217389175">double precision</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p397263812176">Number of CPU cores in use. Only the CPU usage of complex jobs in the non-default resource pool is collected, and the value is the CPU usage of the related cgroup.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row64614276180"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p12894125171811">total_cpu</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p10894225181817">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p188951125151817">Total number of CPU cores of the cgroup associated with a user on the node</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row10451327201810"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p1689592518180">used_space</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p12895425161810">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p489502517187">Used permanent table storage space (unit: KB)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row134412731818"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p1089592520188">total_space</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p14895192581819">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p13895112513181">Available storage space (unit: KB). <strong id="EN-US_TOPIC_0000001145494941__b190586163019">-1</strong> indicates that the storage space is not limited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row1221153651019"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p1122123661011">used_temp_space</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p7222183681018">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p3222103616102">Used temporary table storage space (unit: KB)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row36971246151013"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p76971146151017">total_temp_space</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p8698194610108">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p1269824641011">Available temporary table storage space (unit: KB). <strong id="EN-US_TOPIC_0000001145494941__b885631348">-1</strong> indicates that the storage space is not limited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row17917552151015"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p199181152111020">used_spill_space</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p8918185210105">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p13918185217106">Size of the used operator flushing space, in KB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row1265235801014"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p1653115816103">total_spill_space</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p1065305881013">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p465325817104">Size of the available operator flushing space, in KB. The value <strong id="EN-US_TOPIC_0000001145494941__b482018157454">-1</strong> indicates that the operator flushing space is not limited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row738820015471"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p8388308478">read_kbytes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p638811016471">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p8277857114811">CN: total number of bytes read by a user's complex jobs on all DNs in the last 5 seconds. The unit is KB.</p>
|
|
<p id="EN-US_TOPIC_0000001145494941__p1427717571481">DN: total number of bytes read by a user's complex jobs from the instance startup time to the current time. The unit is KB.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row116144300479"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p156151330184710">write_kbytes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p1161513074715">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p19381315114918">CN: total number of bytes written by a user's complex jobs on all DNs in the last 5 seconds. The unit is KB.</p>
|
|
<p id="EN-US_TOPIC_0000001145494941__p13811215134915">DN: total number of bytes written by a user's complex jobs from the instance startup time to the current time. The unit is KB.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row148861925174720"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p1188642564712">read_counts</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p08861525174711">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p19829123518498">CN: total number of read times of a user's complex jobs on all DNs in the last 5 seconds. Unit: count.</p>
|
|
<p id="EN-US_TOPIC_0000001145494941__p082910356494">DN: total number of read times of a user's complex jobs from the instance startup time to the current time. Unit: count.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row111804224475"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p111801422114718">write_counts</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p11180322104720">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p17947104213491">CN: total number of write times of a user's complex jobs on all DNs in the last 5 seconds. Unit: count.</p>
|
|
<p id="EN-US_TOPIC_0000001145494941__p394714214917">DN: total number of write times of a user's complex jobs from the instance startup time to the current time. Unit: count.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row132164476460"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p1216147144613">read_speed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p021614714615">double precision</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p8976164744917">CN: average read rate of a user's complex jobs on a single DN in the last 5 seconds. (Unit: KB/s)</p>
|
|
<p id="EN-US_TOPIC_0000001145494941__p1697611471499">DN: indicates the average read rate of a user's complex jobs on a single DN in the last 5 seconds. (Unit: KB/s)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494941__row208103358460"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494941__p12810113554613">write_speed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494941__p158106353462">double precision</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.550000000000004%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494941__p17249157134919">CN: average write rate of a user's complex jobs on a single DN in the last 5 seconds. (Unit: KB/s)</p>
|
|
<p id="EN-US_TOPIC_0000001145494941__p82491257104910">DN: average write rate of a user's complex jobs on a single DN in the last 5 seconds. (Unit: KB/s)</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>
|
|
|