Re: postgresql meltdown on PlanetMath.org

From: "Neil Conway" <neilc(at)samurai(dot)com>
To: <sean(at)chittenden(dot)org>
Cc: <logan(at)datacurrent(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: postgresql meltdown on PlanetMath.org
Date: 2003-03-17 06:18:59
Message-ID: 33137.130.15.224.150.1047881939.squirrel@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Sean Chittenden said:
>> A "select count(*) FROM tblwordidx" initially took about 1 second to
>> return a count of 2 million but after a few months it took several
>> minutes of really hard HDD grinding.
>
> That's because there are dead entries in the index that weren't being
> reused or cleaned up. As I said, this has been fixed.

That's doubtful: "select count(*) FROM foo" won't use an index. There are
a bunch of other factors (e.g. dead heap tuples, changes in the pages
cached in the buffer, disk fragmentation, etc.) that could effect
performance in that situation, however.

Cheers,

Neil

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Sean Chittenden 2003-03-17 06:29:29 Re: postgresql meltdown on PlanetMath.org
Previous Message Logan Bowers 2003-03-17 06:12:34 Re: postgresql meltdown on PlanetMath.org