Re: Autoanalyze of the autovacuum daemon ...

From: Baptiste LHOSTE <blhoste(at)alaloop(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Cc: Sylvain CAILLET <scaillet(at)alaloop(dot)com>, cedric(at)2ndquadrant(dot)com
Subject: Re: Autoanalyze of the autovacuum daemon ...
Date: 2012-11-08 08:54:19
Message-ID: 1564515179.9216202.1352364859841.JavaMail.root@alaloop.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

> So that an auto-ANALYZE should run each 2.5-3 hours.
>
> If it does not proceed, check that you do not have some process still doing manual maintenance or DDL on those tables, they might
> lock the table and kill autovacuum
>
> (check the pg_stat_activity, and set log_autovacuum_min_duration=0 to track all job done by autovacuum)

Sorry for my late answer, but since two days I noticed some improvements so I decided to wait a little bit to confirm these.

Finally the autovacuum daemon seems to work correctly. It does not proceed an auto-ANALYZE each 3 hours, it is more about each 12 hours but it is much better than at the beginning.

The fact is the autovacuum daemon took about 10 days to become effective on both kind of tables, maybe it needs this period to catch up and be effective.

Thanks for your time, Regards, Baptiste.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Rural Hunter 2012-11-08 14:07:44 analyze log question on parent/children tables
Previous Message Craig Ringer 2012-11-08 02:39:25 Re: bumping all sequence ids in a schema