select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / STATISTICS VIEWS

pg_stat_recovery_prefetch

Read PG 18 manual ↗

The pg_stat_recovery_prefetch view will contain only one row.

Kind
Statistics views
Columns in this snapshot
10
Definition source
English manual

Columns 10

ColumnTypeDescription / reference
stats_resettimestamp with time zoneTime at which these statistics were last reset
prefetchbigintNumber of blocks prefetched because they were not in the buffer pool
hitbigintNumber of blocks not prefetched because they were already in the buffer pool
skip_initbigintNumber of blocks not prefetched because they would be zero-initialized
skip_newbigintNumber of blocks not prefetched because they didn't exist yet
skip_fpwbigintNumber of blocks not prefetched because a full page image was included in the WAL
skip_repbigintNumber of blocks not prefetched because they were already recently prefetched
wal_distanceintHow many bytes ahead the prefetcher is looking
block_distanceintHow many blocks ahead the prefetcher is looking
io_depthintHow many prefetches have been initiated but are not yet known to have completed
Column history across versions
Version history 1
  1. PG 14 → 15added

Definition snapshot: english-manuals:e8de90f7444057522fdb5203bd3… · English manual source