Re: Remove dependency on VacuumPage(Hit/Miss/Dirty) counters in do_analyze_rel

Поиск
Список
Период
Сортировка
От Anthonin Bonnefoy
Тема Re: Remove dependency on VacuumPage(Hit/Miss/Dirty) counters in do_analyze_rel
Дата
Msg-id CAO6_XqogeCHKfzJcyspGvLyRaDH+q424wSM_pcbZtwaqRtThxA@mail.gmail.com
обсуждение исходный текст
Ответ на Remove dependency on VacuumPage(Hit/Miss/Dirty) counters in do_analyze_rel  (Dilip Kumar <dilipbalaut@gmail.com>)
Ответы Re: Remove dependency on VacuumPage(Hit/Miss/Dirty) counters in do_analyze_rel
Список pgsql-hackers

On Thu, Jun 6, 2024 at 11:10 AM Dilip Kumar <dilipbalaut@gmail.com> wrote:
As part of commit 5cd72cc0c5017a9d4de8b5d465a75946da5abd1d, the
dependency on global counters such as VacuumPage(Hit/Miss/Dirty) was
removed from the vacuum. However, do_analyze_rel() was still using
these counters, necessitating the tracking of global counters
alongside BufferUsage counters.

The attached patch addresses the issue by eliminating the need to
track VacuumPage(Hit/Miss/Dirty) counters in do_analyze_rel(), making
the global counters obsolete. This simplifies the code and improves
consistency.

--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Logical Replication of sequences
Следующее
От: Alexander Lakhin
Дата:
Сообщение: Assert in heapgettup_pagemode() fails due to underlying buffer change