Re: [WIP] [B-Tree] Retail IndexTuple deletion

Поиск
Список
Период
Сортировка
От Andrey Lepikhov
Тема Re: [WIP] [B-Tree] Retail IndexTuple deletion
Дата
Msg-id 9966c13c-3e13-69f4-f63b-0857379d8e31@postgrespro.ru
обсуждение исходный текст
Ответ на Re: [WIP] [B-Tree] Retail IndexTuple deletion  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-hackers

13.07.2018 00:00, Peter Geoghegan пишет:
> One area that might be worth investigating is retail index tuple
> deletion performed within the executor in the event of non-HOT
> updates.

I will try to use this idea. But now I developed a background worker 
already (experimental state). It clean an index and heap relations with 
a retail deletion approach.
It uses "soft" strategy with conditional buffer locks. Benchmarks on 
pgbench test demonstrate same execution time as PostgreSQL without the 
worker, but 90% of dead tuples in index and heap relations cleaned 
without vacuum.
My main efforts is involved to tuning of the worker.

---
Andrey Lepikhov
Postgres Professional
https://postgrespro.com
The Russian Postgres Company



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

Предыдущее
От: Andrey Lepikhov
Дата:
Сообщение: Re: [WIP] [B-Tree] Retail IndexTuple deletion
Следующее
От: Prabhat Sahu
Дата:
Сообщение: Memory leak with CALL to Procedure with COMMIT.