From: Michael Stone <mstone+postgres@mathom.us>
To: pgsql-performance@postgresql.org
Subject: Re: Why so slow?
Date: Wed, 03 May 2006 07:22:21 -0400
Message-ID: <20060503112219.GM31328@mathom.us> (raw)
In-Reply-To: <20060502192834.6c8e9131.wmoran@collaborativefusion.com>
References: <200604281043.16083@hal.medialogik.com>
<BAY101-F38A0FADC87E67C062FE5E1ADB00@phx.gbl>
<20060430100346.20f010a9.wmoran@collaborativefusion.com>
<20060502201740.GB97354@pervasive.com>
<20060502192834.6c8e9131.wmoran@collaborativefusion.com>
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
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: mstone+postgres@mathom.us
Subject: Re: Why so slow?
In-Reply-To: <20060503112219.GM31328@mathom.us>
* 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