forked from laiweijian4/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
82 lines
11 KiB
HTML
82 lines
11 KiB
HTML
<a name="EN-US_TOPIC_0000001466594906"></a><a name="EN-US_TOPIC_0000001466594906"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Resource Pool</h1>
|
|
<div id="body8662426"><ol id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_oca275ba2ffb44fb9b6c8a4141615d2b1"><li id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_en-us_topic_0254317224_li15273937108"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_l56f734dcd1dd45b0bd5877da016ffbe9"><span>Choose <strong id="EN-US_TOPIC_0000001466594906__b151584212515">Clusters</strong>. Click the name of a cluster.</span></li><li id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_l96016d2cb1f641d890f67139470817ed"><span>Choose <strong id="EN-US_TOPIC_0000001466594906__b1238317337">Resource Management Configurations</strong>.</span></li><li id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_l0f3cadb02dd943dc9598dcf8b20523b5"><span>Click <strong id="EN-US_TOPIC_0000001466594906__b14377191018512">Add Resource Pool</strong>.</span><p><p id="EN-US_TOPIC_0000001466594906__p3666115122510"></p>
|
|
<p id="EN-US_TOPIC_0000001466594906__p1831515013479"><span><img id="EN-US_TOPIC_0000001466594906__image2447250134713" src="figure/en-us_image_0000001517355561.png" width="466.83000000000004" height="52.622115" title="Click to enlarge" class="imgResize"></span></p>
|
|
<div class="note" id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_note633313503914"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_p93336508916">Up to 63 resource pools can be created.</p>
|
|
</div></div>
|
|
</p></li><li id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_lecc228db1ec84e62acddee80fba80d79"><span>Configure the resource pool. For more information, see <a href="#EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_t9f2b382ce2fe42968c6411f0d6ac5d98">Resource pool parameters</a>.</span><p><p id="EN-US_TOPIC_0000001466594906__p8806367594"><span><img id="EN-US_TOPIC_0000001466594906__image13596836185911" src="figure/en-us_image_0000001517754585.png" width="478.8" height="363.551909" title="Click to enlarge" class="imgResize"></span></p>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_t9f2b382ce2fe42968c6411f0d6ac5d98"></a><a name="en-us_topic_0000001076708629_t9f2b382ce2fe42968c6411f0d6ac5d98"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_t9f2b382ce2fe42968c6411f0d6ac5d98" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Resource pool parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_r45c4609ae0df47bfa1bb36943077276a"><th align="left" class="cellrowborder" valign="top" width="18.28%" id="mcps1.3.1.5.2.2.2.4.1.1"><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_a4328dd0179cf40cca3ef78c4c446bd2f">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="65.36000000000001%" id="mcps1.3.1.5.2.2.2.4.1.2"><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_en-us_topic_0254317224_p31756316126">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.360000000000003%" id="mcps1.3.1.5.2.2.2.4.1.3"><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_a2016d72761a842439cb07508af0086e4"><strong id="EN-US_TOPIC_0000001466594906__b27421275443">Example Value</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_rccecdb3f69424915b2a90ae48134b9dd"><td class="cellrowborder" valign="top" width="18.28%" headers="mcps1.3.1.5.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_en-us_topic_0254317224_p141758311128">Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.36000000000001%" headers="mcps1.3.1.5.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_en-us_topic_0254317224_p161751933124">Resource pool name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.360000000000003%" headers="mcps1.3.1.5.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_a55b108341a5d4e538b79dd6c8ddbd357">pool_1</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001466594906__row1833914319256"><td class="cellrowborder" valign="top" width="18.28%" headers="mcps1.3.1.5.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001466594906__p1349123162510">CPU Resource (%)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.36000000000001%" headers="mcps1.3.1.5.2.2.2.4.1.2 "><ul id="EN-US_TOPIC_0000001466594906__ul14235101682820"><li id="EN-US_TOPIC_0000001466594906__li42351716142816">CPU share: Percentage of CPU time that can be used by users associated with the current resource pool to execute jobs. The value is an integer ranging from 1 to 99.</li><li id="EN-US_TOPIC_0000001466594906__li423519168288">CPU limit: Maximum percentage of CPU cores used by a database user in a resource pool. The value is an integer ranging from 0 to 100. <strong id="EN-US_TOPIC_0000001466594906__b19678193064417">0</strong> indicates no limit.</li></ul>
|
|
<div class="note" id="EN-US_TOPIC_0000001466594906__note354861082717"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="EN-US_TOPIC_0000001466594906__ul6756113052718"><li id="EN-US_TOPIC_0000001466594906__li1575763015276">The sum of the parameter values of all the resource pools cannot exceed 99%. If there is only one resource pool, the CPU share parameter does not take effect.</li><li id="EN-US_TOPIC_0000001466594906__li1375753011279">The CPU share parameter takes effect only when CPU contention occurs. For example, resource pools A and B are bound to CPU 1. If A and B are both running, the parameter takes effect. If there is only A running, the parameter does not take effect.</li><li id="EN-US_TOPIC_0000001466594906__li1331964818275">The sum of the CPU limits of all the resource pools cannot exceed 100%. The default value is 0.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.360000000000003%" headers="mcps1.3.1.5.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001466594906__p1535453117251">30</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_rb9afdcb77de5450f991ad26596962299"><td class="cellrowborder" valign="top" width="18.28%" headers="mcps1.3.1.5.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_en-us_topic_0254317224_p91755351214">Memory Resource (%)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.36000000000001%" headers="mcps1.3.1.5.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_a37fab0d6453c49238373d7a3730b2169">Percentage of the memory that can be used by a resource pool.</p>
|
|
<div class="caution" id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_nd309c27ce38e4d209756261169daa0be"><span class="cautiontitle"> CAUTION: </span><div class="cautionbody"><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_en-us_topic_0254317224_p950334801411">You can manage memory and query concurrency separately or jointly. Under joint management, jobs can be delivered only when both the memory and concurrency conditions are met.</p>
|
|
</div></div>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.360000000000003%" headers="mcps1.3.1.5.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_a4c339f5b73c84dba8ed80af1976204e7">20</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_rfc6a58e60ad5428fa32064926e00f43f"><td class="cellrowborder" valign="top" width="18.28%" headers="mcps1.3.1.5.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_en-us_topic_0254317224_p61751341214">Storage Resource (MB)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.36000000000001%" headers="mcps1.3.1.5.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_ac2fc25f6b41248108e98cfcbb8c55f51">Size of the available space for permanent tables.</p>
|
|
<div class="caution" id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_note9592206519"><span class="cautiontitle"> CAUTION: </span><div class="cautionbody"><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_p71618351750">This parameter indicates the total tablespace of all DNs in a resource pool. Available space of a single DN = Configured value/Number of DNs.</p>
|
|
</div></div>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.360000000000003%" headers="mcps1.3.1.5.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_a3b1252599b984ad9a5901bc24f45fac5">1024</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_r1aabed4322f84ee68229882568cef559"><td class="cellrowborder" valign="top" width="18.28%" headers="mcps1.3.1.5.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_en-us_topic_0254317224_p91755371210">Query Concurrency</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.36000000000001%" headers="mcps1.3.1.5.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_en-us_topic_0254317224_p51752033126">Maximum number of concurrent queries in a resource pool.</p>
|
|
<div class="caution" id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_nac0c163081b24a96bd4e58718964b3ac"><span class="cautiontitle"> CAUTION: </span><div class="cautionbody"><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_en-us_topic_0254317224_p69536212151">You can manage memory and query concurrency separately or jointly. Under joint management, jobs can be delivered only when both the memory and concurrency conditions are met.</p>
|
|
</div></div>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.360000000000003%" headers="mcps1.3.1.5.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_en-us_topic_0254317224_p985116149122">10</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="EN-US_TOPIC_0000001466594906__note1225311578516"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001466594906__p443114124714">Only 8.1.3 and later versions support the CPU limit management.</p>
|
|
</div></div>
|
|
</p></li><li id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_l6b237759fb4e47ef8c9ea4ea625ebca3"><span>Confirm the information and click <strong id="EN-US_TOPIC_0000001466594906__en-us_topic_0000001076708629_b7996856141310">OK</strong>.</span><p><p id="EN-US_TOPIC_0000001466594906__p4965843224"></p>
|
|
<p id="EN-US_TOPIC_0000001466594906__p155851928124717"><span><img id="EN-US_TOPIC_0000001466594906__image15362141113494" src="figure/en-us_image_0000001467074382.png" width="493.76250000000005" height="242.59093600000003" title="Click to enlarge" class="imgResize"></span></p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_01_0729.html">Resource Pool</a></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script language="JavaScript">
|
|
<!--
|
|
image_size('.imgResize');
|
|
var msg_imageMax = "view original image";
|
|
var msg_imageClose = "close";
|
|
//--></script> |