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>
116 lines
10 KiB
HTML
116 lines
10 KiB
HTML
<a name="EN-US_TOPIC_0000001233761883"></a><a name="EN-US_TOPIC_0000001233761883"></a>
|
|
|
|
<h1 class="topictitle1">PG_RESOURCE_POOL</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001233761883__en-us_topic_0059777874_p84792292547"><strong id="EN-US_TOPIC_0000001233761883__b2300173855714">PG_RESOURCE_POOL</strong> records information about database resource pools.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233761883__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_0000001233761883__rbcd53010b150484eb93e14908f4d1c9a"><th align="left" class="cellrowborder" valign="top" width="20.692069206920692%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233761883__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_0000001233761883__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_0000001233761883__a69e8f283a2594152bd616dea04b60bb7">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001233761883__rff70e3351156435d8bde3e4e42c52a6a"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__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_0000001233761883__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_0000001233761883__af47c859c003f47d6a73e291d926a0c1c">Name of the resource pool</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761883__rc344b8aa5d58401ba953c5c965202de8"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__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_0000001233761883__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_0000001233761883__a0c2c9405387542e5bb09ab46a9a004e2">Percentage of the memory configuration</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761883__r2be1257332ed41b8ab972655d1bb7d34"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__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_0000001233761883__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_0000001233761883__ab0b064b2d7524d09890a6ea4d9a89c06">Reserved column without an actual meaning</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761883__r0dbccd4b211f4bc49fc2b4ddb4cc42bf"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__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_0000001233761883__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_0000001233761883__a84165b5af3404fdca2f9973ea6c7ea91">Name of the Cgroup where the resource pool is located</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761883__rd2880eac62a344c5841735dd6834ca44"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__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_0000001233761883__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_0000001233761883__ae9a00048c3ba4861918e3e9d98b6dffb">Maximum number of concurrent statements in the resource pool</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761883__r7e727eb78dfc4a5680e8fd9429f65c22"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__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_0000001233761883__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_0000001233761883__p572520412161">Maximum number of concurrent simple jobs allowed by the resource pool. <strong id="EN-US_TOPIC_0000001233761883__b917311482109">-1</strong> and <strong id="EN-US_TOPIC_0000001233761883__b101731448161015">0</strong> indicate that there are no limitations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761883__rb460499b8f2f4fcca57f092650d39af1"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__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_0000001233761883__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_0000001233761883__a00b7329b2d1248159d75705f12a21d5d">Maximum memory of resource pool</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761883__row58121618143812"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__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_0000001233761883__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_0000001233761883__p9050014143812">OID of the parent resource pool</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761883__row11151648203813"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__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_0000001233761883__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_0000001233761883__p12639142783918">Reserved column without an actual meaning</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761883__row033313103404"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__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_0000001233761883__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_0000001233761883__p533491074015">Reserved column without an actual meaning</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761883__row731531942417"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__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_0000001233761883__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_0000001233761883__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_0000001233761883__b34816113475">true</strong>, the resource pool controls the resources of common users who do not belong to the current resource pool.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761883__row1164219264222"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__p6533871398">short_acc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761883__p185331579396">boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761883__p1353317123912">Whether to enable short query acceleration for a resource pool. This function is enabled by default.</p>
|
|
<ul id="EN-US_TOPIC_0000001233761883__ul61197356481"><li id="EN-US_TOPIC_0000001233761883__li1611912359485">If short query acceleration is enabled, simple queries are controlled on the fast lane.</li><li id="EN-US_TOPIC_0000001233761883__li1811920352483">If short query acceleration is disabled, and simple queries are controlled on the slow lane.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761883__row437219322223"><td class="cellrowborder" valign="top" width="20.692069206920692%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761883__p157292318422">except_rule</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.8029802980298%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761883__p107222354214">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761883__p1272623164213">Exception rule associated with a resource pool. There can be multiple associated rules, which are separated by commas (,).</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>
|
|
|