From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ben Young <Ben.Young@etrials.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Slow Restoration of a template1 Database (ALTER GROUP)
Date: Tue, 08 Feb 2005 15:32:14 -0500
Message-ID: <9898.1107894734@sss.pgh.pa.us> (raw)
In-Reply-To: <41A1CBC76FDECC42B67946519C6677A901D301FE@pippin.int.etrials.com>
References: <41A1CBC76FDECC42B67946519C6677A901D301FE@pippin.int.etrials.com>
"Ben Young" <Ben.Young@etrials.com> writes:
> Is the "index bloat" prevented/reduced in newer versions of Postgres?
Depends on what's causing it. Have you been inventing alphabetically
greater group names and getting rid of smaller names over time? If so,
this is a known problem that should be fixed in 7.4. The 7.4 release
notes say:
In previous releases, B-tree index pages that were left empty
because of deleted rows could only be reused by rows with index
values similar to the rows originally indexed on that page. In 7.4,
VACUUM records empty index pages and allows them to be reused for
any future index rows.
regards, tom lane
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: tgl@sss.pgh.pa.us, Ben.Young@etrials.com
Subject: Re: Slow Restoration of a template1 Database (ALTER GROUP)
In-Reply-To: <9898.1107894734@sss.pgh.pa.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