PostgreSQL 18 ← 17新增目录
+ pid+ io_id+ io_generation+ state+ operation+ off+ length+ target+ handle_data_len+ raw_result+ result+ target_desc+ f_sync+ f_localmem+ f_buffered
SYSTEM VIEW · 系统视图
The pg_aios view lists all Asynchronous I/O handles that are currently in-use. An I/O handle is used to reference an I/O operation that is being prepared, executed or is in the process of completing. pg_aios contains one row for each I/O handle. This view is mainly useful for developers of PostgreSQL, but may also be useful when tuning PostgreSQL.
已与 PostgreSQL 18.6 实例逐字段核对 · 原始实测记录 ↗
| 字段 / COLUMN | 类型 / TYPE | 说明 / DESCRIPTION |
|---|---|---|
pid |
integer文档原写法:int4 |
Process ID of the server process that is issuing this I/O. |
io_id |
integer文档原写法:int4 |
Identifier of the I/O handle. Handles are reused once the I/O completed (or if the handle is released before I/O is started). On reuse pg_aios.io_generation is incremented. |
io_generation |
bigint文档原写法:int8 |
Generation of the I/O handle. |
state |
text |
State of the I/O handle: |
operation |
text |
Operation performed using the I/O handle: |
off |
bigint文档原写法:int8 |
Offset of the I/O operation. |
length |
bigint文档原写法:int8 |
Length of the I/O operation. |
target |
text |
What kind of object is the I/O targeting: |
handle_data_len |
smallint文档原写法:int2 |
Length of the data associated with the I/O operation. For I/O to/from shared_buffers and temp_buffers, this indicates the number of buffers the I/O is operating on. |
raw_result |
integer文档原写法:int4 |
Low-level result of the I/O operation, or NULL if the operation has not yet completed. |
result |
text |
High-level result of the I/O operation: |
target_desc |
text |
Description of what the I/O operation is targeting. |
f_sync |
boolean文档原写法:bool |
Flag indicating whether the I/O is executed synchronously. |
f_localmem |
boolean文档原写法:bool |
Flag indicating whether the I/O references process local memory. |
f_buffered |
boolean文档原写法:bool |
Flag indicating whether the I/O is buffered I/O. |
标记“隐式列”的字段不包含在 SELECT * 中;部分早期统计视图由同版本源码补全,额外来源会显示在字段说明中。
PostgreSQL 提供的系统属性,通常不在 SELECT * 中展开。单独保留,不与普通字段混算。
| 字段 | 类型 | attnum |
|---|
9.0 是收录基线;基线中已存在的字段不标记为新增。矩阵按字段名称对齐,重命名显示为旧字段移除与新字段新增。
PostgreSQL 18 ← 17新增目录
选择两个版本,查看字段的新增、移除与类型变化。交互比较需要 JavaScript;演化时间线可直接阅读。