Flush SLRU counters in checkpointer process

From: Anthonin Bonnefoy <anthonin(dot)bonnefoy(at)datadoghq(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Flush SLRU counters in checkpointer process
Date: 2023-01-11 09:29:06
Message-ID: CAO6_XqrR5S4w6nWsrtpQw37quOK=aRvbKVsUT3wS=gB93yokXQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello hackers,

Currently, the Checkpointer process only reports SLRU statistics at server
shutdown, leading to delayed statistics for SLRU flushes. This patch adds a
flush of SLRU stats to the end of checkpoints.

Best regards,
Anthonin

Attachment Content-Type Size
flush-slru-counters.patch application/octet-stream 4.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2023-01-11 09:47:57 Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)
Previous Message Aleksander Alekseev 2023-01-11 09:22:50 Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)