From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Royce Ausburn <royce(dot)ml(at)inomial(dot)com> |
Cc: | pgsql-performance <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: Ineffective autovacuum |
Date: | 2011-09-27 13:49:14 |
Message-ID: | 22112.1317131354@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Royce Ausburn <royce(dot)ml(at)inomial(dot)com> writes:
> Since sending this first email I've up'd the autovacuum log level and I've noticed that the same tables seem to be auto vacuum'd over and over again Some of the tables are a bit surprising in that they're updated semi-regularly, but not enough (I'd think) to warrant an autovacuum every few minutes Is this unusual?
Well, that proves autovacuum isn't getting blocked anyway. At this
point I suspect that Marti has fingered the correct issue: you likely
need to increase the FSM settings. You should try running a manual
VACUUM VERBOSE and see if it suggests that more FSM space is needed
(there'll be some FSM stats at the end of the verbose printout).
> Perhaps unrelated: I've done some digging around and happened across a nightly task doing:
> select pg_stat_reset()
> on each of the databases in the cluster. I've no idea why we're doing that (and our usual sysadmin / DBA has resigned, so I doubt I'll ever know). There must have been a reason at the time, but I wonder if this might be interfering with things?
Hmm, it's not helping any. Anything that needs vacuuming, but less
often than once a day, would get missed due to the stats getting
forgotten.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2011-09-27 14:00:08 | Re: Ineffective autovacuum |
Previous Message | Timothy Garnett | 2011-09-27 12:57:12 | Re: Performance Anomaly with "col in (A,B)" vs. "col = A OR col = B" ver. 9.0.3 |