doc-exports/docs/dws/dev/dws_04_0613.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
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>
2023-01-19 13:37:49 +00:00

101 lines
8.7 KiB
HTML

<a name="EN-US_TOPIC_0000001145814671"></a><a name="EN-US_TOPIC_0000001145814671"></a>
<h1 class="topictitle1">PG_RESOURCE_POOL</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001145814671__en-us_topic_0059777874_p84792292547"><strong id="EN-US_TOPIC_0000001145814671__b2300173855714">PG_RESOURCE_POOL</strong> records the information about database resource pool.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001145814671__t2fb6b48974f74377a4088bf6152acaf5" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_RESOURCE_POOL columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001145814671__rbcd53010b150484eb93e14908f4d1c9a"><th align="left" class="cellrowborder" valign="top" width="20.692069206920692%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001145814671__a3747e02f89ea41c4af8f0f79c9b76f3a">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="29.8029802980298%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001145814671__ae20f1787aa68429d81a78d33bad2f6ec">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.504950495049506%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001145814671__a69e8f283a2594152bd616dea04b60bb7">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001145814671__rff70e3351156435d8bde3e4e42c52a6a"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814671__ad3a5f3201fb2456a907e083799fee47a">respool_name</p>
</td>
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814671__ab930d93f167e44b9a23dde4c0e396ed3">name</p>
</td>
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814671__af47c859c003f47d6a73e291d926a0c1c">Name of the resource pool</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814671__rc344b8aa5d58401ba953c5c965202de8"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814671__abf7533d46b134e7a8b518bf2c8179ecb">mem_percent</p>
</td>
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814671__a05a0ee29f1544927aa84b6962a7ab687">integer</p>
</td>
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814671__a0c2c9405387542e5bb09ab46a9a004e2">Percentage of the memory configuration</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814671__r2be1257332ed41b8ab972655d1bb7d34"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814671__a030666f14a10451ca09c8b5dea0fd8f5">cpu_affinity</p>
</td>
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814671__ad1eeb2a75b504ef8b39ad0eea25a7221">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814671__ab0b064b2d7524d09890a6ea4d9a89c06">Value of cores bound to the CPU</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814671__r0dbccd4b211f4bc49fc2b4ddb4cc42bf"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814671__ac4ac173c0c994736990f2e8993a6f7b1">control_group</p>
</td>
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814671__ae0d79a89588549b687f0bfd1b2df4c2a">name</p>
</td>
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814671__a84165b5af3404fdca2f9973ea6c7ea91">Name of the Cgroup where the resource pool is located</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814671__rd2880eac62a344c5841735dd6834ca44"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814671__acc94968e71474278ad57f4dd99815d0b">active_statements</p>
</td>
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814671__a7ae38482453544168719de852a221626">integer</p>
</td>
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814671__ae9a00048c3ba4861918e3e9d98b6dffb">Maximum number of concurrent statements in the resource pool</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814671__r7e727eb78dfc4a5680e8fd9429f65c22"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814671__a9bf888bd677b4e10835e7fba59a4002d">max_dop</p>
</td>
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814671__aa516073e9eb94f34b75f24b827e2c6cf">integer</p>
</td>
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814671__ac630fac417dc4ffc8138af5d8c990be2">Maximum concurrency. This is a reserved parameter.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814671__rb460499b8f2f4fcca57f092650d39af1"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814671__a8fcdf5ce36194422a8101a64e0b29877">memory_limit</p>
</td>
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814671__ace0d4d414eed4ade8be0bf9fb4ba207b">name</p>
</td>
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814671__a00b7329b2d1248159d75705f12a21d5d">Maximum memory of resource pool</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814671__row58121618143812"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814671__p53332520143812">parentid</p>
</td>
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814671__p24966863143812">oid</p>
</td>
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814671__p9050014143812">OID of the parent resource pool</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814671__row11151648203813"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814671__p1416194883819">io_limits</p>
</td>
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814671__p15163485384">integer</p>
</td>
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814671__p12639142783918">Upper limit of IOPS. It is counted by ones for column storage and by 10 thousands for row storage.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814671__row033313103404"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814671__p19333410134015">io_priority</p>
</td>
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814671__p33338107400">text</p>
</td>
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814671__p533491074015">I/O priority set for jobs that consume many I/O resources. It takes effect when the I/O usage reaches 90%.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814671__row731531942417"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814671__p143171619182414">is_foreign</p>
</td>
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814671__p1131721932419">boolean</p>
</td>
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814671__p20317101910244">Indicates whether the resource pool can be used for users outside the logical cluster. If it is set to <strong id="EN-US_TOPIC_0000001145814671__b34816113475">true</strong>, the resource pool controls the resources of common users who do not belong to the current resource pool.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0561.html">System Catalogs</a></div>
</div>
</div>