doc-exports/docs/dws/umn/dws_01_0152.html
Lu, Huayi 95132e24fc DWS UMN 830.201_new version
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>
2024-05-27 11:54:34 +00:00

39 lines
10 KiB
HTML

<a name="EN-US_TOPIC_0000001707254661"></a><a name="EN-US_TOPIC_0000001707254661"></a>
<h1 class="topictitle1">Modifying Database Parameters</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_p1470342312612">After a cluster is created, you can modify the cluster's database parameters as required. On the GaussDB(DWS) management console, you can configure common database parameters. For details, see <a href="#EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_section10522114017574">Modifying Parameters</a>. You can also view the parameter modification history. For details, see <a href="#EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_section1987072615553">Viewing Parameter Change History</a>. You can run SQL commands to view or set other database parameters. For details, see <span class="menucascade" id="EN-US_TOPIC_0000001707254661__menucascade17325136133117"><b><span class="uicontrol" id="EN-US_TOPIC_0000001707254661__uicontrol432515616311">Setting Configuration Parameters</span></b></span> in the <em id="EN-US_TOPIC_0000001707254661__i1032512617314">Data Warehouse Service Database Development Guide</em>.</p>
<div class="section" id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_section1322414592413"><h4 class="sectiontitle">Prerequisites</h4><p id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_p1518811159518">You can modify parameters only when no task is running in the cluster.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_section10522114017574"><a name="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_section10522114017574"></a><a name="en-us_topic_0000001422799401_section10522114017574"></a><h4 class="sectiontitle">Modifying Parameters</h4><ol id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_ol11703112312269"><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li147043234262"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li27041923132612"><span>In the navigation pane on the left, choose <span class="uicontrol" id="EN-US_TOPIC_0000001707254661__uicontrol19909108143112"><b>Clusters</b></span> &gt; <strong id="EN-US_TOPIC_0000001707254661__b79098813318">Dedicated Clusters</strong>.</span></li><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li165681223303"><span>In the cluster list, find the target cluster and click the cluster name. The <span class="wintitle" id="EN-US_TOPIC_0000001707254661__wintitle373453512311"><b>Cluster Information</b></span> page is displayed.</span></li><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li13410129143014"><span>Click the <span class="parmname" id="EN-US_TOPIC_0000001707254661__parmname11553744193018"><b>Parameters</b></span> tab and modify the parameter values. Then click <span class="uicontrol" id="EN-US_TOPIC_0000001707254661__uicontrol193071952183210"><b>Save</b></span>.</span><p><p id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_p143891231147"><span><img id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_image575165211420" src="figure/en-us_image_0000001711440204.png" title="Click to enlarge" class="imgResize"></span></p>
<p id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_p17597153011333"></p>
</p></li><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li20999155317324"><span>In the <span class="uicontrol" id="EN-US_TOPIC_0000001707254661__uicontrol46431641103216"><b>Modification Preview</b></span> dialog box, confirm the modifications and click <span class="uicontrol" id="EN-US_TOPIC_0000001707254661__uicontrol20549165253216"><b>Save</b></span>.</span></li><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li1353314588434"><span>You can determine whether you need to restart the cluster after parameter modification based on the <strong id="EN-US_TOPIC_0000001707254661__b0751412343">Restart Cluster</strong> column.</span><p><div class="p" id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_p2081812410447"><span><img id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_image92152016173910" src="figure/en-us_image_0000001759519101.png" title="Click to enlarge" class="imgResize"></span><div class="note" id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_note8440195132913"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_ul34731059123510"><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li647315933510">If cluster restart is not required for a parameter, the parameter modification takes effect immediately.</li><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li747725993513">If cluster restart is required for parameter modifications to take effect, the new parameter values will be displayed on the page after the modification, but will not take effect until the cluster is restarted.Before a restart, the cluster status is <strong id="EN-US_TOPIC_0000001707254661__b7369055162615">To be restarted</strong>, and some O&amp;M operations are disabled.</li></ul>
</div></div>
</div>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_section1987072615553"><a name="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_section1987072615553"></a><a name="en-us_topic_0000001422799401_section1987072615553"></a><h4 class="sectiontitle">Viewing Parameter Change History</h4><p id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_p144461948135519">Perform the following steps to view the parameter modification history and check whether the modifications have taken effect:</p>
<p id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_p139736143713"><strong id="EN-US_TOPIC_0000001707254661__b6220121615">Procedure</strong></p>
<ol id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_ol17791374159"><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li179461212141519"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li11946171241510"><span>In the navigation pane on the left, choose <span class="uicontrol" id="EN-US_TOPIC_0000001707254661__uicontrol39731113111"><b>Clusters</b></span> &gt; <strong id="EN-US_TOPIC_0000001707254661__b1297131113111">Dedicated Clusters</strong>.</span></li><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li1294721221516"><span>In the cluster list, find the target cluster and click the cluster name. The <span class="wintitle" id="EN-US_TOPIC_0000001707254661__wintitle14311321568"><b>Cluster Information</b></span> page is displayed.</span></li><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li1894791221517"><span>Click the <span class="parmname" id="EN-US_TOPIC_0000001707254661__parmname20947201261510"><b>Modify Records</b></span> tab.</span><p><p id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_p159615191610"><span><img id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_image1322965717177" src="figure/en-us_image_0000001759359237.png" title="Click to enlarge" class="imgResize"></span></p>
<div class="note" id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_note181116361272"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_ul1711119360275"><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li1611143613278">If a parameter can take effect immediately after modification, its status will change to <strong id="EN-US_TOPIC_0000001707254661__b121472265309">Synchronized</strong> after you modify it.</li><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li1311233618272">If a parameter can take effect only after a cluster restart, its status will change to <strong id="EN-US_TOPIC_0000001707254661__b18137181316320">To be restarted</strong> after you modify it. You can click the expansion icon on the left to view the parameters that have not taken effect. After the cluster is restarted, the status of the record will change to <strong id="EN-US_TOPIC_0000001707254661__b18949164717364">Synchronized</strong>.</li></ul>
</div></div>
</p></li><li id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_li7878912141617"><span>By default, only the change history within a specified period is displayed. To check the entire change history of a parameter, search for it in the search box in the upper right corner.</span><p><p id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_p11765153692215"><span><img id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_image1681931732512" src="figure/en-us_image_0000001711440208.png" title="Click to enlarge" class="imgResize"></span></p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_section926416313488"><a name="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_section926416313488"></a><a name="en-us_topic_0000001422799401_section926416313488"></a><h4 class="sectiontitle">Parameter Description</h4><p id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_p1365402514418">The following table describes part of the database parameters. You can search for and check more parameters by following the instructions in <a href="#EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_section10522114017574">Modifying Parameters</a>.</p>
<div class="note" id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_note18542104855711"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001707254661__en-us_topic_0000001422799401_p5724017501">The default values of the following parameters are for reference only. For more information, see "Setting GUC Parameters".</p>
</div></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_01_0600.html">Cluster Management</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>