May 2019
Intermediate to advanced
600 pages
20h 46m
English
The postgresql.conf file also allows include directives, which look like the following:
include 'autovacuum.conf'
These specify another file that will be read at that point, just as if those parameters had been included in the main file.
This can be used to maintain multiple sets of files for the autovacuum configuration. Let's say we have a website that is busy mainly during the daytime, with some occasional nighttime use. We decide to have two profiles, one for daytime, when we want less aggressive autovacuuming, and another at night, where we can allow more aggressive vacuuming:
autovacuum = onautovacuum_max_workers = 3include 'autovacuum.conf'
Read now
Unlock full access