|
pg_stat_recovery_prefetch pg_stat_recovery_prefetch
Only one row, showing statistics about blocks prefetched during recovery.
- See for details.
+ See
+ pg_stat_recovery_prefetch for details.
- subscription">
-
pg_stat_subscription
+ recovery-prefetch">
+
pg_stat_recovery_prefetch
+
pg_stat_recovery_prefetch
- The pg_stat_subscription view will contain one
- row per subscription for main worker (with null PID if the worker is
- not running), and additional rows for workers handling the initial data
- copy of the subscribed tables.
+ The pg_stat_recovery_prefetch view will contain
+ only one row. The columns wal_distance ,
+ block_distance and
+ io_depth show current values, and the
+ other columns show cumulative counters that can be reset
+ with the pg_stat_reset_shared function.
pg_stat_recovery_prefetch View
- 3">
+ 1">
- |
- Column
- Type
- Description
+ |
+ Column Type
+
+ Description
+
-
- |
- prefetch
- bigint
- Number of blocks prefetched because they were not in the buffer pool
-
- |
- hit
- bigint
- Number of blocks not prefetched because they were already in the buffer pool
-
- |
- skip_init
- bigint
- Number of blocks not prefetched because they would be zero-initialized
-
- |
- skip_new
- bigint
- Number of blocks not prefetched because they didn't exist yet
-
- |
- skip_fpw
- bigint
- Number of blocks not prefetched because a full page image was included in the WAL
-
- |
- skip_rep
- bigint
- Number of blocks not prefetched because they were already recently prefetched
-
- |
- wal_distance
- integer
- How many bytes ahead the prefetcher is looking
-
- |
- block_distance
- integer
- How many blocks ahead the prefetcher is looking
-
- |
- io_depth
- integer
- How many prefetches have been initiated but are not yet known to have completed
-
+
+ |
+
+ prefetch bigint
+
+ Number of blocks prefetched because they were not in the buffer pool
+
+
+
+
+ |
+
+ hit bigint
+
+ Number of blocks not prefetched because they were already in the buffer pool
+
+
+
+
+ |
+
+ skip_init bigint
+
+ Number of blocks not prefetched because they would be zero-initialized
+
+
+
+
+ |
+
+ skip_new bigint
+
+ Number of blocks not prefetched because they didn't exist yet
+
+
+
+
+ |
+
+ skip_fpw bigint
+
+ Number of blocks not prefetched because a full page image was included in the WAL
+
+
+
+
+ |
+
+ skip_rep bigint
+
+ Number of blocks not prefetched because they were already recently prefetched
+
+
+
+
+ |
+
+ wal_distance int
+
+ How many bytes ahead the prefetcher is looking
+
+
+
+
+ |
+
+ block_distance int
+
+ How many blocks ahead the prefetcher is looking
+
+
+
+
+ |
+
+ io_depth int
+
+ How many prefetches have been initiated but are not yet known to have completed
+
+
+
- The pg_stat_recovery_prefetch view will contain
- only one row. The columns wal_distance ,
- block_distance and
- io_depth show current values, and the
- other columns show cumulative counters that can be reset
- with the pg_stat_reset_shared function.
- para >
+ >
+
+
+
pg_stat_subscription
+
+
+ indexterm >
pg_stat_subscription View