nbtree README: Add note about latestRemovedXid

Enterprise / PostgreSQL - Peter Geoghegan [bowt.ie] - 24 September 2021 20:53 UTC

Point out that index tuple deletion generally needs a latestRemovedXid
value for the deletion operation's WAL record. This is bound to be the most expensive part of the whole deletion operation now that it takes place up front, during original execution.

This was arguably an oversight in commit 558a9165e08, which moved the work required to generate these values from index deletion REDO routines to original execution of index deletion operations.

48064a8d33 nbtree README: Add note about latestRemovedXid.
src/backend/access/nbtree/README | 45 ++++++++++++++++++++++++----------------
1 file changed, 27 insertions(+), 18 deletions(-)

Upstream: git.postgresql.org


  • Share