On Wed, Apr 9, 2025, 12:39 Sami Imseih <samimseih(at)gmail(dot)com> wrote:
>
> They will differ because n_tup_ins keeps increasing, while
> n_ins_since_vacuum is
> reset after a vacuum. The issue I see is that n_ins_since_vacuum should
> only
> reflect the number of newly inserted rows that are eligible for
> freezing, as described
> in pgstat_report_vacuum [0]
>
Vacuuming them into oblivion is a form of freezing. It also removes the
aging xid from the table.
David J.
>