Re: postgres query is very slow

From: "Dai, Tino" <tdai(at)loc(dot)gov>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: postgres query is very slow
Date: 2010-06-30 21:03:52
Message-ID: 1CA7FF980DA3824F9A5C31532B7A40DCDAD46A41@LCXCLMB01.LCDS.LOC.GOV
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

<donghe(at)caltech(dot)edu> wrote:

> I built a database on postgres8.1, then I did VACUUM FULL ANALYZE, but
> the query is still slow.
> Has anybody an idea ?

When I had performance problems, what I did was go through the specific
queries that we presenting the performance problem and used an analyze on
those queries. I found that there was a significant performance issues
with the way that some queries were fashioned. What I ended up doing was
switching to 8.2.

-Tino

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Joshua D. Drake 2010-06-30 21:54:03 Re: postgres database user account
Previous Message Tom Lane 2010-06-30 20:59:24 Re: cache lookup failed for index