MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
asynchronous
Search

Fittl: Waiting for Postgres 18: Accelerating Disk Reads with Asynchronous I/O

Thursday May 8, 2025. 08:11 AM , from LWN.net
Lukas Fittl writes in detail
on the pganalyze blog about the asynchronous I/O capability coming with the
PostgreSQL 18 release.

Asynchronous I/O delivers the most noticeable gains in cloud
environments where storage is network-attached, such as Amazon EBS
volumes. In these setups, individual disk reads often take multiple
milliseconds, introducing substantial latency compared to local
SSDs.

With traditional synchronous I/O, each of these reads blocks query
execution until the data arrives, leading to idle CPU time and
degraded throughput. By contrast, asynchronous I/O allows Postgres
to issue multiple read requests in parallel and continue processing
while waiting for results. This reduces query latency and enables
much more efficient use of available I/O bandwidth and CPU cycles.
https://lwn.net/Articles/1020452/

Related News

News copyright owned by their original publishers | Copyright © 2004 - 2025 Zicos / 440Network
Current Date
May, Wed 14 - 14:48 CEST