doc-exports/docs/dws/umn/dws_01_07233.html
Lu, Huayi c5fcb46315 DWS UMN 801 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>
2022-12-13 12:47:57 +00:00

70 lines
9.3 KiB
HTML

<a name="EN-US_TOPIC_0000001134560498"></a><a name="EN-US_TOPIC_0000001134560498"></a>
<h1 class="topictitle1">Adding Workload Queues</h1>
<div id="body8662426"><ol id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_oca275ba2ffb44fb9b6c8a4141615d2b1"><li id="EN-US_TOPIC_0000001134560498__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_0000001134560498__en-us_topic_0000001076708629_l56f734dcd1dd45b0bd5877da016ffbe9"><span>On the displayed <strong>Clusters</strong> page, click the name of the target cluster.</span></li><li id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_l96016d2cb1f641d890f67139470817ed"><span>Switch to the <strong>Workload Management</strong> tab page.</span></li><li id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_l0f3cadb02dd943dc9598dcf8b20523b5"><span>Click the plus sign (+) next to <strong id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_b1917812231144">Workload Queue</strong>.</span><p><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_a7bb2bf4320f44beb8d7261f3c2a2c329"><span><img id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_en-us_topic_0254317224_image83937152410" src="figure/en-us_image_0000001180320321.png"></span></p>
<div class="note" id="EN-US_TOPIC_0000001134560498__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_0000001134560498__en-us_topic_0000001076708629_p93336508916">You can create a maximum of 63 workload queues.</p>
</div></div>
</p></li><li id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_lecc228db1ec84e62acddee80fba80d79"><span>Enter the name and configure related resources for a new workload queue by referring to <a href="#EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_t9f2b382ce2fe42968c6411f0d6ac5d98">Table 1</a>.</span><p>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_t9f2b382ce2fe42968c6411f0d6ac5d98"></a><a name="en-us_topic_0000001076708629_t9f2b382ce2fe42968c6411f0d6ac5d98"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_t9f2b382ce2fe42968c6411f0d6ac5d98" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Configuring workload queue parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_r45c4609ae0df47bfa1bb36943077276a"><th align="left" class="cellrowborder" valign="top" width="18.28%" id="mcps1.3.1.5.2.1.2.4.1.1"><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_a4328dd0179cf40cca3ef78c4c446bd2f">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="65.36000000000001%" id="mcps1.3.1.5.2.1.2.4.1.2"><p id="EN-US_TOPIC_0000001134560498__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.1.2.4.1.3"><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_a2016d72761a842439cb07508af0086e4">Value</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_rccecdb3f69424915b2a90ae48134b9dd"><td class="cellrowborder" valign="top" width="18.28%" headers="mcps1.3.1.5.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001134560498__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.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_en-us_topic_0254317224_p161751933124">Name of a workload queue.</p>
</td>
<td class="cellrowborder" valign="top" width="16.360000000000003%" headers="mcps1.3.1.5.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_a55b108341a5d4e538b79dd6c8ddbd357">queue_test</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_en-us_topic_0254317224_row6175638125"><td class="cellrowborder" valign="top" width="18.28%" headers="mcps1.3.1.5.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_en-us_topic_0254317224_p617517317129">CPU Usage (%)</p>
</td>
<td class="cellrowborder" valign="top" width="65.36000000000001%" headers="mcps1.3.1.5.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_en-us_topic_0254317224_p71758391212">Percentage of the CPU time slice that can be used by database users in a queue for job execution.</p>
</td>
<td class="cellrowborder" valign="top" width="16.360000000000003%" headers="mcps1.3.1.5.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_en-us_topic_0254317224_p108516144126">20</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_rb9afdcb77de5450f991ad26596962299"><td class="cellrowborder" valign="top" width="18.28%" headers="mcps1.3.1.5.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001134560498__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.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_a37fab0d6453c49238373d7a3730b2169">Percentage of the memory usage by a queue.</p>
<div class="caution" id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_nd309c27ce38e4d209756261169daa0be"><span class="cautiontitle"> CAUTION: </span><div class="cautionbody"><p id="EN-US_TOPIC_0000001134560498__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.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_a4c339f5b73c84dba8ed80af1976204e7">20</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_rfc6a58e60ad5428fa32064926e00f43f"><td class="cellrowborder" valign="top" width="18.28%" headers="mcps1.3.1.5.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001134560498__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.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_ac2fc25f6b41248108e98cfcbb8c55f51">Size of the available space for permanent tables.</p>
<div class="caution" id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_note9592206519"><span class="cautiontitle"> CAUTION: </span><div class="cautionbody"><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_p71618351750">This parameter indicates the total tablespace of all DNs in a queue. 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.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_a3b1252599b984ad9a5901bc24f45fac5">1024</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_r1aabed4322f84ee68229882568cef559"><td class="cellrowborder" valign="top" width="18.28%" headers="mcps1.3.1.5.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001134560498__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.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_en-us_topic_0254317224_p51752033126">Maximum number of concurrent queries in a queue.</p>
<div class="caution" id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_nac0c163081b24a96bd4e58718964b3ac"><span class="cautiontitle"> CAUTION: </span><div class="cautionbody"><p id="EN-US_TOPIC_0000001134560498__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.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_en-us_topic_0254317224_p985116149122">10</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_p4331115113394"><span><img id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_image470717525393" src="figure/en-us_image_0000001180440259.png"></span></p>
</p></li><li id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_l6b237759fb4e47ef8c9ea4ea625ebca3"><span>Confirm the information and click <strong id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_b7996856141310">OK</strong>.</span><p><p id="EN-US_TOPIC_0000001134560498__en-us_topic_0000001076708629_en-us_topic_0254317224_p816217412019"></p>
</p></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_01_0723.html">Managing Cluster Workloads</a></div>
</div>
</div>