{"Entry":{"collection":"metric","key":"pg_stat_io-op_bytes","name":"pg_stat_io.op_bytes","aliases":["op_bytes","pg_stat_io"],"metadata":{"aliases":["op_bytes","pg_stat_io"],"category":"pg_stat_io","content_hash":"e600e7951e8b10d594639cbe7722d6771ea0dd30c4fc7cee0d546d4e29d0fc4c","imported_at":"2026-09-30T00:40:45.670432+08:00","name":"pg_stat_io.op_bytes","name_zh":"","slug":"pg_stat_io-op_bytes","summary":"The number of bytes per unit of I/O read, written, or extended.\n\nRelation data reads, writes, and extends are done in block_size units, derived from the build-time parameter BLCKSZ, which is 8192 by default."}},"Definition":{"Collection":"metric","Key":"pg_stat_io-op_bytes","SourceDatabase":"center","Version":"17","SourceTable":"statistics_metric","SourceKey":"pg_stat_io-op_bytes","SourceRevision":"dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979","Facts":{"comparison_data":{"field":"op_bytes","sql_type":"bigint","units_mentioned":["bytes"],"view":"pg_stat_io"},"comparison_hash":"46e9d3530a117c181e304599e8a6d6e96c07171b7e30e0c31adae3aec8c79b75","description":["The number of bytes per unit of I/O read, written, or extended.\n\nRelation data reads, writes, and extends are done in block_size units, derived from the build-time parameter BLCKSZ, which is 8192 by default."],"documented":true,"facts":[{"label":"View","value":"pg_stat_io"},{"label":"Field","value":"op_bytes"},{"label":"SQL type","value":"bigint"},{"label":"Units named in the field definition","value":"bytes"},{"label":"Reset observation","value":"Time at which these statistics were last reset."}],"field":"op_bytes","manual_html":"","manual_path":"/docs/17/monitoring-stats.html","related":[{"label":"pg_stat_io columns","url":"/wiki/catalog/pg_stat_io/?v=17"},{"label":"Statistics collection and reset functions","url":"/docs/17/monitoring-stats.html"}],"release":{"channel":"stable","label":"17.11","major":"17","ref":"https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2","revision":"dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"},"sections":[{"paragraphs":["The pg_stat_io view will contain one row for each combination of backend type, target I/O object, and I/O context, showing cluster-wide I/O statistics. Combinations which do not make sense are omitted.\n\nCurrently, I/O on relations (e.g. tables, indexes) is tracked. However, relation I/O which bypasses shared buffers (e.g. when moving a table from one tablespace to another) is currently not tracked."],"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 op_bytes FROM pg_catalog.pg_stat_io;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT op_bytes FROM pg_catalog.pg_stat_io;","source_only":false,"sources":[{"label":"PostgreSQL 17 English manual","path":"monitoring-stats.html","sha256":"007af6e8ab39b925963273ec3ba7f06f8ee6fbfaad821f07a1dc78383dbb9b99","url":"/docs/17/monitoring-stats.html#PG-STAT-IO-VIEW"}],"sql_type":"bigint","tables":[],"units_mentioned":["bytes"],"view":"pg_stat_io"},"ManualEvidence":{"manual_path":"/docs/17/monitoring-stats.html","release":{"channel":"stable","label":"17.11","major":"17","ref":"https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2","revision":"dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"},"sources":[{"label":"PostgreSQL 17 English manual","path":"monitoring-stats.html","sha256":"007af6e8ab39b925963273ec3ba7f06f8ee6fbfaad821f07a1dc78383dbb9b99","url":"/docs/17/monitoring-stats.html#PG-STAT-IO-VIEW"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_io-op_bytes","SourceDatabase":"center","Version":"17","Locale":"en","Title":"pg_stat_io.op_bytes","Summary":"The number of bytes per unit of I/O read, written, or extended.\n\nRelation data reads, writes, and extends are done in block_size units, derived from the build-time parameter BLCKSZ, which is 8192 by default.","BodyHTML":"\u003cp\u003eThe number of bytes per unit of I/O read, written, or extended.\n\nRelation data reads, writes, and extends are done in block_size units, derived from the build-time parameter BLCKSZ, which is 8192 by default.\u003c/p\u003e","SourceRevision":"dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979","ContentHash":"eee61d09b02963457edf02672cc96932a86aff8f39a415a4bd098286149452cc","Payload":{"description":["The number of bytes per unit of I/O read, written, or extended.\n\nRelation data reads, writes, and extends are done in block_size units, derived from the build-time parameter BLCKSZ, which is 8192 by default."],"manual_html":"","related":[{"label":"pg_stat_io columns","url":"/wiki/catalog/pg_stat_io/?v=17"},{"label":"Statistics collection and reset functions","url":"/docs/17/monitoring-stats.html"}],"sections":[{"paragraphs":["The pg_stat_io view will contain one row for each combination of backend type, target I/O object, and I/O context, showing cluster-wide I/O statistics. Combinations which do not make sense are omitted.\n\nCurrently, I/O on relations (e.g. tables, indexes) is tracked. However, relation I/O which bypasses shared buffers (e.g. when moving a table from one tablespace to another) is currently not tracked."],"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 op_bytes FROM pg_catalog.pg_stat_io;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["16","17"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
