Tracking maintenance_work_memory flush pressure

From: Joseph Hammerman <joe(dot)hammerman(at)datadoghq(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Tracking maintenance_work_memory flush pressure
Date: 2023-12-05 22:53:25
Message-ID: CAHs7QM-bqCRBTcrundaOKDc5C-Q+ZedLr5NBoM9geFgkV2Jp1w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello admins,

My understanding is that if maintenance_work_mem or
autovacuum_maintenance_work_mem value is set too low for the amount of work
that autovacuum schedules in a duty cycle, the heap & indexes are scanned
in multiple passes.

Is there a way to track these multiple passes in the statistics
collections? Or some other way to surface the low memory pressure
condition for autovacuum that someone could recommend?

Thanks in advance for any assistance anyone can provide,
Joe

Browse pgsql-admin by date

  From Date Subject
Next Message Rajesh Kumar 2023-12-06 16:49:23 Pgbouncer error
Previous Message Srinivasarao Oguri 2023-12-04 12:53:04 Re: Logical replication failed