{"kind": "metric", "major": "18", "item": {"slug": "pg_stat_io-read_bytes", "name": "pg_stat_io.read_bytes", "name_zh": "", "category": "pg_stat_io", "summary": "The total size of read operations in bytes.", "aliases": ["read_bytes", "pg_stat_io"], "content_hash": "05029cac05b881fb948e98f303650da175aa476d2cb7cba7fb8e3addc4b71632", "versions": {"18": {"view": "pg_stat_io", "facts": [{"label": "View", "value": "pg_stat_io"}, {"label": "Field", "value": "read_bytes"}, {"label": "SQL type", "value": "numeric"}, {"label": "Units named in the field definition", "value": "bytes"}, {"label": "Reset observation", "value": "Time at which these statistics were last reset."}], "field": "read_bytes", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_io/?v=18", "label": "pg_stat_io columns"}, {"url": "/docs/18/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sources": [{"url": "/docs/18/monitoring-stats.html#PG-STAT-IO-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 18 English manual", "sha256": "aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722"}], "sections": [{"title": "View semantics", "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) and WAL activity are 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": "Collection and reset context", "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."]}, {"code": "SELECT read_bytes FROM pg_catalog.pg_stat_io;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "numeric", "signature": "SELECT read_bytes FROM pg_catalog.pg_stat_io;", "documented": true, "description": ["The total size of read operations in bytes."], "manual_html": "", "manual_path": "/docs/18/monitoring-stats.html", "source_only": false, "comparison_data": {"view": "pg_stat_io", "field": "read_bytes", "sql_type": "numeric", "units_mentioned": ["bytes"]}, "comparison_hash": "11ac6ba6af29e0bd59eee7af808d2f616dce71bae024f587a1aa385718f64e2c", "units_mentioned": ["bytes"]}, "19": {"view": "pg_stat_io", "facts": [{"label": "View", "value": "pg_stat_io"}, {"label": "Field", "value": "read_bytes"}, {"label": "SQL type", "value": "numeric"}, {"label": "Units named in the field definition", "value": "bytes"}, {"label": "Reset observation", "value": "Time at which these statistics were last reset."}], "field": "read_bytes", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_io/?v=19", "label": "pg_stat_io columns"}, {"url": "/docs/19/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "19beta4", "major": "19", "channel": "preview", "revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}, "sources": [{"url": "/docs/19/monitoring-stats.html#PG-STAT-IO-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 19 English manual", "sha256": "26e1b6632bdf05ebe081987cb60ab4ded526eec7db73e41316fbd69466c494fe"}], "sections": [{"title": "View semantics", "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) and WAL activity are 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": "Collection and reset context", "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."]}, {"code": "SELECT read_bytes FROM pg_catalog.pg_stat_io;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "numeric", "signature": "SELECT read_bytes FROM pg_catalog.pg_stat_io;", "documented": true, "description": ["The total size of read operations in bytes."], "manual_html": "", "manual_path": "/docs/19/monitoring-stats.html", "source_only": false, "comparison_data": {"view": "pg_stat_io", "field": "read_bytes", "sql_type": "numeric", "units_mentioned": ["bytes"]}, "comparison_hash": "11ac6ba6af29e0bd59eee7af808d2f616dce71bae024f587a1aa385718f64e2c", "units_mentioned": ["bytes"]}, "20": {"view": "pg_stat_io", "facts": [{"label": "View", "value": "pg_stat_io"}, {"label": "Field", "value": "read_bytes"}, {"label": "SQL type", "value": "numeric"}, {"label": "Units named in the field definition", "value": "bytes"}, {"label": "Reset observation", "value": "Time at which these statistics were last reset."}], "field": "read_bytes", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_io/?v=20", "label": "pg_stat_io columns"}, {"url": "/docs/devel/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}, "sources": [{"url": "/docs/devel/monitoring-stats.html#PG-STAT-IO-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 20 English manual", "sha256": "dfc27a108b70bdf88f310801ae3db011a8f608befd927722e5f3e9bdcc070251"}], "sections": [{"title": "View semantics", "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) and WAL activity are 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": "Collection and reset context", "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."]}, {"code": "SELECT read_bytes FROM pg_catalog.pg_stat_io;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "numeric", "signature": "SELECT read_bytes FROM pg_catalog.pg_stat_io;", "documented": true, "description": ["The total size of read operations in bytes."], "manual_html": "", "manual_path": "/docs/devel/monitoring-stats.html", "source_only": false, "comparison_data": {"view": "pg_stat_io", "field": "read_bytes", "sql_type": "numeric", "units_mentioned": ["bytes"]}, "comparison_hash": "11ac6ba6af29e0bd59eee7af808d2f616dce71bae024f587a1aa385718f64e2c", "units_mentioned": ["bytes"]}}}, "snapshot": {"view": "pg_stat_io", "facts": [{"label": "View", "value": "pg_stat_io"}, {"label": "Field", "value": "read_bytes"}, {"label": "SQL type", "value": "numeric"}, {"label": "Units named in the field definition", "value": "bytes"}, {"label": "Reset observation", "value": "Time at which these statistics were last reset."}], "field": "read_bytes", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_io/?v=18", "label": "pg_stat_io columns"}, {"url": "/docs/18/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sources": [{"url": "/docs/18/monitoring-stats.html#PG-STAT-IO-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 18 English manual", "sha256": "aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722"}], "sections": [{"title": "View semantics", "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) and WAL activity are 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": "Collection and reset context", "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."]}, {"code": "SELECT read_bytes FROM pg_catalog.pg_stat_io;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "numeric", "signature": "SELECT read_bytes FROM pg_catalog.pg_stat_io;", "documented": true, "description": ["The total size of read operations in bytes."], "manual_html": "", "manual_path": "/docs/18/monitoring-stats.html", "source_only": false, "comparison_data": {"view": "pg_stat_io", "field": "read_bytes", "sql_type": "numeric", "units_mentioned": ["bytes"]}, "comparison_hash": "11ac6ba6af29e0bd59eee7af808d2f616dce71bae024f587a1aa385718f64e2c", "units_mentioned": ["bytes"]}, "comparison": {"left": "17", "right": "18", "status": "added", "diff": "--- PostgreSQL 17\n+++ PostgreSQL 18\n@@ -1 +1,8 @@\n-Not recorded in this version\n+{\n+  \"field\": \"read_bytes\",\n+  \"sql_type\": \"numeric\",\n+  \"units_mentioned\": [\n+    \"bytes\"\n+  ],\n+  \"view\": \"pg_stat_io\"\n+}"}}