1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Improve documentation for pg_stat_checkpointer fields

pg_stat_checkpointer contains statistics for checkpoints and restartpoints.
Before 12915a58ee documentation said only about checkpoints implying that
restartpoint is the variation of checkpoint.  12915a58ee introduced
new separate statistics fields for restartpoints.  This commit explicitly
documents fields that are relevant for both checkpoints and restartpoints.

Reported-by: Magnus Hagander
Discussion: https://postgr.es/m/CABUevExav5-SR0x%2BG9kBUMV0G8XsvSUfuyyqmYBBJi6VHns6sw%40mail.gmail.com
Reviewed-by: Anton A. Melnikov
This commit is contained in:
Alexander Korotkov
2024-03-14 02:07:27 +02:00
parent ecb0fd3372
commit e820db5b56
2 changed files with 8 additions and 7 deletions

View File

@ -3016,7 +3016,8 @@ description | Waiting for a newly initialized WAL file to reach durable storage
</para>
<para>
Total amount of time that has been spent in the portion of
checkpoint processing where files are written to disk, in milliseconds
processing checkpoints and restartpoints where files are written to disk,
in milliseconds
</para></entry>
</row>
@ -3026,8 +3027,8 @@ description | Waiting for a newly initialized WAL file to reach durable storage
</para>
<para>
Total amount of time that has been spent in the portion of
checkpoint processing where files are synchronized to disk, in
milliseconds
processing checkpoints and restartpoints where files are synchronized to
disk, in milliseconds
</para></entry>
</row>
@ -3036,7 +3037,7 @@ description | Waiting for a newly initialized WAL file to reach durable storage
<structfield>buffers_written</structfield> <type>bigint</type>
</para>
<para>
Number of buffers written during checkpoints
Number of buffers written during checkpoints and restartpoints
</para></entry>
</row>