git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 364a9f4) | patch
Don't vacuum all-frozen pages.
2016年3月10日 21:12:10 +0000 (16:12 -0500)
2016年3月10日 21:14:42 +0000 (16:14 -0500)
commit fd31cd265138019dcccc9b5fe53043670898bc9f
Don't vacuum all-frozen pages.

Commit a892234f830e832110f63fc0a2afce2fb21d1584 gave us enough
infrastructure to avoid vacuuming pages where every tuple on the
page is already frozen. So, replace the notion of a scan_all or
whole-table vacuum with the less onerous notion of an "aggressive"
vacuum, which will pages that are all-visible, but still skip those
that are all-frozen.

This should greatly reduce the cost of anti-wraparound vacuuming
on large clusters where the majority of data is never touched
between one cycle and the next, because we'll no longer have to
read all of those pages only to find out that we don't need to
do anything with them.

Patch by me, reviewed by Masahiko Sawada.
doc/src/sgml/config.sgml diff | blob | blame | history
doc/src/sgml/maintenance.sgml diff | blob | blame | history
src/backend/commands/vacuumlazy.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /