forked from docs/doc-exports
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
34 lines
13 KiB
HTML
34 lines
13 KiB
HTML
<a name="en-us_topic_configuration"></a><a name="en-us_topic_configuration"></a>
|
|
|
|
<h1 class="topictitle1">Modifying a Parameter Template</h1>
|
|
<div id="body32001227"><p id="en-us_topic_configuration__en-us_topic_0000001268931713_p318715293279">You can modify parameters in custom parameter templates as needed to get the most out of DDS performance.</p>
|
|
<p id="en-us_topic_configuration__en-us_topic_0000001268931713_p2575184013323">You can modify parameters in either of the following ways:</p>
|
|
<ul id="en-us_topic_configuration__en-us_topic_0000001268931713_ul14489184893419"><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li14489164813410">Directly modify the parameters of a specified instance.<p id="en-us_topic_configuration__en-us_topic_0000001268931713_p09286180351"><a name="en-us_topic_configuration__en-us_topic_0000001268931713_li14489164813410"></a><a name="en-us_topic_0000001268931713_li14489164813410"></a>If you change a dynamic parameter value in a parameter template and save the change, the change takes effect immediately regardless of the <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b537624354014">Effective upon Reboot</strong> setting. If you modify static parameters on the <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b64458674118">Parameters</strong> page of an instance and save the modifications, the modifications take effect only after you manually restart the target instance.</p>
|
|
</li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li155911151113417">Modify the parameters in a parameter template and apply the template to the instance.<p id="en-us_topic_configuration__en-us_topic_0000001268931713_p175961998369"><a name="en-us_topic_configuration__en-us_topic_0000001268931713_li155911151113417"></a><a name="en-us_topic_0000001268931713_li155911151113417"></a>The changes only take effect after you apply the template to the instance. If you modify static parameters in a custom parameter template on the <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b16621616184911">Parameter Template Management</strong> page and save the modifications, the modifications take effect only after you apply the parameter template to instances and manually restart the instances. For operation details, see <a href="dds_03_0014.html#dds_03_0014">Applying a Parameter Template</a>.</p>
|
|
</li></ul>
|
|
<div class="section" id="en-us_topic_configuration__en-us_topic_0000001268931713_section449882713918"><h4 class="sectiontitle">Precautions</h4><ul id="en-us_topic_configuration__en-us_topic_0000001268931713_ul1894301917402"><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li209431519124018">You can change parameter values in custom parameter templates but cannot change the default parameter templates provided by the system. You can only click the name of a default parameter template to view its details.</li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li12943819194016">If a custom parameter template is set incorrectly, the instance associated with the template may fail to start. You can re-configure the custom parameter template according to the configurations of the default parameter template.</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_configuration__en-us_topic_0000001268931713_section19602163935915"><h4 class="sectiontitle">Modifying Parameters of an Instance</h4><ol id="en-us_topic_configuration__en-us_topic_0000001268931713_ol4602183911597"><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li17348738124813"><span>Log in to the management console.</span></li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li1183141803"><span>Click <span><img id="en-us_topic_configuration__en-us_topic_0000001268931713_en-us_topic_0000001269051661_image874819251118" src="en-us_image_0000001268771757.png"></span> in the upper left corner and select a region and a project.</span></li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li76721595210"><span>Click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_en-us_topic_0000001269051661_b74552376195932">Service List</strong>. Under <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_en-us_topic_0000001269051661_b54280783595932">Database</strong>, click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_en-us_topic_0000001269051661_b74413043995932">Document Database Service</strong> to go to the DDS console.</span></li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li1760373905913"><span>In the navigation pane on the left, choose <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b120169029123938">Instance Management</strong>. On the displayed page, click the DB instance whose parameters you wish to modify.</span></li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li260323915915"><span>In the navigation pane on the left, choose <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b212307793423938">Parameters</strong>. On the displayed page, modify parameters as required.</span><p><div class="p" id="en-us_topic_configuration__en-us_topic_0000001268931713_p466332914217"><ul id="en-us_topic_configuration__en-us_topic_0000001268931713_ul03221827184218"><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li1232212276426">To save the modifications, click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b182861294223938">Save</strong>.</li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li93222273422">If you want to cancel the modifications, click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b84235270620484">Cancel</strong>.</li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li2322102710428">If you want to preview the modifications, click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b842352706153939">Preview</strong>.</li></ul>
|
|
</div>
|
|
</p></li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li5604183918597"><span>After parameters are modified, click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b1626621533816">Change History</strong> to view parameter modification details.</span><p><div class="p" id="en-us_topic_configuration__en-us_topic_0000001268931713_p1760453915594">For details about how to view parameter modification details, see <a href="dds_03_0110.html#dds_03_0110">Viewing Parameter Change History</a>.<div class="notice" id="en-us_topic_configuration__en-us_topic_0000001268931713_note17604193917597"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="en-us_topic_configuration__en-us_topic_0000001268931713_p760433918594">After you modify instance parameters, the modifications immediately take effect for the instance.</p>
|
|
<div class="p" id="en-us_topic_configuration__en-us_topic_0000001268931713_p4604153919593">Check the value in the <span class="uicontrol" id="en-us_topic_configuration__en-us_topic_0000001268931713_uicontrol636644084014"><b>Effective upon Restart</b></span> column.<ul id="en-us_topic_configuration__en-us_topic_0000001268931713_ul5604239185911"><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li6604163975911">If the value is <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b72580963123938">Yes</strong> and the instance status on the <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b192644887823938">Instance Management</strong> page is <span class="uicontrol" id="en-us_topic_configuration__en-us_topic_0000001268931713_uicontrol79317960823938"><b>Pending restart</b></span>, restart the DB instance for the modifications to take effect.</li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li96046397598">If the value is <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b184390325325">No</strong>, the modifications take effect immediately.</li></ul>
|
|
</div>
|
|
</div></div>
|
|
</div>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="en-us_topic_configuration__en-us_topic_0000001268931713_section30073268144833"><h4 class="sectiontitle">Modifying Parameters in a Custom Parameter Template</h4><ol id="en-us_topic_configuration__en-us_topic_0000001268931713_ol24590471123443"><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li3965243529"><span>Log in to the management console.</span></li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li8965204115217"><span>Click <span><img id="en-us_topic_configuration__en-us_topic_0000001268931713_en-us_topic_0000001269051661_image874819251118_1" src="en-us_image_0000001268771757.png"></span> in the upper left corner and select a region and a project.</span></li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li9965114125215"><span>Click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_en-us_topic_0000001269051661_b74552376195932_1">Service List</strong>. Under <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_en-us_topic_0000001269051661_b54280783595932_1">Database</strong>, click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_en-us_topic_0000001269051661_b74413043995932_1">Document Database Service</strong> to go to the DDS console.</span></li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li11638543194116"><span>In the navigation pane on the left, click <span class="uicontrol" id="en-us_topic_configuration__en-us_topic_0000001268931713_uicontrol119981719134016"><b>Parameter Template Management</b></span>.</span></li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li166145142313"><span>On the <span class="uicontrol" id="en-us_topic_configuration__en-us_topic_0000001268931713_uicontrol499152717354"><b>Parameter Template Management</b></span> page, click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b19937946193111">Custom Templates</strong>. Select the <span class="uicontrol" id="en-us_topic_configuration__en-us_topic_0000001268931713_uicontrol39972783516"><b>Clusters</b></span>, <span class="uicontrol" id="en-us_topic_configuration__en-us_topic_0000001268931713_uicontrol1499112783512"><b>Replica Sets</b></span>, or <span class="uicontrol" id="en-us_topic_configuration__en-us_topic_0000001268931713_uicontrol1710032719352"><b>Single Nodes</b></span> sub-tab and click the parameter template you created.</span></li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li25101895123443"><span>Modify the required parameters.</span><p><div class="p" id="en-us_topic_configuration__en-us_topic_0000001268931713_p1364173164419"><ul id="en-us_topic_configuration__en-us_topic_0000001268931713_ul350119264413"><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li175011217448">If you want to save the modifications, click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b84235270615238">Save</strong>.</li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li195017214414">If you want to cancel the modifications, click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b605073085">Cancel</strong>.</li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li1750122104415">If you want to preview the modifications, click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b1511570313">Preview</strong>.</li></ul>
|
|
</div>
|
|
</p></li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li779413161646"><span>After parameters are modified, click <strong id="en-us_topic_configuration__en-us_topic_0000001268931713_b559370927">Change History</strong> to view parameter modification details.</span><p><div class="p" id="en-us_topic_configuration__en-us_topic_0000001268931713_p8509171184011">For details about how to view parameter modification details, see <a href="dds_03_0110.html#dds_03_0110">Viewing Parameter Change History</a>.<div class="notice" id="en-us_topic_configuration__en-us_topic_0000001268931713_note5934144343917"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="en-us_topic_configuration__en-us_topic_0000001268931713_ul793444320398"><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li6933124393916">The modifications take effect only after you apply the parameter template to instances. For details, see <a href="dds_03_0014.html#dds_03_0014">Applying a Parameter Template</a>.</li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li1393314303912">The change history page displays only the modifications of the last seven days.</li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li476335133215">For details about the parameter template statuses, see <a href="dds_01_0026.html">DB Instance Status</a>.</li><li id="en-us_topic_configuration__en-us_topic_0000001268931713_li876612553213">After modifying a parameter, view the associated instance status in the instance list. If <span class="uicontrol" id="en-us_topic_configuration__en-us_topic_0000001268931713_uicontrol59660756182048"><b>Pending restart</b></span> is displayed, restart the instance for the modification to take effect. For details, see <a href="dds_03_0003.html">Restarting a DB Instance or a Node</a>.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dds_03_0010.html">Parameter Template Management</a></div>
|
|
</div>
|
|
</div>
|
|
|