Re: select count(*) performance - Mailing list pgsql-performance

From Scott Marlowe
Subject Re: select count(*) performance
Date
Msg-id dcc563d10708171814q64ff79fdx5bd32477f81a1157@mail.gmail.com
Whole thread Raw
In response to Re: select count(*) performance  (Detlef Rudolph <runic@gmx.de>)
List pgsql-performance
On 8/11/07, Detlef Rudolph <runic@gmx.de> wrote:
> Hello Group,
>
> I've tried the VACUUM ANALYSE, that doesn't help
> much, but VACUUM FULL improves Performance down
> from about 40 secs to 8.

If vacuum full fixes a performance problem, then you have a regular
vacuum problem of some sort.

Make sure regular vacuum runs often enough and make sure your fsm
settings are high enough to allow it to reclaim all deleted tuples
when it does run.

pgsql-performance by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: Raid Configurations
Next
From: Alvaro Herrera
Date:
Subject: Re: Simple select hangs while CPU close to 100% - Analyze