Skip to content
Snippets Groups Projects
Commit 18206509 authored by Alvaro Herrera's avatar Alvaro Herrera
Browse files

Restructure autovacuum in two processes: a dummy process, which runs

continuously, and requests vacuum runs of "autovacuum workers" to postmaster.
The workers do the actual vacuum work.  This allows for future improvements,
like allowing multiple autovacuum jobs running in parallel.

For now, the code keeps the original behavior of having a single autovac
process at any time by sleeping until the previous worker has finished.
parent eecbb332
No related branches found
No related tags found
No related merge requests found
Showing
with 799 additions and 242 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment