Configuring EDB Postgres Tuner
To run EDB Postgres Tuner, you need to add it to the shared_preload_libraries
and create the extension in the database. EDB Postgres Tuner can then gather metrics to make tuning recommendations.
In the
postgresql.conf
file, addedb_pg_tuner
to theshared_preload_libraries
parameter:Note
If
shared_preload_libraries
has other extensions, then you can addedb_pg_tuner
to the list. The order doesn't matter.Restart Postgres.
Create the EDB Postgres Tuner extension in your database with the following command:
Parameters
The following custom GUCs control the EDB Postgres Tuner extension behavior. If you modify these parameters, then reload Postgres to apply the changes.
edb_pg_tuner.autotune
— Applies tuning recommendations automatically. The default isfalse
.edb_pg_tuner.naptime
— Sets the interval between each check in seconds. The default is 600 seconds (10 minutes).edb_pg_tuner.max_wal_size_limit
— Sets the maximum value for themax_wal_size
recommendation. The default is0
, which sets no limit.
- On this page
- Parameters
Could this page be better? Report a problem or suggest an addition!