pgsql: Clear up issue with FSM and oldest bpto.xact.
От | Peter Geoghegan |
---|---|
Тема | pgsql: Clear up issue with FSM and oldest bpto.xact. |
Дата | |
Msg-id | E1jUbE2-0004ux-FC@gemulon.postgresql.org обсуждение исходный текст |
Список | pgsql-committers |
Clear up issue with FSM and oldest bpto.xact. On further reflection, code comments added by commit b0229f26 slightly misrepresented how we determine the oldest bpto.xact for the index. btvacuumpage() does not treat the bpto.xact of a page that it put in the FSM as a candidate to be the oldest deleted page (the delete-marked page that has the oldest bpto.xact XID among all pages encountered). The definition of a deleted page for the purposes of the bpto.xact calculation is different from the definition used by the bulk delete statistics. The bulk delete statistics don't distinguish between pages that were deleted by the current VACUUM, pages deleted by a previous VACUUM operation but not yet recyclable/reusable, and pages that are reusable (though reusable pages are counted separately). Backpatch: 11-, just like commit b0229f26. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/69cf853fe798c6d590db892d80677e45609e3395 Modified Files -------------- src/backend/access/nbtree/nbtree.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-)
В списке pgsql-committers по дате отправления: