pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
To: pgsql-performance@postgresql.org
Subject: Re: Select query takes long to execute
Date: Thu, 29 May 2003 19:54:43 +0530
Message-ID: <3ED66583.20384.551042A@localhost> (raw)
In-Reply-To: <005501c325ea$5879ad10$0200a8c0@WORKSTATION>

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




view thread (6+ messages)  latest in thread

Message-ID: <3ED66583.20384.551042A@localhost>
Permalink:  ../3ED66583.20384.551042A@localhost/
Also on:    postgresql.org/message-id/3ED66583.20384.551042A@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: shridhar_daithankar@persistent.co.in
  Subject: Re: Select query takes long to execute
  In-Reply-To: <3ED66583.20384.551042A@localhost>
  References: <005501c325ea$5879ad10$0200a8c0@WORKSTATION> <3ED66583.20384.551042A@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox