Reduce WAL activity for page splits:
Bruce Momjian <bruce@momjian.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |