Configure cluster parameters

更新时间:
复制 MD 格式

This topic describes how to modify cluster parameters in the PolarDB for PostgreSQL or console.

Note

You can modify only the parameters displayed in the console.

Procedure

  1. Log on to the PolarDB console.

  2. In the upper-left corner, select the region where the cluster is deployed.

  3. Find the target cluster and click its ID.

  4. In the left-side navigation pane, choose Settings and Management > Parameters.

  5. In the upper-left corner of the page, click Modify Parameters.

  6. Find the target parameter and enter a new value.

    Note
    • You must enter a value that is within the valid range specified in the Range to Be Modified column. Otherwise, an error message appears when you click Submit Changes.

    • You can click the 参数图标 icon next to the parameter name to view its description.

  7. In the upper-left corner, click Submit Changes. In the Save Changes dialog box, click OK.

    Warning

    If the Force Restart value for a parameter is Yes, the cluster will restart when you click OK. Plan your operations accordingly and proceed with caution.

View parameter modification history

  1. Log on to the PolarDB console.

  2. In the upper-left corner, select the region where the cluster is deployed.

  3. Find the target cluster and click its ID.

  4. In the left-side navigation pane, choose Settings and Management > Parameters.

  5. In the upper-left corner of the page, click Parameter Modification History.

  6. Select a time range and click OK.

    The parameter modification records for the selected time range appear. The table includes the following columns: Parameter Name, Old Value, New Value, Effective, and Modification Time.

Related APIs

API

Description

DescribeDBClusterParameters

Queries cluster parameters.

ModifyDBClusterParameters

Modifies cluster parameters.