pgsql: Respect Hot Standby controls while recycling btree index pages.

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Respect Hot Standby controls while recycling btree index pages.
Дата
Msg-id E1QX8jy-0006pp-JI@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Respect Hot Standby controls while recycling btree index pages.
Btree pages were recycled after VACUUM deletes all records on a
page and then a subsequent VACUUM occurs after the RecentXmin
horizon is reached. Using RecentXmin meant that we did not respond
correctly to the user controls provide to avoid Hot Standby
conflicts and so spurious conflicts could be generated in some
workload combinations. We now reuse pages only when we reach
RecentGlobalXmin, which can be much later in the presence of long
running queries and is also controlled by vacuum_defer_cleanup_age
and hot_standby_feedback.

Noah Misch and Simon Riggs

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/758bd2a433d64bed00ca084203b3e5ccfdea4499

Modified Files
--------------
src/backend/access/nbtree/nbtpage.c |   12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Respect Hot Standby controls while recycling btree index pages.
Следующее
От: Simon Riggs
Дата:
Сообщение: pgsql: Respect Hot Standby controls while recycling btree index pages.