From: | Dilip Kumar <dilipbalaut(at)gmail(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Remove dependency on VacuumPage(Hit/Miss/Dirty) counters in do_analyze_rel |
Date: | 2024-06-06 09:10:05 |
Message-ID: | CAFiTN-vqKM_TrpzW43-ZR9_nMQdRwhksP4AKLLe4Qp1iGX75Tw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
v1-0001-Remove-duplicate-tracking-of-the-page-stats-durin.patch | application/octet-stream | 7.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Jelte Fennema-Nio | 2024-06-06 09:12:30 | Re: Add new protocol message to change GUCs for usage with future protocol-only GUCs |
Previous Message | Pavel Luzanov | 2024-06-06 09:08:48 | Re: Things I don't like about \du's "Attributes" column |