{"Entry":{"collection":"metric","key":"pg_stat_all_indexes-idx_scan","name":"pg_stat_all_indexes.idx_scan","aliases":["idx_scan","pg_stat_all_indexes"],"metadata":{"aliases":["idx_scan","pg_stat_all_indexes"],"category":"pg_stat_all_indexes","content_hash":"67894b2d82321dcd302e2b0990ea37add52c08c02e27522a471a9566096e909b","imported_at":"2026-09-30T00:40:45.3123+08:00","name":"pg_stat_all_indexes.idx_scan","name_zh":"","slug":"pg_stat_all_indexes-idx_scan","summary":"Number of index scans initiated on this index"}},"Definition":{"Collection":"metric","Key":"pg_stat_all_indexes-idx_scan","SourceDatabase":"center","Version":"18","SourceTable":"statistics_metric","SourceKey":"pg_stat_all_indexes-idx_scan","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"comparison_data":{"field":"idx_scan","sql_type":"bigint","units_mentioned":[],"view":"pg_stat_all_indexes"},"comparison_hash":"39f87b3ee92dcb02907b587b0c7576e46e6a47b02060b293a6c96aa3bffcb581","description":["Number of index scans initiated on this index"],"documented":true,"facts":[{"label":"View","value":"pg_stat_all_indexes"},{"label":"Field","value":"idx_scan"},{"label":"SQL type","value":"bigint"},{"label":"Units named in the field definition","value":"Not specified"},{"label":"Reset observation","value":"No stats_reset field is documented for this view"}],"field":"idx_scan","manual_html":"","manual_path":"/docs/18/monitoring-stats.html","related":[{"label":"pg_stat_all_indexes columns","url":"/wiki/catalog/pg_stat_all_indexes/?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_all_indexes view will contain one row for each index in the current database, showing statistics about accesses to that specific index. The pg_stat_user_indexes and pg_stat_sys_indexes views contain the same information, but filtered to only show user and system indexes respectively."],"title":"View semantics"},{"paragraphs":["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."],"title":"Collection and reset context"},{"code":"SELECT idx_scan FROM pg_catalog.pg_stat_all_indexes;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT idx_scan FROM pg_catalog.pg_stat_all_indexes;","source_only":false,"sources":[{"label":"PostgreSQL 18 English manual","path":"monitoring-stats.html","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","url":"/docs/18/monitoring-stats.html#PG-STAT-ALL-INDEXES-VIEW"}],"sql_type":"bigint","tables":[],"units_mentioned":[],"view":"pg_stat_all_indexes"},"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-ALL-INDEXES-VIEW"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_all_indexes-idx_scan","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_stat_all_indexes.idx_scan","Summary":"Number of index scans initiated on this index","BodyHTML":"\u003cp\u003eNumber of index scans initiated on this index\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"a967928c602cf58c0687feb4206c1278f7c5d91b70207ac09c657a5bd1dd976e","Payload":{"description":["Number of index scans initiated on this index"],"manual_html":"","related":[{"label":"pg_stat_all_indexes columns","url":"/wiki/catalog/pg_stat_all_indexes/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"sections":[{"paragraphs":["The pg_stat_all_indexes view will contain one row for each index in the current database, showing statistics about accesses to that specific index. The pg_stat_user_indexes and pg_stat_sys_indexes views contain the same information, but filtered to only show user and system indexes respectively."],"title":"View semantics"},{"paragraphs":["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."],"title":"Collection and reset context"},{"code":"SELECT idx_scan FROM pg_catalog.pg_stat_all_indexes;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["10","11","12","13","14","15","16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
