postgresql/src/include/access
Robert Haas 596fb5aa73 Teach autovacuum about multixact member wraparound.
The logic introduced in commit b69bf30b9b
and repaired in commits 669c7d20e6 and
7be47c56af helps to ensure that we don't
overwrite old multixact member information while it is still needed,
but a user who creates many large multixacts can still exhaust the
member space (and thus start getting errors) while autovacuum stands
idly by.

To fix this, progressively ramp down the effective value (but not the
actual contents) of autovacuum_multixact_freeze_max_age as member space
utilization increases.  This makes autovacuum more aggressive and also
reduces the threshold for a manual VACUUM to perform a full-table scan.

This patch leaves unsolved the problem of ensuring that emergency
autovacuums are triggered even when autovacuum=off.  We'll need to fix
that via a separate patch.

Thomas Munro and Robert Haas
2015-05-08 12:55:14 -04:00
..
attnum.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
clog.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
genam.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
gin.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
gin_private.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
gist.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
gist_private.h Avoid palloc in critical section in GiST WAL-logging. 2014-04-03 15:44:42 +03:00
gistscan.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
hash.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
heapam.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
heapam_xlog.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
hio.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
htup.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
htup_details.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
itup.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
multixact.h Teach autovacuum about multixact member wraparound. 2015-05-08 12:55:14 -04:00
nbtree.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
printtup.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
reloptions.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
relscan.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
rewriteheap.h Rename various "freeze multixact" variables 2013-09-16 15:56:11 -03:00
rmgr.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
rmgrlist.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
sdir.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
skey.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
slru.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
spgist.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
spgist_private.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
subtrans.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
sysattr.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
timeline.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
transam.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
tupconvert.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
tupdesc.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
tupmacs.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
tuptoaster.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
twophase.h Fix race condition in preparing a transaction for two-phase commit. 2014-05-15 16:58:02 +03:00
twophase_rmgr.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
valid.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
visibilitymap.h Allow I/O reliability checks using 16-bit checksums 2013-03-22 13:54:07 +00:00
xact.h Treat 2PC commit/abort the same as regular xacts in recovery. 2014-07-29 11:57:52 +03:00
xlog.h Flush unlogged table's buffers when copying or moving databases. 2014-10-20 23:45:31 +02:00
xlog_fn.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
xlog_internal.h Don't archive bogus recycled or preallocated files after timeline switch. 2015-04-13 17:22:35 +03:00
xlogdefs.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
xlogreader.h Use the right timeline when beginning to stream from master. 2013-01-18 11:46:49 +02:00
xlogutils.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00