Remove dependency on VacuumPage(Hit/Miss/Dirty) counters in do_analyze_rel - Mailing list pgsql-hackers

From Dilip Kumar
Subject Remove dependency on VacuumPage(Hit/Miss/Dirty) counters in do_analyze_rel
Date
Msg-id CAFiTN-vqKM_TrpzW43-ZR9_nMQdRwhksP4AKLLe4Qp1iGX75Tw@mail.gmail.com
Whole thread Raw
Responses Re: Remove dependency on VacuumPage(Hit/Miss/Dirty) counters in do_analyze_rel
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Pavel Luzanov
Date:
Subject: Re: Things I don't like about \du's "Attributes" column
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: Add new protocol message to change GUCs for usage with future protocol-only GUCs