forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
94 lines
14 KiB
HTML
94 lines
14 KiB
HTML
<a name="EN-US_TOPIC_0000001707293961"></a><a name="EN-US_TOPIC_0000001707293961"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Resource Pool</h1>
|
|
<div id="body8662426"><ol id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_oca275ba2ffb44fb9b6c8a4141615d2b1"><li id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_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_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_l56f734dcd1dd45b0bd5877da016ffbe9"><span>Choose <strong id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_b151584212515">Clusters</strong>. Click the name of a cluster.</span></li><li id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_l96016d2cb1f641d890f67139470817ed"><span>Choose <strong id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_b1238317337">Resource Management Configurations</strong>.</span></li><li id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_l0f3cadb02dd943dc9598dcf8b20523b5"><span>Click <strong id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_b14377191018512">Add Resource Pool</strong>.</span><p><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p3666115122510"></p>
|
|
<p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p1831515013479"><span><img id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_image2447250134713" src="figure/en-us_image_0000001759580273.png" title="Click to enlarge" class="imgResize"></span></p>
|
|
<div class="note" id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_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_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_p93336508916">Up to 63 resource pools can be created.</p>
|
|
</div></div>
|
|
</p></li><li id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_lecc228db1ec84e62acddee80fba80d79"><span>Refer to <a href="#EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_t9f2b382ce2fe42968c6411f0d6ac5d98">Table 1</a> to configure the resource pool.</span><p><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p8806367594"><span><img id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_image13596836185911" src="figure/en-us_image_0000001711661336.png" title="Click to enlarge" class="imgResize"></span></p>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_t9f2b382ce2fe42968c6411f0d6ac5d98"></a><a name="en-us_topic_0000001372679810_en-us_topic_0000001076708629_t9f2b382ce2fe42968c6411f0d6ac5d98"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_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_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_r45c4609ae0df47bfa1bb36943077276a"><th align="left" class="cellrowborder" valign="top" width="18.19%" id="mcps1.3.1.5.2.2.2.5.1.1"><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_a4328dd0179cf40cca3ef78c4c446bd2f">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="64.99000000000001%" id="mcps1.3.1.5.2.2.2.5.1.2"><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_en-us_topic_0254317224_p31756316126">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="8.08%" id="mcps1.3.1.5.2.2.2.5.1.3"><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p6489453152013">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="8.74%" id="mcps1.3.1.5.2.2.2.5.1.4"><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p1960341082110">Default Value</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_rccecdb3f69424915b2a90ae48134b9dd"><td class="cellrowborder" valign="top" width="18.19%" headers="mcps1.3.1.5.2.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_en-us_topic_0254317224_p141758311128">Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.99000000000001%" headers="mcps1.3.1.5.2.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_en-us_topic_0254317224_p161751933124">Resource pool name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="8.08%" headers="mcps1.3.1.5.2.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p248965352020">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="8.74%" headers="mcps1.3.1.5.2.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p20603210102118">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_row1833914319256"><td class="cellrowborder" valign="top" width="18.19%" headers="mcps1.3.1.5.2.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p1349123162510">CPU Resource (%)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.99000000000001%" headers="mcps1.3.1.5.2.2.2.5.1.2 "><ul id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_ul14235101682820"><li id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_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_0000001707293961__en-us_topic_0000001372679810_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_0000001707293961__en-us_topic_0000001372679810_b5008316675942">0</strong> indicates no limit.</li></ul>
|
|
<div class="note" id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_note354861082717"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_ul6756113052718"><li id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_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_0000001707293961__en-us_topic_0000001372679810_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_0000001707293961__en-us_topic_0000001372679810_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="8.08%" headers="mcps1.3.1.5.2.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p124899539204">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="8.74%" headers="mcps1.3.1.5.2.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p8604181062119">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_rb9afdcb77de5450f991ad26596962299"><td class="cellrowborder" valign="top" width="18.19%" headers="mcps1.3.1.5.2.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_en-us_topic_0254317224_p91755351214">Memory Resource (%)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.99000000000001%" headers="mcps1.3.1.5.2.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_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_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_nd309c27ce38e4d209756261169daa0be"><span class="cautiontitle"> CAUTION: </span><div class="cautionbody"><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_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="8.08%" headers="mcps1.3.1.5.2.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p174899537209">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="8.74%" headers="mcps1.3.1.5.2.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p146049109214">0 (not limited)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_rfc6a58e60ad5428fa32064926e00f43f"><td class="cellrowborder" valign="top" width="18.19%" headers="mcps1.3.1.5.2.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_en-us_topic_0254317224_p61751341214">Storage Resource (MB)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.99000000000001%" headers="mcps1.3.1.5.2.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_ac2fc25f6b41248108e98cfcbb8c55f51">Size of the available space for permanent tables.</p>
|
|
<div class="caution" id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_note9592206519"><span class="cautiontitle"> CAUTION: </span><div class="cautionbody"><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_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="8.08%" headers="mcps1.3.1.5.2.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p124892053102018">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="8.74%" headers="mcps1.3.1.5.2.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p36041710132116">-1 (not limited)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_r1aabed4322f84ee68229882568cef559"><td class="cellrowborder" valign="top" width="18.19%" headers="mcps1.3.1.5.2.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_en-us_topic_0254317224_p91755371210">Query Concurrency</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.99000000000001%" headers="mcps1.3.1.5.2.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_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_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_nac0c163081b24a96bd4e58718964b3ac"><span class="cautiontitle"> CAUTION: </span><div class="cautionbody"><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_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="8.08%" headers="mcps1.3.1.5.2.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p8490115352011">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="8.74%" headers="mcps1.3.1.5.2.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p76041710202117">10</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_note1225311578516"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p443114124714">The CPU usage limit is supported only by clusters of version 8.1.3 or later.</p>
|
|
</div></div>
|
|
</p></li><li id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_l6b237759fb4e47ef8c9ea4ea625ebca3"><span>Confirm the information and click <strong id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_en-us_topic_0000001076708629_b7996856141310">OK</strong>.</span><p><p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p4965843224"></p>
|
|
<p id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_p155851928124717"><span><img id="EN-US_TOPIC_0000001707293961__en-us_topic_0000001372679810_image15362141113494" src="figure/en-us_image_0000001711820848.png" 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> |