From: | Markus Schaber <schabi(at)logix-tt(dot)com> |
---|---|
To: | kah_hang_ang(at)toray(dot)com(dot)my |
Cc: | "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: extremely slow when execute select/delete for certain |
Date: | 2006-05-08 09:21:16 |
Message-ID: | 445F0D8C.3040106@logix-tt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Hi, Kah,
kah_hang_ang(at)toray(dot)com(dot)my wrote:
> I already vacuum those tables with full option but it still the same.
>
> What could be the possible causes of this problem?
> How can I solve it?
>
> CPU - Intel Xeon 2.40 GHz
> Memory - 1.5G
> Postgresql version: 7.2.2
First, you should consider to upgrade your PostgreSQL server to a newer
version, at least to 7.2.8 which fixes some critical bugs.
But it will be much better to upgrade to current 8.1 version, as I think
that your problem is caused by index bloat, and indices are handled much
better in 8.1.
Try recreating your indices using REINDEX command.
HTH,
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org
From | Date | Subject | |
---|---|---|---|
Next Message | Andrus | 2006-05-08 10:59:39 | Query runs 38 seconds for small database! |
Previous Message | kah_hang_ang | 2006-05-08 08:47:44 | extremely slow when execute select/delete for certain tables only... |