All Products
Search
Document Center

AnalyticDB:Configure parameters

Last Updated:Mar 28, 2026

AnalyticDB for PostgreSQL exposes a set of instance-level parameters that let you tune query behavior, statement timeouts, and coordinator consistency to match your workload.

Prerequisites

Before you begin, ensure that you have:

Modify a parameter

  1. Log on to the AnalyticDB for PostgreSQL console.

  2. In the upper-left corner, select a region.

  3. Find the instance you want to manage and click its instance ID.

  4. In the left-side navigation pane, click Parameters.

  5. On the Modifiable Parameters tab, find the parameter you want to change and click the edit icon in the Running Value column.

  6. Enter the new value and click OK.

  7. Click Submit in the upper-right corner of the Modifiable Parameters tab.

  8. In the Modify Parameters dialog box, click OK.

Parameter reference

The following table lists the parameters you can configure.

ParameterTypeDefaultValid valuesDescription
optimizerBooleanonon, offControls which query optimizer the instance uses. on activates the Orca optimizer. off falls back to the Legacy optimizer. For details, see Optimize query performance.
statement_timeoutInteger10800000086400000 (ms)The maximum time a SQL statement can run before the instance stops it. Valid values: 0 to 86400000. Unit: milliseconds.
rds_master_modeEnumsinglesingle, multi_write_ec, multi_write_scThe consistency mode for the coordinator layer. This parameter is valid only when the instance has multiple coordinator nodes. See the table below for details.

rds_master_mode values

This parameter is valid only when the instance has multiple coordinator nodes.

ValueConsistency modelGuarantees
singleSingle coordinatorThe instance uses one coordinator node.
multi_write_ecSession consistencyWithin a session: monotonic reads, monotonic writes, reads after writes, and writes after reads.
multi_write_scGlobal consistencyFull atomicity, consistency, isolation, and durability (ACID) and linearizability across all sessions.

What's next

To control how much compute resources each query can consume, see Use resource queues to perform workload management.