postgresql/src/backend/postmaster
Robert Haas 53bb309d2d 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:53:00 -04:00
..
autovacuum.c Teach autovacuum about multixact member wraparound. 2015-05-08 12:53:00 -04:00
bgworker.c Create an infrastructure for parallel computation in PostgreSQL. 2015-04-30 15:02:14 -04:00
bgwriter.c Add a default local latch for use in signal handlers. 2015-01-14 18:45:22 +01:00
checkpointer.c Replace checkpoint_segments with min_wal_size and max_wal_size. 2015-02-23 18:53:02 +02:00
fork_process.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
Makefile Allow background workers to be started dynamically. 2013-07-16 13:02:15 -04:00
pgarch.c Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
pgstat.c Add system view pg_stat_ssl 2015-04-12 19:07:46 +02:00
postmaster.c Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
startup.c Commonalize process startup code. 2015-01-14 00:33:14 +01:00
syslogger.c Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
walwriter.c Add a default local latch for use in signal handlers. 2015-01-14 18:45:22 +01:00