Skip to content

Commit fa3a022

Browse files
committed
docs: Improve the description of num_timed column in pg_stat_checkpointer.
The previous documentation stated that num_timed reflects the number of scheduled checkpoints performed. However, checkpoints may be skipped if the server has been idle, and num_timed counts both skipped and completed checkpoints. This commit clarifies the description to make it clear that the counter includes both skipped and completed checkpoints. Back-patch to v17 where pg_stat_checkpointer was added. Author: Fujii Masao Reviewed-by: Alexander Korotkov Discussion: https://postgr.es/m/9ea77f40-818d-4841-9dee-158ac8f6e690@oss.nttdata.com
1 parent 633b609 commit fa3a022

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/src/sgml/monitoring.sgml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2978,7 +2978,10 @@ description | Waiting for a newly initialized WAL file to reach durable storage
29782978
<structfield>num_timed</structfield> <type>bigint</type>
29792979
</para>
29802980
<para>
2981-
Number of scheduled checkpoints that have been performed
2981+
Number of scheduled checkpoints due to timeout.
2982+
Note that checkpoints may be skipped if the server has been idle
2983+
since the last one, and this value counts both completed and
2984+
skipped checkpoints
29822985
</para></entry>
29832986
</row>
29842987

0 commit comments

Comments
 (0)