pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: smiley2211 <smiley2211@yahoo.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Database Statistics???
Date: Fri, 13 Jul 2007 17:05:02 -0400
Message-ID: <20070713210502.GG12109@alvh.no-ip.org> (raw)
In-Reply-To: <11585080.post@talk.nabble.com>
References: <11583450.post@talk.nabble.com>
	<4697B8C7.7030304@jobflash.com>
	<11585080.post@talk.nabble.com>

smiley2211 wrote:
> 
> Thanks Tom and Scott...that worked for a NEW database but not on the original
> SLOW database...meaning - I backed up the SLOW database and restored it to a
> NEW database and the query ran EXTREMELY FAST :clap:

Have you ever vacuumed the DB?

-- 
Alvaro Herrera                         http://www.flickr.com/photos/alvherre/
"Aprender sin pensar es inĂștil; pensar sin aprender, peligroso" (Confucio)



view thread (6+ messages)

Message-ID: <20070713210502.GG12109@alvh.no-ip.org>
Permalink:  ../20070713210502.GG12109@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20070713210502.GG12109@alvh.no-ip.org

 · 

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: alvherre@commandprompt.com, smiley2211@yahoo.com
  Subject: Re: Database Statistics???
  In-Reply-To: <20070713210502.GG12109@alvh.no-ip.org>
  References: <11583450.post@talk.nabble.com> <4697B8C7.7030304@jobflash.com> <11585080.post@talk.nabble.com> <20070713210502.GG12109@alvh.no-ip.org>

* 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