Re: stats collector suddenly causing lots of IO - Mailing list pgsql-performance

From Tom Lane
Subject Re: stats collector suddenly causing lots of IO
Date
Msg-id 11003.1271435994@sss.pgh.pa.us
Whole thread Raw
In response to Re: stats collector suddenly causing lots of IO  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
I wrote:
> So this *should* have resulted in the stats file shrinking.  Did you
> happen to notice if it did, after you did this?

Oh, never mind that --- I can see that it did shrink, just from counting
the write() calls in the collector's strace.  So what we have here is a
demonstration that the tabpurge mechanism does work for you, when it's
invoked.  Which is further evidence that for some reason autovacuum is
not running for you.

What I'd suggest at this point is cranking up log_min_messages to DEBUG2
or so in postgresql.conf, restarting the postmaster, and keeping an eye
on the log to see if you can spot anything about why autovac isn't
working.

            regards, tom lane

pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Autovaccum with cost_delay does not complete on one solaris 5.10 machine
Next
From: Tom Lane
Date:
Subject: Re: stats collector suddenly causing lots of IO