@@ -337,13 +337,6 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
337
337
</entry>
338
338
</row>
339
339
340
- <row>
341
- <entry><structname>pg_stat_prefetch_recovery</structname><indexterm><primary>pg_stat_prefetch_recovery</primary></indexterm></entry>
342
- <entry>Only one row, showing statistics about blocks prefetched during recovery.
343
- See <xref linkend="pg-stat-prefetch-recovery-view"/> for details.
344
- </entry>
345
- </row>
346
-
347
340
<row>
348
341
<entry><structname>pg_stat_subscription</structname><indexterm><primary>pg_stat_subscription</primary></indexterm></entry>
349
342
<entry>At least one row per subscription, showing information about
@@ -2948,78 +2941,6 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
2948
2941
copy of the subscribed tables.
2949
2942
</para>
2950
2943
2951
- <table id="pg-stat-prefetch-recovery-view" xreflabel="pg_stat_prefetch_recovery">
2952
- <title><structname>pg_stat_prefetch_recovery</structname> View</title>
2953
- <tgroup cols="3">
2954
- <thead>
2955
- <row>
2956
- <entry>Column</entry>
2957
- <entry>Type</entry>
2958
- <entry>Description</entry>
2959
- </row>
2960
- </thead>
2961
-
2962
- <tbody>
2963
- <row>
2964
- <entry><structfield>prefetch</structfield></entry>
2965
- <entry><type>bigint</type></entry>
2966
- <entry>Number of blocks prefetched because they were not in the buffer pool</entry>
2967
- </row>
2968
- <row>
2969
- <entry><structfield>skip_hit</structfield></entry>
2970
- <entry><type>bigint</type></entry>
2971
- <entry>Number of blocks not prefetched because they were already in the buffer pool</entry>
2972
- </row>
2973
- <row>
2974
- <entry><structfield>skip_new</structfield></entry>
2975
- <entry><type>bigint</type></entry>
2976
- <entry>Number of blocks not prefetched because they were new (usually relation extension)</entry>
2977
- </row>
2978
- <row>
2979
- <entry><structfield>skip_fpw</structfield></entry>
2980
- <entry><type>bigint</type></entry>
2981
- <entry>Number of blocks not prefetched because a full page image was included in the WAL and <xref linkend="guc-recovery-prefetch-fpw"/> was set to <literal>off</literal></entry>
2982
- </row>
2983
- <row>
2984
- <entry><structfield>skip_seq</structfield></entry>
2985
- <entry><type>bigint</type></entry>
2986
- <entry>Number of blocks not prefetched because of repeated access</entry>
2987
- </row>
2988
- <row>
2989
- <entry><structfield>distance</structfield></entry>
2990
- <entry><type>integer</type></entry>
2991
- <entry>How far ahead of recovery the prefetcher is currently reading, in bytes</entry>
2992
- </row>
2993
- <row>
2994
- <entry><structfield>queue_depth</structfield></entry>
2995
- <entry><type>integer</type></entry>
2996
- <entry>How many prefetches have been initiated but are not yet known to have completed</entry>
2997
- </row>
2998
- <row>
2999
- <entry><structfield>avg_distance</structfield></entry>
3000
- <entry><type>float4</type></entry>
3001
- <entry>How far ahead of recovery the prefetcher is on average, while recovery is not idle</entry>
3002
- </row>
3003
- <row>
3004
- <entry><structfield>avg_queue_depth</structfield></entry>
3005
- <entry><type>float4</type></entry>
3006
- <entry>Average number of prefetches in flight while recovery is not idle</entry>
3007
- </row>
3008
- </tbody>
3009
- </tgroup>
3010
- </table>
3011
-
3012
- <para>
3013
- The <structname>pg_stat_prefetch_recovery</structname> view will contain only
3014
- one row. It is filled with nulls if recovery is not running or WAL
3015
- prefetching is not enabled. See <xref linkend="guc-recovery-prefetch"/>
3016
- for more information. The counters in this view are reset whenever the
3017
- <xref linkend="guc-recovery-prefetch"/>,
3018
- <xref linkend="guc-recovery-prefetch-fpw"/> or
3019
- <xref linkend="guc-maintenance-io-concurrency"/> setting is changed and
3020
- the server configuration is reloaded.
3021
- </para>
3022
-
3023
2944
<table id="pg-stat-subscription" xreflabel="pg_stat_subscription">
3024
2945
<title><structname>pg_stat_subscription</structname> View</title>
3025
2946
<tgroup cols="1">
@@ -5152,11 +5073,8 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
5152
5073
all the counters shown in
5153
5074
the <structname>pg_stat_bgwriter</structname>
5154
5075
view, <literal>archiver</literal> to reset all the counters shown in
5155
- the <structname>pg_stat_archiver</structname> view,
5156
- <literal>wal</literal> to reset all the counters shown in the
5157
- <structname>pg_stat_wal</structname> view or
5158
- <literal>prefetch_recovery</literal> to reset all the counters shown
5159
- in the <structname>pg_stat_prefetch_recovery</structname> view.
5076
+ the <structname>pg_stat_archiver</structname> view or <literal>wal</literal>
5077
+ to reset all the counters shown in the <structname>pg_stat_wal</structname> view.
5160
5078
</para>
5161
5079
<para>
5162
5080
This function is restricted to superusers by default, but other users
0 commit comments