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

From Matthew T. O'Connor
Subject Re: count(*) performance
Date
Msg-id 44283B42.7060803@zeut.net
Whole thread Raw
In response to Re: count(*) performance  (Gábriel Ákos <akos.gabriel@i-logic.hu>)
List pgsql-performance
Gábriel Ákos wrote:
> Luke Lonergan wrote:
>> Gabriel,
>>
>> On 3/27/06 10:05 AM, "Gábriel Ákos" <akos.gabriel@i-logic.hu> wrote:
>>
>>> That gave me an idea. I thought that autovacuum is doing it right, but I
>>> issued a vacuum full analyze verbose , and it worked all the day.
>>> After that I've tweaked memory settings a bit too (more fsm_pages)
>>
>> Oops! I replied to your disk speed before I saw this.
>>
>> The only thing is - you probably don't want to do a "vacuum full", but
>> rather a simple "vacuum" should be enough.
>
> I thought that too. Autovacuum is running on our system but it didn't do
> the trick. Anyway the issue is solved, thank you all for helping. :)

Yeah, it would be nice of autovacuum had some way of raising a flag to
the admin that given current settings (thresholds, FSM etc...), it's not
keeping up with the activity.  I don't know how to do this, but I hope
someone else has some good ideas.

Matt


pgsql-performance by date:

Previous
From: Brendan Duddridge
Date:
Subject: Re: count(*) performance
Next
From: Alvaro Herrera
Date:
Subject: Re: count(*) performance