Re: May be BUG. Periodic burst growth of the checkpoint_req counter on replica.
Alexander Korotkov <aekorotkov@gmail.com>
From: Alexander Korotkov <aekorotkov@gmail.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: "Anton A. Melnikov" <a.melnikov@postgrespro.ru>,
"Anton A. Melnikov" <aamelnikov@inbox.ru>, Andres Freund <andres@anarazel.de>,
Kyotaro Horiguchi <horikyota.ntt@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2024-03-11T00:39:37Z
Lists: pgsql-hackers
Attachments
- rename_pg_stat_get_checkpointer_fields.patch (application/octet-stream) patch
On Sat, Mar 9, 2024 at 4:38 PM Magnus Hagander <magnus@hagander.net> wrote: > Per the docs, the sync_time, write_time and buffers_written only apply > to checkpoints, not restartpoints. Is this correct? AFAICT from a > quick look at the code they include both checkpoints and restartpoints > in which case I think the docs should be clarified to indicate that? Right, these fields work as before reflecting both checkpoints and restartpoints. Documentation said checkpoints implying restartpoints as well. Now that we distinguish stats for checkpoints and restartpoints, we need to update the docs. Please, check the patch attached. ------ Regards, Alexander Korotkov
Commits
-
Improve descriptions of some pg_stat_checkpoints functions in pg_proc.dat.
- 1909835c28a1 18.0 landed
-
docs: Enhance the pg_stat_checkpointer view documentation.
- a19f83f87966 18.0 landed
-
Add num_done counter to the pg_stat_checkpointer view.
- 559efce1d684 18.0 landed
-
docs: Improve the description of num_timed column in pg_stat_checkpointer.
- fa3a022136fc 17.0 landed
- a7c39db5eb34 18.0 landed
-
Improve documentation for pg_stat_checkpointer fields
- e820db5b56b2 17.0 landed
-
Enhance checkpointer restartpoint statistics
- 12915a58eec9 17.0 landed
-
Introduce pg_stat_checkpointer
- 96f052613f35 17.0 cited