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

Commitdafae97

Browse files
committed
Fix recovery_prefetch docs.
Correct a typo and a couple of sentences that weren't updated to reflectrecent changes to the code.Reported-by: Justin Pryzby <pryzby@telsasoft.com>Discussion:https://postgr.es/m/20220407125555.GC24419%40telsasoft.com
1 parentd6c0db1 commitdafae97

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3685,8 +3685,9 @@ include_dir 'conf.d'
36853685
<para>
36863686
Whether to try to prefetch blocks that are referenced in the WAL that
36873687
are not yet in the buffer pool, during recovery. Valid values are
3688-
<literal>off</literal> (the default), <literal>on</literal> and
3689-
<literal>try</literal>. The setting <literal>try</literal> enables
3688+
<literal>off</literal>, <literal>on</literal> and
3689+
<literal>try</literal> (the default). The setting
3690+
<literal>try</literal> enables
36903691
prefetching only if the operating system provides the
36913692
<function>posix_fadvise</function> function, which is currently used
36923693
to implement prefetching. Note that some operating systems provide the

‎doc/src/sgml/monitoring.sgml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3049,11 +3049,9 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
30493049

30503050
<para>
30513051
The <structname>pg_stat_recovery_prefetch</structname> view will contain
3052-
only one row. It is filled with nulls if recovery has not run or
3053-
<xref linkend="guc-recovery-prefetch"/> is not enabled. The
3054-
columns <structfield>wal_distance</structfield>,
3055-
<structfield>block_distance</structfield>
3056-
and <structfield>io_depth</structfield> show current values, and the
3052+
only one row. The columns <structfield>wal_distance</structfield>,
3053+
<structfield>block_distance</structfield> and
3054+
<structfield>io_depth</structfield> show current values, and the
30573055
other columns show cumulative counters that can be reset
30583056
with the <function>pg_stat_reset_shared</function> function.
30593057
</para>

‎doc/src/sgml/wal.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@
812812
The <xref linkend="guc-maintenance-io-concurrency"/> and
813813
<xref linkend="guc-wal-decode-buffer-size"/> settings limit prefetching
814814
concurrency and distance, respectively. By default, it is set to
815-
<literal>try</literal>, whichenabled the feature on systems where
815+
<literal>try</literal>, whichenables the feature on systems where
816816
<function>posix_fadvise</function> is available.
817817
</para>
818818
</sect1>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp