{"Entry":{"collection":"metric","key":"pg_stat_io-write_bytes","name":"pg_stat_io.write_bytes","aliases":["write_bytes","pg_stat_io"],"metadata":{"aliases":["write_bytes","pg_stat_io"],"category":"pg_stat_io","content_hash":"6a29cdbd5bc25d9e39ce715f22ce2fe024a653dcba3f7bd5c6868ebb69984514","imported_at":"2026-09-30T00:40:45.693149+08:00","name":"pg_stat_io.write_bytes","name_zh":"","slug":"pg_stat_io-write_bytes","summary":"The total size of write operations in bytes."}},"Definition":{"Collection":"metric","Key":"pg_stat_io-write_bytes","SourceDatabase":"center","Version":"18","SourceTable":"statistics_metric","SourceKey":"pg_stat_io-write_bytes","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"comparison_data":{"field":"write_bytes","sql_type":"numeric","units_mentioned":["bytes"],"view":"pg_stat_io"},"comparison_hash":"ee1708c6cca99d4fb6b2598fa6df2e6c8ecd34bf3783414754db5e2631a72ca9","description":["The total size of write operations in bytes."],"documented":true,"facts":[{"label":"View","value":"pg_stat_io"},{"label":"Field","value":"write_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":"write_bytes","manual_html":"","manual_path":"/docs/18/monitoring-stats.html","related":[{"label":"pg_stat_io columns","url":"/wiki/catalog/pg_stat_io/?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_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":"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 write_bytes FROM pg_catalog.pg_stat_io;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT write_bytes FROM pg_catalog.pg_stat_io;","source_only":false,"sources":[{"label":"PostgreSQL 18 English manual","path":"monitoring-stats.html","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","url":"/docs/18/monitoring-stats.html#PG-STAT-IO-VIEW"}],"sql_type":"numeric","tables":[],"units_mentioned":["bytes"],"view":"pg_stat_io"},"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-IO-VIEW"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_io-write_bytes","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_stat_io.write_bytes","Summary":"The total size of write operations in bytes.","BodyHTML":"\u003cp\u003eThe total size of write operations in bytes.\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"3fa4075f821cae525d1e009cc4860dd7f85bced0a04598c2250b74aaa6e6405c","Payload":{"description":["The total size of write operations in bytes."],"manual_html":"","related":[{"label":"pg_stat_io columns","url":"/wiki/catalog/pg_stat_io/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/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) 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":"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 write_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":["18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
