Re: Performance suggestions?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: "Harvey, Allan AC" <HarveyA(at)OneSteel(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Performance suggestions?
Date: 2004-12-15 14:44:25
Message-ID: 20041215144425.GA13637@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Dec 15, 2004 at 10:22:31 +1100,
"Harvey, Allan AC" <HarveyA(at)OneSteel(dot)com> wrote:
> Hi all,
>
> I'm after suggestions on how to keep the initial performance
> of a system I've put together for longer than 2 minutes.
>
> I have a small table about 20 rows, a constant, that is receiving
> about 160 updates per second.
> The table is used to share gathered data to other process asynchronously.
> After 5 min it is 12 updates per second.
> Performance returns after a vacuum analyse.

You should vacuum that table after a very short period of time. From your
description, I would guess that you want to vacuum it at least once a
minute, probably more often if the vacuum itself doesn't slow things
down too much.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2004-12-15 15:02:30 Re: Corrupt RTREE index
Previous Message Berend Tober 2004-12-15 13:14:56 Re: pgplsql SELECT INTO ... FOR UPDATE