Re: Database Statistics???

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: smiley2211 <smiley2211(at)yahoo(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Database Statistics???
Date: 2007-07-13 21:05:02
Message-ID: 20070713210502.GG12109@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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)

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Hannes Dorbath 2007-07-14 08:29:05 Re: FORGOT TO CONFIGURE RAID! DELL POWEREDGE 2950
Previous Message Adriaan van Os 2007-07-13 19:32:09 Re: TRUNCATE TABLE