pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: donghe@caltech.edu
To: pgsql-admin@postgresql.org
Subject: Re: postgres query is very slow
Date: Tue, 22 Jun 2010 12:33:15 -0500
Message-ID: <4C20AD8B0200002500032812@gw.wicourts.gov> (raw)
In-Reply-To: <3147.131.215.15.78.1277227423.squirrel@webmail.caltech.edu>
References: <3147.131.215.15.78.1277227423.squirrel@webmail.caltech.edu>

<donghe@caltech.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 ?
 
I recommend you re-post to the pgsql-performance list, after reading
this:
 
http://wiki.postgresql.org/wiki/SlowQueryQuestions
 
The one thing I can say based on the information you've provided so
far is that you can expect major performance improvements if you
upgrade to a new major release of PostgreSQL.
 
Well, there is one other thing -- it's almost never a good idea to
run VACUUM FULL.  You may have bloated your indexes.  You could try
a REINDEX on the database.
 
-Kevin



view thread (3+ messages)  latest in thread

Message-ID: <4C20AD8B0200002500032812@gw.wicourts.gov>
Permalink:  ../4C20AD8B0200002500032812@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4C20AD8B0200002500032812@gw.wicourts.gov

 · 

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-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, donghe@caltech.edu
  Subject: Re: postgres query is very slow
  In-Reply-To: <4C20AD8B0200002500032812@gw.wicourts.gov>
  References: <3147.131.215.15.78.1277227423.squirrel@webmail.caltech.edu> <4C20AD8B0200002500032812@gw.wicourts.gov>

* 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