Modify btree to delete known-dead index entries without an actual VACUUM.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e6284649b9e30372b3990107a082bc7520325676
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-07-25T19:13:00Z
Releases: 8.2.0
Modify btree to delete known-dead index entries without an actual VACUUM.
When we are about to split an index page to do an insertion, first look
to see if any entries marked LP_DELETE exist on the page, and if so remove
them to try to make enough space for the desired insert.  This should reduce
index bloat in heavily-updated tables, although of course you still need
VACUUM eventually to clean up the heap.

Junji Teramoto

Files