Content-Length: 237912 | pFad | http://github.com/postgrespro/postgres/commit/7d4c9a5793b49633be0fae7653552f3fb4a812c0

C5 Add the "recheck" logic to autovacuum worker code. The worker first … · postgrespro/postgres@7d4c9a5 · GitHub
Skip to content

Commit 7d4c9a5

Browse files
committed
Add the "recheck" logic to autovacuum worker code. The worker first builds
its table list and then rechecks pgstat before vacuuming each table to verify that no one has vacuumed the table in the meantime. In the current autovacuum world this only means that a worker will not vacuum a table that a user has vacuumed manually after the worker started. When support for multiple autovacuum workers is introduced, this will reduce the probability of simultaneous workers on the same database doing redundant work.
1 parent 685badd commit 7d4c9a5

File tree

2 files changed

+302
-110
lines changed

2 files changed

+302
-110
lines changed

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/7d4c9a5793b49633be0fae7653552f3fb4a812c0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy