{"Entry":{"collection":"metric","key":"pg_stat_recovery_prefetch-hit","name":"pg_stat_recovery_prefetch.hit","aliases":["hit","pg_stat_recovery_prefetch"],"metadata":{"aliases":["hit","pg_stat_recovery_prefetch"],"category":"pg_stat_recovery_prefetch","content_hash":"e67dee64027dd13499afd64b0547c42ec77ed5c42e4b982e2c2ac5e1d15b19b0","imported_at":"2026-09-30T00:40:46.032635+08:00","name":"pg_stat_recovery_prefetch.hit","name_zh":"","slug":"pg_stat_recovery_prefetch-hit","summary":"Number of blocks not prefetched because they were already in the buffer pool"}},"Definition":{"Collection":"metric","Key":"pg_stat_recovery_prefetch-hit","SourceDatabase":"center","Version":"18","SourceTable":"statistics_metric","SourceKey":"pg_stat_recovery_prefetch-hit","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"comparison_data":{"field":"hit","sql_type":"bigint","units_mentioned":["blocks"],"view":"pg_stat_recovery_prefetch"},"comparison_hash":"bfe093273f9eca6e526cc6a60a7443deeb1a4ef9e3c984ee64a7346110779fb2","description":["Number of blocks not prefetched because they were already in the buffer pool"],"documented":true,"facts":[{"label":"View","value":"pg_stat_recovery_prefetch"},{"label":"Field","value":"hit"},{"label":"SQL type","value":"bigint"},{"label":"Units named in the field definition","value":"blocks"},{"label":"Reset observation","value":"Time at which these statistics were last reset"}],"field":"hit","manual_html":"","manual_path":"/docs/18/monitoring-stats.html","related":[{"label":"pg_stat_recovery_prefetch columns","url":"/wiki/catalog/pg_stat_recovery_prefetch/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"release":{"channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sections":[{"paragraphs":["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."],"title":"View semantics"},{"paragraphs":["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."],"title":"Collection and reset context"},{"code":"SELECT hit FROM pg_catalog.pg_stat_recovery_prefetch;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT hit FROM pg_catalog.pg_stat_recovery_prefetch;","source_only":false,"sources":[{"label":"PostgreSQL 18 English manual","path":"monitoring-stats.html","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","url":"/docs/18/monitoring-stats.html#PG-STAT-RECOVERY-PREFETCH-VIEW"}],"sql_type":"bigint","tables":[],"units_mentioned":["blocks"],"view":"pg_stat_recovery_prefetch"},"ManualEvidence":{"manual_path":"/docs/18/monitoring-stats.html","release":{"channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sources":[{"label":"PostgreSQL 18 English manual","path":"monitoring-stats.html","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","url":"/docs/18/monitoring-stats.html#PG-STAT-RECOVERY-PREFETCH-VIEW"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_recovery_prefetch-hit","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_stat_recovery_prefetch.hit","Summary":"Number of blocks not prefetched because they were already in the buffer pool","BodyHTML":"\u003cp\u003eNumber of blocks not prefetched because they were already in the buffer pool\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"2e6198c68fa2f32fa8f74db139b6d0ed4edadc6bce70563ae48a126617f71885","Payload":{"description":["Number of blocks not prefetched because they were already in the buffer pool"],"manual_html":"","related":[{"label":"pg_stat_recovery_prefetch columns","url":"/wiki/catalog/pg_stat_recovery_prefetch/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"sections":[{"paragraphs":["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."],"title":"View semantics"},{"paragraphs":["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."],"title":"Collection and reset context"},{"code":"SELECT hit FROM pg_catalog.pg_stat_recovery_prefetch;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["15","16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
