pgsql: Delay commit status checks until freezing executes.
В списке pgsql-committers по дате отправления:
| От | Peter Geoghegan |
|---|---|
| Тема | pgsql: Delay commit status checks until freezing executes. |
| Дата | |
| Msg-id | E1pCmsu-001snM-Rr@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Delay commit status checks until freezing executes. pg_xact lookups are relatively expensive. Move the xmin/xmax commit status checks from the point that freeze plans are prepared to the point that they're actually executed. Otherwise we'll repeat many commit status checks whenever multiple successive VACUUM operations scan the same pages and decide against freezing each time, which is a waste of cycles. Oversight in commit 1de58df4, which added page-level freezing. Author: Peter Geoghegan <pg@bowt.ie> Discussion: https://postgr.es/m/CAH2-WzkZpe4K6qMfEt8H4qYJCKc2R7TPvKsBva7jc9w7iGXQSw@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/79d4bf4eff14d8967b10ad4c60039c1b9b0cf66e Modified Files -------------- src/backend/access/heap/heapam.c | 89 ++++++++++++++++++++++++++++------------ src/include/access/heapam.h | 9 ++++ 2 files changed, 71 insertions(+), 27 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера