Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite820db5

Browse files
committed
Improve documentation for pg_stat_checkpointer fields
pg_stat_checkpointer contains statistics for checkpoints and restartpoints.Before12915a5 documentation said only about checkpoints implying thatrestartpoint is the variation of checkpoint.12915a5 introducednew separate statistics fields for restartpoints. This commit explicitlydocuments fields that are relevant for both checkpoints and restartpoints.Reported-by: Magnus HaganderDiscussion:https://postgr.es/m/CABUevExav5-SR0x%2BG9kBUMV0G8XsvSUfuyyqmYBBJi6VHns6sw%40mail.gmail.comReviewed-by: Anton A. Melnikov
1 parentecb0fd3 commite820db5

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

‎doc/src/sgml/monitoring.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3016,7 +3016,8 @@ description | Waiting for a newly initialized WAL file to reach durable storage
30163016
</para>
30173017
<para>
30183018
Total amount of time that has been spent in the portion of
3019-
checkpoint processing where files are written to disk, in milliseconds
3019+
processing checkpoints and restartpoints where files are written to disk,
3020+
in milliseconds
30203021
</para></entry>
30213022
</row>
30223023

@@ -3026,8 +3027,8 @@ description | Waiting for a newly initialized WAL file to reach durable storage
30263027
</para>
30273028
<para>
30283029
Total amount of time that has been spent in the portion of
3029-
checkpointprocessing where files are synchronized to disk, in
3030-
milliseconds
3030+
processingcheckpoints and restartpointswhere files are synchronized to
3031+
disk, inmilliseconds
30313032
</para></entry>
30323033
</row>
30333034

@@ -3036,7 +3037,7 @@ description | Waiting for a newly initialized WAL file to reach durable storage
30363037
<structfield>buffers_written</structfield> <type>bigint</type>
30373038
</para>
30383039
<para>
3039-
Number of buffers written during checkpoints
3040+
Number of buffers written during checkpoints and restartpoints
30403041
</para></entry>
30413042
</row>
30423043

‎src/include/catalog/pg_proc.dat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5737,7 +5737,7 @@
57375737
proparallel => 'r', prorettype => 'int8', proargtypes => '',
57385738
prosrc => 'pg_stat_get_checkpointer_restartpoints_performed' },
57395739
{ oid => '2771',
5740-
descr => 'statistics: number of buffers writtenby the checkpointer',
5740+
descr => 'statistics: number of buffers writtenduring checkpoints and restartpoints',
57415741
proname => 'pg_stat_get_checkpointer_buffers_written', provolatile => 's',
57425742
proparallel => 'r', prorettype => 'int8', proargtypes => '',
57435743
prosrc => 'pg_stat_get_checkpointer_buffers_written' },
@@ -5760,12 +5760,12 @@
57605760
proparallel => 'r', prorettype => 'timestamptz', proargtypes => '',
57615761
prosrc => 'pg_stat_get_bgwriter_stat_reset_time' },
57625762
{ oid => '3160',
5763-
descr => 'statistics: checkpoint time spent writing buffers to disk, in milliseconds',
5763+
descr => 'statistics: checkpoint/restartpoint time spent writing buffers to disk, in milliseconds',
57645764
proname => 'pg_stat_get_checkpointer_write_time', provolatile => 's',
57655765
proparallel => 'r', prorettype => 'float8', proargtypes => '',
57665766
prosrc => 'pg_stat_get_checkpointer_write_time' },
57675767
{ oid => '3161',
5768-
descr => 'statistics: checkpoint time spent synchronizing buffers to disk, in milliseconds',
5768+
descr => 'statistics: checkpoint/restartpoint time spent synchronizing buffers to disk, in milliseconds',
57695769
proname => 'pg_stat_get_checkpointer_sync_time', provolatile => 's',
57705770
proparallel => 'r', prorettype => 'float8', proargtypes => '',
57715771
prosrc => 'pg_stat_get_checkpointer_sync_time' },

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp