]> granicus.if.org Git - postgresql/commit
Reduce WAL activity for page splits:
authorBruce Momjian <bruce@momjian.us>
Thu, 8 Feb 2007 05:05:53 +0000 (05:05 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 8 Feb 2007 05:05:53 +0000 (05:05 +0000)
commitb79575ce4599db628a09773003b2e73d81d75f54
treef01b771e2586fe292a2d8c9d8a7538085018bb37
parentfe03a5f4aee4cdc0ffa226c558ee4fb39fdd63f2
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
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtxlog.c
src/include/access/nbtree.h