doc-exports/docs/dws/dev/dws_04_0977.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
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>
2024-05-16 07:24:04 +00:00

183 lines
18 KiB
HTML

<a name="EN-US_TOPIC_0000001257012787"></a><a name="EN-US_TOPIC_0000001257012787"></a>
<h1 class="topictitle1">GS_RESPOOL_RESOURCE_INFO</h1>
<div id="body0000001257012787"><p id="EN-US_TOPIC_0000001257012787__p779631671713"><strong id="EN-US_TOPIC_0000001257012787__b6218135301818">GS_RESPOOL_RESOURCE_INFO</strong> displays job running information about all resource pools on a CN and the information about resource pool usage of an instance (CN/DN).</p>
<div class="note" id="EN-US_TOPIC_0000001257012787__note5311019431"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001257012787__p1779516144319">On a DN, it only displays the monitoring information of the logical cluster that the DN belongs to.</p>
</div></div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001257012787__t040035450d4b45e184c38e8adde2f196" frame="border" border="1" rules="all"><caption><b>Table 1 </b>GS_RESPOOL_RESOURCE_INFO columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001257012787__r82f1e9e6ba8a432fa0505ca1baae5bf4"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.4.1.1"><p id="EN-US_TOPIC_0000001257012787__ad0171ec93e304971b233fbb24c8c9ca2">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.4.1.2"><p id="EN-US_TOPIC_0000001257012787__ac3db39da9f5e4d2b9ac752c962df9bab">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.3.2.4.1.3"><p id="EN-US_TOPIC_0000001257012787__a66dd18c864c54a9ea594b9565b475aec">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001257012787__rc5c6e84192e340e8a4ec24977eb442c0"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p894516457173">nodegroup</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p14137153775218">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p694684511718">Name of the logical cluster of the resource pool. The default value is <strong id="EN-US_TOPIC_0000001257012787__b1131213442446">installation</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__rf45f33f15d924ef58db549cb570c3e44"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p9946174520175">rpname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p7946174513175">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p194694520174">Resource pool name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row1161414715335"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p1261497143319">cgroup</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p106141172332">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p2614147163317">Name of the Cgroup associated with the resource pool</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__r3832b3d187c84b9dbdc3d7fcaaddaf1f"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p7946174510171">ref_count</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p99461245101714">int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p18262151601">Number of jobs referenced by the resource pool. The number is counted regardless of whether the job is controlled by the resource pool. This parameter is valid only on CNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row10974113305611"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p09741833175613">fast_run</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p1497414333566">int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p19974183310564">Number of running jobs in the fast lane of the resource pool. This parameter is valid only on CNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row457673919562"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p35765399565">fast_wait</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p057615399569">int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p14576133945617">Number of jobs queued in the fast lane of the resource pool. This parameter is valid only on CNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row4402113193719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p040283153711">fast_limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p44021315372">int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p1240214323719">Limit on the number of concurrent fast lane jobs in the resource pool. This parameter is valid only on CNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row115231626115613"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p10523526135617">slow_run</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p175231267567">int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p8523426145613">Number of running jobs in the slow lane of the resource pool. This parameter is valid only on CNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__r780ecffa22eb41b19e125c368a2f51c1"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p12946194561713">slow_wait</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p794614456177">int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p1192335945914">Number of jobs queued in the slow lane of the resource pool. This parameter is valid only on CNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row149331870377"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p14933127113713">slow_limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p139338717377">int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p1293357203719">Limit on the number of concurrent slow lane jobs in the resource pool. This parameter is valid only on CNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row1587122811393"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p487128153911">used_cpu</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p148772812399">double</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p10871628143913">Average number of used CPUs of the resource pool in a 5s monitoring period. The value is accurate to two decimal places.</p>
<ul id="EN-US_TOPIC_0000001257012787__ul1818919577105"><li id="EN-US_TOPIC_0000001257012787__li1218905717109">On a DN, it indicates the number of CPUs used by the resource pool on the current DN.</li><li id="EN-US_TOPIC_0000001257012787__li9189157111020">On a CN, it indicates the total CPU usage of resource pools on all DNs.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row8418103683911"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p17419163633912">cpu_limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p199801220081">int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p64191636173910">Specifies the cap of available CPUs in the resource pool. If the CPU time limit is specified, this parameter indicates the available CPUs for GaussDB(DWS). If the CPU usage limit is specified, this parameter indicates the available CPUs for associated Cgroups.</p>
<ul id="EN-US_TOPIC_0000001257012787__ul0786155101513"><li id="EN-US_TOPIC_0000001257012787__li97864511515">On a DN, it indicates the upper limit of available CPUs for the resource pool on the current DN.</li><li id="EN-US_TOPIC_0000001257012787__li17867519154">On a CN, it indicates the total upper limit of available CPUs for resource pools on all DNs.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row1341816452395"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p4418104533910">used_mem</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p8418124518397">int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p10418114553919">Memory size used by resource pools, in MB.</p>
<ul id="EN-US_TOPIC_0000001257012787__ul19441566261"><li id="EN-US_TOPIC_0000001257012787__li894495682616">On a DN, it indicates the memory usage of the resource pool on the current DN.</li><li id="EN-US_TOPIC_0000001257012787__li18944125614262">On a CN, it indicates the total memory usage of resource pools on all DNs.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row3773164983916"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p1577304973910">estimate_mem</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p677384916393">int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p1877344983912">Estimated memory used by the jobs running in the resource pool on the current CN. This parameter is valid only on CNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row137951055193917"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p17954554394">mem_limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p1879535517398">int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p339951210334">Upper limit of available memory for resource pools, in MB.</p>
<ul id="EN-US_TOPIC_0000001257012787__ul12399612103316"><li id="EN-US_TOPIC_0000001257012787__li7399101215331">On a DN, it indicates the upper limit of available memory for the resource pool on the current DN.</li><li id="EN-US_TOPIC_0000001257012787__li139951220338">On a CN, it indicates the total upper limit of available memory for resource pools on all DNs.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row940316598395"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p6403165923913">read_kbytes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p12404959123910">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p1640495918391">Number of logical read bytes in the resource pool within a 5s monitoring period (unit: KB).</p>
<ul id="EN-US_TOPIC_0000001257012787__ul99446814565"><li id="EN-US_TOPIC_0000001257012787__li19441855613">On a DN, it indicates the number of logical read bytes in the resource pool on the current DN.</li><li id="EN-US_TOPIC_0000001257012787__li1894438155618">On a CN, it indicates the total logical read bytes of resource pools on all DNs.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row1341418614013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p1241417634016">write_kbytes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p24141674012">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p12871635185619">Number of logical write bytes in the resource pool within a 5s monitoring period (unit: KB)</p>
<ul id="EN-US_TOPIC_0000001257012787__ul487153515560"><li id="EN-US_TOPIC_0000001257012787__li987183516565">On a DN, it indicates the number of logical write bytes in the resource pool on the current DN.</li><li id="EN-US_TOPIC_0000001257012787__li198743555611">On a CN, it indicates the total logical write bytes of resource pools on all DNs.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row109403537403"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p9940135344017">read_counts</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p1094012530404">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p16697857185610">Number of logical reads in the resource pool within a 5s monitoring period.</p>
<ul id="EN-US_TOPIC_0000001257012787__ul6697175775610"><li id="EN-US_TOPIC_0000001257012787__li1269718577566">On a DN, it indicates the number of logical reads in the resource pool on the current DN.</li><li id="EN-US_TOPIC_0000001257012787__li136971257155614">On a CN, it indicates the total number of logical reads in resource pools on all DNs.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row9645074119"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p66410054119">write_counts</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p1964206417">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p452410335910">Number of logical writes in the resource pool within a 5s monitoring period.</p>
<ul id="EN-US_TOPIC_0000001257012787__ul35241433598"><li id="EN-US_TOPIC_0000001257012787__li16524183155915">On a DN, it indicates the number of logical writes in the resource pool on the current DN.</li><li id="EN-US_TOPIC_0000001257012787__li195249315911">On a CN, it indicates the total number of logical writes in resource pools on all DNs.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row1467820417418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p167874164113">read_speed</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p13678124104119">double</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p376773155913">Average rate of logical reads of the resource pool in a 5s monitoring period.</p>
<ul id="EN-US_TOPIC_0000001257012787__ul2076773195914"><li id="EN-US_TOPIC_0000001257012787__li2767431165912">On a DN, it indicates the logical read rate of the resource pool on the current DN.</li><li id="EN-US_TOPIC_0000001257012787__li10767163114590">On a CN, it indicates the overall logical read rate of resource pools on all DNs.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001257012787__row534314102419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001257012787__p7343510104111">write_speed</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001257012787__p13343141013417">double</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001257012787__p1761713103011">Average rate of logical writes of the resource pool in a 5s monitoring period.</p>
<ul id="EN-US_TOPIC_0000001257012787__ul15617111010020"><li id="EN-US_TOPIC_0000001257012787__li4617161020014">On a DN, it indicates the logical write rate of the resource pool on the current DN.</li><li id="EN-US_TOPIC_0000001257012787__li7618910201">On a CN, it indicates the overall logical write rate of resource pools on all DNs.</li></ul>
</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>