Files
doc-exports/docs/dws/dev/dws_04_1020.html
luhuayi 177cd61a57 DWS DEVG 910.211 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: luhuayi <luhuayi@huawei.com>
Co-committed-by: luhuayi <luhuayi@huawei.com>
2025-05-05 07:44:03 +00:00

192 lines
18 KiB
HTML

<a name="EN-US_TOPIC_0000001811610205"></a><a name="EN-US_TOPIC_0000001811610205"></a>
<h1 class="topictitle1">PGXC_TOTAL_USER_RESOURCE_INFO</h1>
<div id="body0000001361286452"><p id="EN-US_TOPIC_0000001811610205__p1983063921216">The <strong id="EN-US_TOPIC_0000001811610205__b1539817371126">PGXC_TOTAL_USER_RESOURCE_INFO</strong> view displays real-time resource consumption information of users on all instances. This view is supported only by clusters of version 8.2.0 or later.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001811610205__table1587313721120" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PGXC_TOTAL_USER_RESOURCE_INFO columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001811610205__row587317101113"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001811610205__afbe7fe3528aa4d23a961fb047a3be366"><strong id="EN-US_TOPIC_0000001811610205__b52486040343848">Column</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_0000001811610205__a32766e1c79fc45b5a8bc604d73582551">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_0000001811610205__a37865a77d1a4411998bbb8d0892f7e33">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001811610205__row787497121111"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p12697101419500">nodename</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p569681610505">Name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p115071718165010">Instance name, including CNs and DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811610205__row1787547171111"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p15691014195016">username</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p186904162509">Name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p55011618205016">Username</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811610205__row118755711117"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p668511435018">used_memory</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p14685171665014">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p1230151411213">Used memory (unit: MB)</p>
<p id="EN-US_TOPIC_0000001811610205__p845618124424">On a DN, it indicates a user's memory usage on the current DN.</p>
<p id="EN-US_TOPIC_0000001811610205__p43524220416">On a CN, it indicates a user's total memory usage on all DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811610205__row98766714113"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p5679514175011">total_memory</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p1168011168503">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p62251431218">Available memory (unit: MB). <strong id="EN-US_TOPIC_0000001811610205__b192153061943551">0</strong> indicates that the available memory is not limited and depends on the maximum memory available in the database.</p>
<p id="EN-US_TOPIC_0000001811610205__p723612044312">On a DN, it indicates the memory available to a user on the current DN.</p>
<p id="EN-US_TOPIC_0000001811610205__p123443334313">On a CN, it indicates the total memory available to a user on all DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811610205__row188777741116"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p1867311148502">used_cpu</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p1267381675012">Double precision</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p10480171813500">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>
<p id="EN-US_TOPIC_0000001811610205__p14255208448">On a DN, it indicates a user's CPU core usage on the current DN.</p>
<p id="EN-US_TOPIC_0000001811610205__p13895222104416">On a CN, it indicates a user's total CPU core usage on all DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811610205__row11877778116"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p36685141505">total_cpu</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p066791616503">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p188951125151817">Total number of CPU cores of the Cgroups associated with a user.</p>
<p id="EN-US_TOPIC_0000001811610205__p3416033164612">On a DN, it indicates the CPU cores available to a user on the current DN.</p>
<p id="EN-US_TOPIC_0000001811610205__p2417133114610">On a CN, it indicates the total CPU cores available to a user on all DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811610205__row1878379117"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p1689592518180">used_space</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p12895425161810">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p489502517187">Used permanent table storage space (unit: KB)</p>
<p id="EN-US_TOPIC_0000001811610205__p1249215442477">On a DN, it indicates the size of the permanent table storage space used by a user on the current DN.</p>
<p id="EN-US_TOPIC_0000001811610205__p1549219443470">On a CN, it indicates the total size of the permanent table storage space used by a user on all DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811610205__row115153018129"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p186535140501">total_space</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p9653416105019">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p245720181507">Available storage space (unit: KB). <strong id="EN-US_TOPIC_0000001811610205__b190517777343551">-1</strong> indicates that the storage space is not limited.</p>
<p id="EN-US_TOPIC_0000001811610205__p19152032485">On a DN, it indicates the size of the permanent table storage space available to a user on the current DN.</p>
<p id="EN-US_TOPIC_0000001811610205__p18152835486">On a CN, it indicates the total size of the permanent table storage space available to a user on all DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811610205__row1746263219117"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p94639321619">used_temp_space</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p7222183681018">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p1246314321114">Used temporary table storage space (unit: KB)</p>
<p id="EN-US_TOPIC_0000001811610205__p11650624124817">On a DN, it indicates the size of the temporary table storage space used by a user on the current DN.</p>
<p id="EN-US_TOPIC_0000001811610205__p1265072494810">On a CN, it indicates the total size of the temporary table storage space used by a user on all DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811610205__row8360144110139"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p76971146151017">total_temp_space</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p8698194610108">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p1269824641011">Available temporary table storage space (unit: KB). <strong id="EN-US_TOPIC_0000001811610205__b140196259243551">-1</strong> indicates that the storage space is not limited.</p>
<p id="EN-US_TOPIC_0000001811610205__p8284143814486">On a DN, it indicates the size of the temporary table storage space available to a user on the current DN.</p>
<p id="EN-US_TOPIC_0000001811610205__p228463884817">On a CN, it indicates the total size of the temporary table storage space available to a user on all DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811610205__row326944641319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p199181152111020">used_spill_space</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p8918185210105">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p13918185217106">Size of space used for operator spill to disk, in KB.</p>
<p id="EN-US_TOPIC_0000001811610205__p2450172614497">On a DN, it indicates the space used by a user to spill operators to disk on the current DN.</p>
<p id="EN-US_TOPIC_0000001811610205__p17450112654917">On a CN, it indicates the total space used by a user's operators spilled to disk on all DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811610205__row627750121320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p1653115816103">total_spill_space</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p1065305881013">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p465325817104">Size of space available for operator spill to disk, in KB. The value <strong id="EN-US_TOPIC_0000001811610205__b123606568943551">-1</strong> indicates that the space is not limited.</p>
<p id="EN-US_TOPIC_0000001811610205__p1782313432494">On a DN, it indicates the space available for a user to spill operators to disk on the current DN.</p>
<p id="EN-US_TOPIC_0000001811610205__p208232043184919">On a CN, it indicates the total space available for a user to spill operators to disk on all DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811610205__row178531954101316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p8388308478">read_kbytes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p638811016471">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__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_0000001811610205__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_0000001811610205__row15361715181419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p156151330184710">write_kbytes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p1161513074715">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__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_0000001811610205__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_0000001811610205__row670341881411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p1188642564712">read_counts</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p08861525174711">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__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_0000001811610205__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_0000001811610205__row441242201415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p111801422114718">write_counts</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p11180322104720">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__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_0000001811610205__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_0000001811610205__row1577710257145"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p1216147144613">read_speed</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p021614714615">Double precision</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p8976164744917">On a CN, it indicates the average logical read rate of a user on a single DN in the last 5 seconds, in KB/s.</p>
<p id="EN-US_TOPIC_0000001811610205__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_0000001811610205__row154242971413"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p12810113554613">write_speed</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p158106353462">Double precision</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p17249157134919">On a CN, it indicates the average logical write rate of a user on a single DN in the last 5 seconds, in KB/s.</p>
<p id="EN-US_TOPIC_0000001811610205__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_0000001811610205__row92845132569"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p102848132564">send_speed</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p828441375616">Double precision</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p122124919564">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_0000001811610205__p8212049195610">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_0000001811610205__row14720122413564"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811610205__p072082412563">recv_speed</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811610205__p572032435613">Double precision</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811610205__p747713019112">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_0000001811610205__p24771014118">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>