{"Entry":{"collection":"metric","key":"pg_stat_io-write_time","name":"pg_stat_io.write_time","aliases":["write_time","pg_stat_io"],"metadata":{"aliases":["write_time","pg_stat_io"],"category":"pg_stat_io","content_hash":"e0cd9faf1aa8cae62d01f870162997d421d36d84a100993354863b35ac4dad71","imported_at":"2026-09-30T00:40:45.699693+08:00","name":"pg_stat_io.write_time","name_zh":"","slug":"pg_stat_io-write_time","summary":"Time spent waiting for write operations in milliseconds (if track_io_timing is enabled and object is not wal, or if track_wal_io_timing is enabled and object is wal, otherwise zero)"}},"Definition":{"Collection":"metric","Key":"pg_stat_io-write_time","SourceDatabase":"center","Version":"18","SourceTable":"statistics_metric","SourceKey":"pg_stat_io-write_time","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"comparison_data":{"field":"write_time","sql_type":"double precision","units_mentioned":["milliseconds"],"view":"pg_stat_io"},"comparison_hash":"1a6aef3479152c0d7214b8e54c4dadb5e96063a9f56a33138ef8e727104b1e66","description":["Time spent waiting for write operations in milliseconds (if track_io_timing is enabled and object is not wal, or if track_wal_io_timing is enabled and object is wal, otherwise zero)"],"documented":true,"facts":[{"label":"View","value":"pg_stat_io"},{"label":"Field","value":"write_time"},{"label":"SQL type","value":"double precision"},{"label":"Units named in the field definition","value":"milliseconds"},{"label":"Reset observation","value":"Time at which these statistics were last reset."}],"field":"write_time","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_time FROM pg_catalog.pg_stat_io;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT write_time 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":"double precision","tables":[],"units_mentioned":["milliseconds"],"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_time","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_stat_io.write_time","Summary":"Time spent waiting for write operations in milliseconds (if track_io_timing is enabled and object is not wal, or if track_wal_io_timing is enabled and object is wal, otherwise zero)","BodyHTML":"\u003cp\u003eTime spent waiting for write operations in milliseconds (if track_io_timing is enabled and object is not wal, or if track_wal_io_timing is enabled and object is wal, otherwise zero)\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"171b27ae1a370915bc2ebd3018d9b7ae74f2d86275852a7123545bd216769cc7","Payload":{"description":["Time spent waiting for write operations in milliseconds (if track_io_timing is enabled and object is not wal, or if track_wal_io_timing is enabled and object is wal, otherwise zero)"],"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_time 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","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
