Re: Why so slow? - Mailing list pgsql-performance

From Michael Stone
Subject Re: Why so slow?
Date
Msg-id 20060503112219.GM31328@mathom.us
Whole thread Raw
In response to Re: Why so slow?  (Bill Moran <wmoran@collaborativefusion.com>)
Responses Re: Why so slow?  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-performance
On Tue, May 02, 2006 at 07:28:34PM -0400, Bill Moran wrote:
>Reindexing is in a different class than vacuuming.

Kinda, but it is in the same class as vacuum full. If vacuum neglect (or
dramatic change in usage) has gotten you to the point of 10G of overhead
on a 2G table you can get a dramatic speedup if you vacuum full, by
dumping a lot of unused space. But in that case you might have a similar
amount of overhead in indices, which isn't going to go away unless you
reindex. In either case the unused rows will be reused as needed, but if
you know you aren't going to need the space again anytime soon you might
need to vacuum full/reindex.

Mike Stone

pgsql-performance by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Performance Issues on Opteron Dual Core
Next
From: Michael Stone
Date:
Subject: Re: Slow restoration question