Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2011-02-08 03:04:29 +0000
committerRobert Haas2011-02-08 03:04:29 +0000
commit32896c40ca766146312b28a5a0eb3f66ca0300ed (patch)
tree88596b8de0a3d0f57beaf994ff8ace6eda6fd9ba /src/backend/commands/dbcommands.c
parent47082fa875179ae629edb26807ab3f38a775280b (diff)
Avoid having autovacuum workers wait for relation locks.
Waiting for relation locks can lead to starvation - it pins down an autovacuum worker for as long as the lock is held. But if we're doing an anti-wraparound vacuum, then we still wait; maintenance can no longer be put off. To assist with troubleshooting, if log_autovacuum_min_duration >= 0, we log whenever an autovacuum or autoanalyze is skipped for this reason. Per a gripe by Josh Berkus, and ensuing discussion.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions