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>
168 lines
16 KiB
HTML
168 lines
16 KiB
HTML
<a name="EN-US_TOPIC_0000001510522657"></a><a name="EN-US_TOPIC_0000001510522657"></a>
|
|
|
|
<h1 class="topictitle1">PG_TOTAL_USER_RESOURCE_INFO</h1>
|
|
<div id="body1545358353028"><p id="EN-US_TOPIC_0000001510522657__p8060118"><strong id="EN-US_TOPIC_0000001510522657__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_0000001510522657__b921311366572">on</strong>. </p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001510522657__t95ae1da4e5134a57beb511cde32be320" frame="border" border="1" rules="all"><caption><b>Table 1 </b><strong id="EN-US_TOPIC_0000001510522657__b423793114559">PG_TOTAL_USER_RESOURCE_INFO</strong> columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001510522657__rc9087219835147ea942ebfe0cd821a77"><th align="left" class="cellrowborder" valign="top" width="20.64%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__a32785708bd7c49a0b6569a74edcfab95">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001510522657__r39c3fec6d15c4222829027569830ebea"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p639181441214">Username</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__rc16f19daf1c949f2ba6aefc584cfd3aa"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p201911746142310">Memory used by a user, in MB.</p>
|
|
<ul id="EN-US_TOPIC_0000001510522657__ul1219164617239"><li id="EN-US_TOPIC_0000001510522657__li1519134672314">On a DN, it indicates the memory used by users on the current DN.</li><li id="EN-US_TOPIC_0000001510522657__li1819184632318">On a CN, it indicates the total memory used by users on all DNs.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__rc19fd6cc7c634ecfb63a20bf96d2ee16"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p10418114553919">Memory used by the resource pool, in MB. <strong id="EN-US_TOPIC_0000001510522657__b128340971110401">0</strong> indicates that the maximum available memory is not limited and depends on the maximum available memory of the database (<strong id="EN-US_TOPIC_0000001510522657__b60769976910401">max_dynamic_memory</strong>). The calculation formula is as follows:</p>
|
|
<p id="EN-US_TOPIC_0000001510522657__p1497516386356">total_memory = max_dynamic_memory * parent_percent * user_percent</p>
|
|
<p id="EN-US_TOPIC_0000001510522657__p1010411298271">On a CN, it indicates the total maximum available memory on all DNs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row0970538191711"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__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_0000001510522657__row64614276180"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p188951125151817">Total number of CPU cores of the Cgroup associated with a user on the node</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row10451327201810"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p489502517187">Used permanent table storage space (unit: KB)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row134412731818"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p13895112513181">Available storage space (unit: KB). <strong id="EN-US_TOPIC_0000001510522657__b190586163019">-1</strong> indicates that the storage space is not limited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row1221153651019"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p3222103616102">Used temporary table storage space (unit: KB)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row36971246151013"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p1269824641011">Available temporary table storage space (unit: KB). <strong id="EN-US_TOPIC_0000001510522657__b1690893882">-1</strong> indicates that the storage space is not limited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row17917552151015"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p13918185217106">Size of the used operator flushing space, in KB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row1265235801014"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p465325817104">Size of the available operator flushing space, in KB. The value <strong id="EN-US_TOPIC_0000001510522657__b482018157454">-1</strong> indicates that the operator flushing space is not limited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row738820015471"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p8277857114811">On a CN, it indicates the total number of bytes logically read by a user on all DNs in the last 5 seconds, in KB.</p>
|
|
<p id="EN-US_TOPIC_0000001510522657__p1427717571481">On a DN, it indicates the total number of bytes logically read by a user from the instance startup time to the current time, in KB.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row116144300479"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p19381315114918">On a CN, it indicates the total number of bytes logically written by a user on all DNs in the last 5 seconds, in KB.</p>
|
|
<p id="EN-US_TOPIC_0000001510522657__p13811215134915">On a DN, it indicates the total number of bytes logically written by a user from the instance startup time to the current time, in KB.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row148861925174720"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p19829123518498">On a CN, it indicates the total number of logical reads performed by a user on all DNs in the last 5 seconds.</p>
|
|
<p id="EN-US_TOPIC_0000001510522657__p082910356494">On a DN, it indicates the total number of logical reads performed by a user from the instance startup time to the current time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row111804224475"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p17947104213491">On a CN, it indicates the total number of logical writes performed by a user on all DNs in the last 5 seconds.</p>
|
|
<p id="EN-US_TOPIC_0000001510522657__p394714214917">On a DN, it indicates the total number of logical writes performed by a user from the instance startup time to the current time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row132164476460"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p8976164744917">On a CN, it indicates the sum of average logical read rates of a user on all DNs in the last 5 seconds, in KB/s.</p>
|
|
<p id="EN-US_TOPIC_0000001510522657__p1697611471499">On a DN, it indicates the average logical read rate of a user on the DN in the last 5 seconds, in KB/s.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row208103358460"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__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_0000001510522657__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_0000001510522657__p17249157134919">On a CN, it indicates the sum of average logical write rates of a user on all DNs in the last 5 seconds, in KB/s.</p>
|
|
<p id="EN-US_TOPIC_0000001510522657__p82491257104910">On a DN, it indicates the average logical write rate of a user on the DN in the last 5 seconds, in KB/s.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row123391646134917"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__p113395464491">send_speed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001510522657__p4339154619490">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_0000001510522657__p171941571503">On a CN, it indicates the sum of the average network sending rates of a user on all DNs in the last 5 seconds, in KB/s.</p>
|
|
<p id="EN-US_TOPIC_0000001510522657__p1119411719504">On a DN, it indicates the average network sending rate of a user on the DN in the last 5 seconds, in KB/s.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510522657__row1548515554910"><td class="cellrowborder" valign="top" width="20.64%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510522657__p548625510498">recv_speed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.810000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001510522657__p348645520495">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_0000001510522657__p18923543115012">On a CN, it indicates the sum of the average network receiving rates of a user on all DNs in the last 5 seconds, in KB/s.</p>
|
|
<p id="EN-US_TOPIC_0000001510522657__p992310437502">On a DN, it indicates the average network receiving rate of a user on the DN in the last 5 seconds, in 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>
|
|
|