Re: Server vacuuming the same table again and again - Mailing list pgsql-performance

From Ilya Kosmodemiansky
Subject Re: Server vacuuming the same table again and again
Date
Msg-id CAG95seX10uLmdFO_nr2oLeN29+Vst3xwOa20Dc3XqaTk=um6_g@mail.gmail.com
Whole thread Raw
In response to Server vacuuming the same table again and again  (Дмитрий Шалашов <skaurus@gmail.com>)
Responses Re: Server vacuuming the same table again and again
List pgsql-performance
Hi Dmitry,

On Fri, Apr 25, 2014 at 9:47 AM, Дмитрий Шалашов <skaurus@gmail.com> wrote:
> cancelled autovacuum and it seems to help.

> In the morning autovacuum was back. And then it finished and I gone to work.

Actually, thise two things are tightly bound and there is no chance to
avoid vacuum, you can only postpone it, this kind of work eventually
supposed to be done.

What you really need to do as a first thing - configure your
autovacuum aggressively enough and then mayde ionice autovacuum
instead of mission critical ckeckpointer or bgwriter.

Which exact values have you in the following settings:

 autovacuum_analyze_scale_factor
 autovacuum_analyze_threshold
 autovacuum_freeze_max_age
 autovacuum_max_workers
 autovacuum_naptime
 autovacuum_vacuum_cost_delay
 autovacuum_vacuum_cost_limit
 autovacuum_vacuum_scale_factor
 autovacuum_vacuum_threshold
 log_autovacuum_min_duration

?

Best regards, Ilya
>
> Best regards,
> Dmitriy Shalashov



--
Ilya Kosmodemiansky,

PostgreSQL-Consulting.com
tel. +14084142500
cell. +4915144336040
ik@postgresql-consulting.com


pgsql-performance by date:

Previous
From: Дмитрий Шалашов
Date:
Subject: Server vacuuming the same table again and again
Next
From: Дмитрий Шалашов
Date:
Subject: Re: Server vacuuming the same table again and again