From: | Shawn <postgres(at)xmtservices(dot)net> |
---|---|
To: | pgsql-performance(at)postgresql(dot)org <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: Slow Query |
Date: | 2007-09-10 01:31:13 |
Message-ID: | 20070909183113.4f90d9d0@boffin.xmtservices.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Mon, 03 Sep 2007 21:10:06 -0400
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Shawn <postgres(at)xmtservices(dot)net> writes:
> > You weren't kidding, that really made a difference. its .5 sec now
> > on the run. I think the vacuuming not running for a few weeks is
> > what got me. I caught an edit that had stopped the vacuuming
> > routine a while back. That must have been what caused the index
> > bloat.
>
> Hmm, but no vacuuming at all would have allowed the table itself to
> bloat too. Did you do a VACUUM FULL to recover after you noticed
> the size problem? The trouble with VACUUM FULL is it compresses the
> table but doesn't do a dang thing for indexes ...
>
> regards, tom lane
>
Thanks again to the list. I ran the reindex command that Tom suggested
and things seem to be holding. Even the vacuum command is running
faster. The whole script runs in about 10 seconds, far more acceptable.
Thanks Guys!
Shawn
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Smith | 2007-09-10 04:06:40 | Re: DRBD and Postgres: how to improve the perfomance? |
Previous Message | Joshua D. Drake | 2007-09-08 21:30:59 | Re: DRBD and Postgres: how to improve the perfomance? |