Re: what should be the best autovacuum configuration for daily partition table

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: AI Rumman <rummandba(at)gmail(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: what should be the best autovacuum configuration for daily partition table
Date: 2014-05-14 19:45:23
Message-ID: CAMkU=1wJ+JGQ4kc5W9vxYcfU11UGmAQspKVgDC+0MVK236KBWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, May 14, 2014 at 12:06 AM, AI Rumman <rummandba(at)gmail(dot)com> wrote:

> Hi,
>
> I have a table with daily partition setup where old partitions are static
> tables that is after each day we don't get any new data in old partitions.
> The database size is 2 TB and I am running with autovacuum on for
> Postgresql 8.4.
> Now, I am facing a problem where old tables are not being vacuumed by
> autovacuum deamon and every now and then we are seeing autovacuum to
> prevent wrap around in the database and age(datfrozenzid) gets high for the
> database.
> Any idea what should be best configuration for this type of database
> environment.
>

How high is age(datfrozenxid) getting? What is the problem you are
experiencing?

Cheers,

Jeff

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Keith 2014-05-15 03:27:11 Re: what should be the best autovacuum configuration for daily partition table
Previous Message chiru r 2014-05-14 19:33:27 Re: what should be the best autovacuum configuration for daily partition table