All Products
Search
Document Center

ApsaraDB RDS:Modify parameters

Last Updated:Mar 28, 2026

ApsaraDB RDS for MariaDB lets you view and modify instance parameters from the ApsaraDB RDS console or by calling API operations. Use parameter modification to tune database behavior — for example, adjusting connection limits, buffer sizes, or query timeouts — without replacing the instance.

Parameter behavior: dynamic vs. static

Parameters fall into two categories:

TypeBehaviorHow to check
DynamicChanges take effect within approximately 5 minutes — no restart requiredForce Restart column shows No
StaticChanges take effect only after the instance restartsForce Restart column shows Yes

To check whether a specific parameter requires a restart, go to the Editable Parameters tab and look at the Force Restart column.

Important

Schedule static parameter changes during off-peak hours and configure your application to reconnect automatically, because the instance restarts immediately when you click Apply Changes.

Prerequisites

Before you begin, ensure that you have:

Modify a single parameter

  1. Log on to the ApsaraDB RDS console.

  2. In the top navigation bar, select the region where your instance resides.

  3. Find the instance and click its instance ID.

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

  5. On the Editable Parameters tab, find the parameter you want to change. Check the Value Range column to see the allowed values.

  6. Click the edit icon next to the parameter, enter the new value, and click OK.

  7. Click Apply Changes at the top of the page, then click OK in the dialog box.

    If Force Restart is Yes for the parameter, the instance restarts immediately after you click OK.

Modify multiple parameters

Use Export Parameters and Import Parameters to update several parameters at once.

  1. Log on to the ApsaraDB RDS console.

  2. In the top navigation bar, select the region where your instance resides.

  3. Find the instance and click its instance ID.

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

  5. On the Editable Parameters tab, click Export Parameters to download the current parameter settings as a file.

  6. Open the file, update the parameter values, and save it.

  7. Click Import Parameters, paste the updated parameter settings into the Import Parameters dialog box, and click OK.

  8. Review the changed values, then click Apply Changes. In the dialog box, click OK.

View parameter change history

  1. Log on to the ApsaraDB RDS console.

  2. In the top navigation bar, select the region where your instance resides.

  3. Find the instance and click its instance ID.

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

  5. Click the Edit History tab.

  6. Select a time range and click OK.

Parameter reference

For descriptions of all available parameters, see MariaDB server system variables.

Only a subset of parameters is available for modification in the console. This restriction protects instance stability.

FAQ

Do parameter changes take effect immediately? Does the instance restart?

It depends on the parameter type. Dynamic parameters take effect within approximately 5 minutes without a restart. Static parameters take effect only after the instance restarts. To check which type a parameter is, look at the Force Restart column on the Editable Parameters tab.

I modified parameters, but the new values are not active. What happened?

Make sure you clicked Apply Changes after editing. Changes are not saved until you apply them.

API reference

OperationDescription
ModifyParameterModifies the parameters of an instance
DescribeParameterTemplatesQueries the parameter templates available for an instance
DescribeParametersQueries the current parameter settings of an instance