Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article provides step-by-step instructions to configure intelligent tuning of an Azure Database for PostgreSQL flexible server.
Important
Autovacuum tuning is deprecated and is replaced with adaptive autovacuum. As a consequence, setting intelligent_tuning.metric_targets to any value that contains tuning-autovacuum is accepted but the backend function that automatically adjusts autovacuum tuning performance remains inactive.
Steps to configure intelligent tuning
Using the Azure portal:
- Select your Azure Database for PostgreSQL flexible server instance.
- In the resource menu, under Settings, select Parameters. In the search text box, type intelligent_tuning.
- The page shows two parameters:
intelligent_tuningandintelligent_tuning.metric_targets. To activate intelligent tuning, setintelligent_tuningtoon. You can select one, multiple, or all available tuning targets inintelligent_tuning.metric_targets. Select the Save button to apply these changes.
Note
Both intelligent_tuning and intelligent_tuning.metric_targets parameters are dynamic. That is, no server restart is required when their values are changed.
Considerations for selecting values for tuning targets
When you're choosing values from the intelligent_tuning.metric_targets parameter, take the following considerations into account:
The
nonevalue takes precedence over all other values. If you choosenonealongside any combination of other values, the parameter is perceived as set tonone. It's the equivalent to settingintelligent_tuningtooff, so no tuning occurs.The
allvalue takes precedence over all other values, except fornone. If you chooseallwith any combination, barringnone, all the listed parameters undergo tuning.The
allvalue encompasses all existing metric targets. This value also automatically applies to any new metric targets that you might add in the future. This allows for comprehensive and future-proof tuning of your Azure Database for PostgreSQL flexible server.