diff options
author | Robert Haas <rhaas@postgresql.org> | 2012-04-05 14:03:21 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2012-04-05 14:04:37 -0400 |
commit | b736aef2ec57b520ebadb70cceac0fed3168a5df (patch) | |
tree | 33ae0d9d4da2097abde0bbbd6de63b72ef1f7dd7 /doc/src | |
parent | a75b08066ab4b426b1bd056fed81302e5a5d5371 (diff) | |
download | postgresql-b736aef2ec57b520ebadb70cceac0fed3168a5df.tar.gz postgresql-b736aef2ec57b520ebadb70cceac0fed3168a5df.zip |
Publish checkpoint timing information to pg_stat_bgwriter.
Greg Smith, Peter Geoghegan, and Robert Haas
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/monitoring.sgml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index ed8aeb20c60..423f9b1a9a0 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -768,6 +768,28 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS pid, the <function>pg_stat_get_bgwriter_requested_checkpoints</function> function.</entry> </row> <row> + <entry>checkpoint_write_time</entry> + <entry><type>bigint</type></entry> + <entry> + Total amount of time that has been spent in the portion of + checkpoint processing where files are written to disk, in milliseconds. + This value can also be returned by directly calling the + <function>pg_stat_get_checkpoint_write_time</function> + function. + </entry> + </row> + <row> + <entry>checkpoint_sync_time</entry> + <entry><type>bigint</type></entry> + <entry> + Total amount of time that has been spent in the portion of + checkpoint processing where files are synchronized to disk, in + milliseconds. This value can also be returned by directly calling + the <function>pg_stat_get_checkpoint_sync_time</function> + function. + </entry> + </row> + <row> <entry>buffers_checkpoint</entry> <entry><type>bigint</type></entry> <entry>Number of buffers written during checkpoints. |