Re: Performance degrades until dump/restore

From: Alban Hertroys <haramrae(at)gmail(dot)com>
To: Chris <bajasands(at)gmail(dot)com>
Cc: Chris Travers <chris(dot)travers(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Performance degrades until dump/restore
Date: 2012-04-19 15:40:36
Message-ID: CAF-3MvPgOX0m2EditVtCpqPAttp3HPkn+55qKQye2MZHnnUyeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 19 April 2012 16:09, Chris <bajasands(at)gmail(dot)com> wrote:
> Hi Chris,
> It is postgres 9.1, with default settings.  The autovacuum settings are all
> commented out, I have not change dthem. My understanding is that analyze is
> also run automatically by default.
>
> So, I believe the answer to both questions is 'Yes'.

Most likely autovacuum is falling behind with default settings. If
that's the case, increasing the frequency with which it checks that
particular table should help.

Or you can explicitly run VACUUM ANALYZE after a batch of inserts finished.
--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martín Marqués 2012-04-19 15:40:40 Money in numeric field
Previous Message Chris Angelico 2012-04-19 15:31:00 Re: problem with serial