forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
32 lines
10 KiB
HTML
32 lines
10 KiB
HTML
<a name="rds_pg_configuration"></a><a name="rds_pg_configuration"></a>
|
|
|
|
<h1 class="topictitle1">Modifying Instance Parameters</h1>
|
|
<div id="body8662426"><p id="rds_pg_configuration__en-us_topic_0171122799_p2518171111612">You can modify parameters in a custom parameter template to optimize <span id="rds_pg_configuration__text8447117154016">RDS</span> database performance.</p>
|
|
<p id="rds_pg_configuration__en-us_topic_0171122799_p18536553173910">You can change parameter values in custom parameter templates only and cannot change parameter values in default parameter templates. When you change parameter values in a custom parameter template, the changes take effect for all DB instances that the parameter template applies to.</p>
|
|
<p id="rds_pg_configuration__en-us_topic_0171122799_p4642142211410">When you modify a parameter, the time when the modification takes effect is determined by the type of the parameter.</p>
|
|
<p id="rds_pg_configuration__en-us_topic_0171122799_p464212213415">The <span id="rds_pg_configuration__text1465919579582">RDS</span> console displays the statuses of DB instances that the parameter template applies to. For example, if the DB instance has not yet used the latest modifications made to its parameter template, its status is <span class="uicontrol" id="rds_pg_configuration__uicontrol117001527955"><b>Parameter change. Pending reboot</b></span>. Manually reboot the DB instance for the latest modifications to take effect for that DB instance.</p>
|
|
<div class="note" id="rds_pg_configuration__en-us_topic_0171122799_note18110437214655"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="rds_pg_configuration__en-us_topic_0171122799_p28776210214655">RDS has default parameter templates whose parameter values cannot be changed. You can view these parameter values by clicking the default parameter templates. If a custom parameter template is set incorrectly, the database startup may fail. If this happens, you can re-configure the custom parameter template based on the settings of the default parameter template.</p>
|
|
</div></div>
|
|
<div class="section" id="rds_pg_configuration__section189171745015"><h4 class="sectiontitle">Modifying Parameters of a DB Instance</h4><ol id="rds_pg_configuration__ol14395102595018"><li id="rds_pg_configuration__li12395225125018"><span>Log in to the management console.</span></li><li id="rds_pg_configuration__li73952025155017"><span>Click <span><img id="rds_pg_configuration__rds_modify_instance_name_en-us_topic_0192953815_image192529212293" src="en-us_image_0000001191211679.png"></span> in the upper left corner and select a region and a project.</span></li><li id="rds_pg_configuration__li163951125145017"><span>Click <strong id="rds_pg_configuration__rds_modify_instance_name_b171171523153019">Service List</strong>. Under <strong id="rds_pg_configuration__rds_modify_instance_name_b111722319302">Database</strong>, click <strong id="rds_pg_configuration__rds_modify_instance_name_b15118152363010">Relational Database Service</strong>. The RDS console is displayed.</span></li><li id="rds_pg_configuration__li8396102505015"><span>On the <strong id="rds_pg_configuration__b84235270615219">Instances</strong> page, click the target DB instance.</span></li><li id="rds_pg_configuration__li173974254501"><span>In the navigation pane on the left, choose <strong id="rds_pg_configuration__b168414816223">Parameters</strong>. On the displayed page, modify parameters as required.</span><p><p id="rds_pg_configuration__p1740212255506">Available operations are <strong id="rds_pg_configuration__b2042732117300">Save</strong>, <strong id="rds_pg_configuration__b1489182453019">Cancel</strong>, and <strong id="rds_pg_configuration__b14293627133017">Preview</strong>:</p>
|
|
<ul id="rds_pg_configuration__ul1740412575019"><li id="rds_pg_configuration__li54041425175010">To save the modifications, click <strong id="rds_pg_configuration__b11819174215106">Save</strong>.</li><li id="rds_pg_configuration__li104041325195010">To cancel the modifications, click <strong id="rds_pg_configuration__b3612844162815">Cancel</strong>.</li><li id="rds_pg_configuration__li164041259502">To preview the modifications, click <strong id="rds_pg_configuration__b025216453100">Preview</strong>.</li></ul>
|
|
<div class="notice" id="rds_pg_configuration__note11402172511502"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><div class="p" id="rds_pg_configuration__p17402152585017">In the <span class="uicontrol" id="rds_pg_configuration__target_target_uicontrol83171621560"><b>Effective upon Reboot</b></span> column:<ul id="rds_pg_configuration__ul1140315259507"><li id="rds_pg_configuration__li10403825195018">If the value is <strong id="rds_pg_configuration__b109381749183112">Yes</strong> and the DB instance status on the <strong id="rds_pg_configuration__b3943849123110">Instances</strong> page is <span class="uicontrol" id="rds_pg_configuration__uicontrol494314911311"><b>Parameter change. Pending reboot</b></span>, a reboot is required for the modifications to take effect.<ul id="rds_pg_configuration__ul1404192565019"><li id="rds_pg_configuration__li9404172525012">If you have modified parameters of a primary DB instance, you need to reboot the primary DB instance for the modifications to take effect. (For primary/standby DB instances, the parameter modifications are also applied to the standby DB instance.)</li><li id="rds_pg_configuration__li20404182575014">If you have modified parameters of a read replica, you need to reboot the read replica for the modifications to take effect.</li></ul>
|
|
</li><li id="rds_pg_configuration__li1940432525014">If the value is <strong id="rds_pg_configuration__b18611230461">No</strong>, the modifications take effect immediately.</li></ul>
|
|
</div>
|
|
</div></div>
|
|
<p id="rds_pg_configuration__p12404825105010">After parameters are modified, you can view parameter change history by referring to section <a href="rds_pg_05_0099.html">Viewing Parameter Change History</a>.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="rds_pg_configuration__section11158153171920"><h4 class="sectiontitle">Modifying Parameter Template Parameters</h4><ol id="rds_pg_configuration__ol24590471123443"><li id="rds_pg_configuration__li17616348171"><span>Log in to the management console.</span></li><li id="rds_pg_configuration__li146168481712"><span>Click <span><img id="rds_pg_configuration__rds_modify_instance_name_en-us_topic_0192953815_image192529212293_1" src="en-us_image_0000001191211679.png"></span> in the upper left corner and select a region and a project.</span></li><li id="rds_pg_configuration__li96167481711"><span>Click <strong id="rds_pg_configuration__rds_modify_instance_name_b171171523153019_1">Service List</strong>. Under <strong id="rds_pg_configuration__rds_modify_instance_name_b111722319302_1">Database</strong>, click <strong id="rds_pg_configuration__rds_modify_instance_name_b15118152363010_1">Relational Database Service</strong>. The RDS console is displayed.</span></li><li id="rds_pg_configuration__li6199431815312"><span>Choose <span class="uicontrol" id="rds_pg_configuration__uicontrol799950215383"><b>Parameter Template Management</b></span> in the navigation pane on the left. On the <span class="uicontrol" id="rds_pg_configuration__uicontrol1651258393184357"><b>Custom Templates</b></span> page, click the target parameter template.</span></li><li id="rds_pg_configuration__li25101895123443"><span>On the <strong id="rds_pg_configuration__b2045418219402">Parameters</strong> page, modify parameters as required.</span><p><p id="rds_pg_configuration__p3611601215161">Available operations are <strong id="rds_pg_configuration__b16115021133612">Save</strong>, <strong id="rds_pg_configuration__b1232602453617">Cancel</strong>, and <strong id="rds_pg_configuration__b3517192710368">Preview</strong>:</p>
|
|
<ul id="rds_pg_configuration__ub21ec1396956413ca8824530022b89b3"><li id="rds_pg_configuration__ldde4ac85506b42df909f1b3ff5eef236">To save the modifications, click <strong id="rds_pg_configuration__b2487311087">Save</strong>.</li><li id="rds_pg_configuration__ldc58504351bb448d844bb9bd9d16c5fb">To cancel the modifications, click <strong id="rds_pg_configuration__b15847172980">Cancel</strong>.</li><li id="rds_pg_configuration__lcd027b10b2854209aa65126870e6b78b">To preview the modifications, click <strong id="rds_pg_configuration__b3894133484">Preview</strong>.</li></ul>
|
|
</p></li><li id="rds_pg_configuration__li4405101416597"><span>After the parameter values are modified, you can click <span class="uicontrol" id="rds_pg_configuration__uicontrol1342418233408"><b>View Change History</b></span> to view the modification details.</span></li><li id="rds_pg_configuration__li240863584918"><span>The modifications take effect only after you apply the parameter template to DB instances. For details, see <a href="rds_pg_05_0018.html">Applying a Parameter Template</a>.</span></li><li id="rds_pg_configuration__li1825934211501"><span>View the status of the DB instance to which the parameter template was applied.</span><p><p id="rds_pg_configuration__p7818105620474">If the DB instance status is <strong id="rds_pg_configuration__b11878344113119">Parameter change. Pending reboot</strong>, a reboot is required for the modifications to take effect.</p>
|
|
<ul id="rds_pg_configuration__ul24571433114816"><li id="rds_pg_configuration__li54571833164817">A DB instance reboot caused by instance class changes will not make parameter modifications take effect.</li><li id="rds_pg_configuration__li102001830154812">If you have modified parameters of a primary DB instance, you need to reboot the primary DB instance for the modifications to take effect. (For primary/standby DB instances, the parameter modifications are also applied to the standby DB instance.)</li><li id="rds_pg_configuration__li1820110302481">If you have modified parameters of a read replica, you need to reboot the read replica for the modifications to take effect.</li></ul>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_09_0034.html">Parameter Template Management</a></div>
|
|
</div>
|
|
</div>
|
|
|