Re: why is autovacuum still ongoing even if set to off ? - Mailing list pgsql-general

From Scott Marlowe
Subject Re: why is autovacuum still ongoing even if set to off ?
Date
Msg-id dcc563d10907302222l4e56dccasc1ec0048647b07f8@mail.gmail.com
Whole thread Raw
In response to Re: why is autovacuum still ongoing even if set to off ?  (Costin Grigoras <costing@gmail.com>)
Responses Re: why is autovacuum still ongoing even if set to off ?
List pgsql-general
On Thu, Jul 30, 2009 at 10:56 PM, Costin Grigoras<costing@gmail.com> wrote:
> The insertion rate is ~250 records / second, quite uniformly spread in time
> over ~3000 tables. To reach 2^31 something like 100 days are needed and the
> cluster is less than 10 days old. And we do vacuuming :)

I do believe there are some things that can increment the transaction
count without being an insert.

Also, I believe autovacuum actually logs that it's starting up JUST
because of wraparound, so yeah, that's likely not it now that I've
thought on it.

> Anyway, if for whatever reason autovacuum kicks in, it should at least sleep
> a while between moving to the next table and then it wouldn't be a major
> issue. But the configuration option set doesn't seem to include such an
> option.

Anytime autovacuum is instrusive look at incrementing the nap time to
10 to 20 ms.  If that doesn't help then you're already running on the
ragged edge of IO throughput and might need to look into a faster RAID
array or something.

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Reg: Data Conversion in PGSQl
Next
From: Phoenix Kiula
Date:
Subject: PG optimization on CentOS Linux file system with SCSI disks