-
+
Routine Database Maintenance Tasks
The autovacuum daemon> actually consists of multiple processes.
There is a persistent daemon process, called the
autovacuum launcher, which is in charge of starting
- an autovacuum worker process on each database every
- seconds. On each run, the worker
- process checks each table within that database, and executes
- VACUUM> and/or ANALYZE> commands as needed.
+ autovacuum worker processes for all databases. The
+ launcher will distribute the work across time, but attempt to start one
+ worker on each database every
+ seconds. One worker will be launched for each database, with a maximum
+ of processes running at the
+ same time. If there are more than
+ databases to be processed,
+ the next database will be processed as soon as the first worker finishes.
+ The worker processes will check each table within its database and
+ execute VACUUM> and/or ANALYZE> as needed.