aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2024-03-14 02:07:27 +0200
committerAlexander Korotkov <akorotkov@postgresql.org>2024-03-14 02:17:59 +0200
commite820db5b56b20c68bce2956f8f6c8ba6bfff5735 (patch)
tree9e12e141cfab094144095ff7bf67ad2ba673f534 /doc/src
parentecb0fd33720fab91df1207e85704f382f55e1eb7 (diff)
downloadpostgresql-e820db5b56b20c68bce2956f8f6c8ba6bfff5735.tar.gz
postgresql-e820db5b56b20c68bce2956f8f6c8ba6bfff5735.zip
Improve documentation for pg_stat_checkpointer fields
pg_stat_checkpointer contains statistics for checkpoints and restartpoints. Before 12915a58eec9 documentation said only about checkpoints implying that restartpoint is the variation of checkpoint. 12915a58eec9 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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/monitoring.sgml9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml
index 8aca08140ea..8736eac2841 100644
--- a/doc/src/sgml/monitoring.sgml
+++ b/doc/src/sgml/monitoring.sgml
@@ -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>