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

Commiteaae947

Browse files
committed
doc: Add note about I/O timing information in EXPLAIN and pg_stat_database.
Explain that the followings are tracked only when track_io_timing GUCis enabled.- blk_read_time and blk_write_time in pg_stat_database- time spent reading and writing data file blocks in EXPLAIN output with BUFFERS optionWhther track_io_timing is enabled affects also blk_read_time andblk_write_time in pg_stat_statements, but which was already documented.Author: Atsushi TorikoshiReviewed-by: Fujii MasaoDiscussion:https://postgr.es/m/CACZ0uYHo_NwbxpLH76OGF-O=13tkR0ZM0zeyGEhZ+JEXZVRyCA@mail.gmail.com
1 parent574925b commiteaae947

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

‎doc/src/sgml/monitoring.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3390,7 +3390,8 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
33903390
</para>
33913391
<para>
33923392
Time spent reading data file blocks by backends in this database,
3393-
in milliseconds
3393+
in milliseconds (if <xref linkend="guc-track-io-timing"/> is enabled,
3394+
otherwise zero)
33943395
</para></entry>
33953396
</row>
33963397

@@ -3400,7 +3401,8 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
34003401
</para>
34013402
<para>
34023403
Time spent writing data file blocks by backends in this database,
3403-
in milliseconds
3404+
in milliseconds (if <xref linkend="guc-track-io-timing"/> is enabled,
3405+
otherwise zero)
34043406
</para></entry>
34053407
</row>
34063408

‎doc/src/sgml/ref/explain.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,9 @@ ROLLBACK;
171171
<para>
172172
Include information on buffer usage. Specifically, include the number of
173173
shared blocks hit, read, dirtied, and written, the number of local blocks
174-
hit, read, dirtied, and written, and the number of temp blocks read and
175-
written.
174+
hit, read, dirtied, and written, the number of temp blocks read and
175+
written, and the time spent reading and writing data file blocks
176+
(in milliseconds) if <xref linkend="guc-track-io-timing"/> is enabled.
176177
A <emphasis>hit</emphasis> means that a read was avoided because the block was
177178
found already in cache when needed.
178179
Shared blocks contain data from regular tables and indexes;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp