Re: Select query takes long to execute

From: "Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Select query takes long to execute
Date: 2003-05-29 14:24:43
Message-ID: 3ED66583.20384.551042A@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 29 May 2003 at 8:58, Kevin Schroeder wrote:
> If anyone has any ideas as to why the query is taking so long and what I can
> do to make it more efficient I would love to know.

Check yor shared buffers setting and effective OS cache setting. If these are
appropriately tuned, then it should be fast enough.

Is the table vacuumed? Is index taking too much space? Then try reindexing. It
might help as vacuum does not reclaim wasted space in index.

HTH

Bye
Shridhar

--
Wait! You have not been prepared! -- Mr. Atoz, "Tomorrow is Yesterday",
stardate 3113.2

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message SZUCS Gábor 2003-05-29 14:27:10 Re: Query problem fixed
Previous Message Kevin Schroeder 2003-05-29 14:09:23 Query problem fixed