Reduce WAL activity for page splits:

Bruce Momjian <bruce@momjian.us>

Commit: b79575ce4599db628a09773003b2e73d81d75f54
Author: Bruce Momjian <bruce@momjian.us>
Date: 2007-02-08T05:05:53Z
Releases: 8.3.0
Reduce WAL activity for page splits:

> Currently, an index split writes all the data on the split page to
> WAL. That's a lot of WAL traffic. The tuples that are copied to the
> right page need to be WAL logged, but the tuples that stay on the
> original page don't.

Heikki Linnakangas

Files

PathChange+/−
src/backend/access/nbtree/nbtinsert.c modified +91 −51
src/backend/access/nbtree/nbtxlog.c modified +153 −102
src/include/access/nbtree.h modified +16 −11