Re: why is autovacuum still ongoing even if set to off ?

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: why is autovacuum still ongoing even if set to off ?
Дата
Msg-id dcc563d10907302222l4e56dccasc1ec0048647b07f8@mail.gmail.com
обсуждение исходный текст
Ответ на Re: why is autovacuum still ongoing even if set to off ?  (Costin Grigoras <costing@gmail.com>)
Ответы Re: why is autovacuum still ongoing even if set to off ?
Список 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 по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Reg: Data Conversion in PGSQl
Следующее
От: Phoenix Kiula
Дата:
Сообщение: PG optimization on CentOS Linux file system with SCSI disks