Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wc1Hn-0031j3-32 for pgsql-admin@arkaria.postgresql.org; Tue, 23 Jun 2026 13:35:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wc1Hm-00C43h-2n for pgsql-admin@arkaria.postgresql.org; Tue, 23 Jun 2026 13:35:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wc1Hm-00C43Y-1H for pgsql-admin@lists.postgresql.org; Tue, 23 Jun 2026 13:35:30 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wc1Hk-00000001kc4-42Hj for pgsql-admin@lists.postgresql.org; Tue, 23 Jun 2026 13:35:29 +0000 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-697d677fc3dso1588153a12.3 for ; Tue, 23 Jun 2026 06:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782221727; x=1782826527; darn=lists.postgresql.org; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KXBPuJhGK7ofadzXtyPXs+MvkiCz77022dVlTmoChoo=; b=ee7nvd36rQsjcGunRg4OhTTDoGpyHcCygrKNgDw4OjDvYgSpPRWlX6SRSMahyoU95G i/rKHKws5Q/qRc6bDOIWA9PfWBCMA1KT56oxrFr1K1E2uyr3tgniTV1q8nyScFMTho8B FNWPzTjs+APFSH+0M9gugcZs/OngZ2zVZ9Ge7uA0CP4RgnKOw07W/4kYwZ95izMavS/4 ckWs+bJoNRLddjrZJ1CNeN6OL9gTtgunBsV8TQf+JF8biFV4YczRDKL6MF2Ok7dT1ZbL J9DcEHR7j4TqE/OwQUDseVEAbKuam2mZriB0lSuuewCpZlwLOaC7BtvLKuHeIrqFWV0C Uwaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782221727; x=1782826527; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KXBPuJhGK7ofadzXtyPXs+MvkiCz77022dVlTmoChoo=; b=owINZ3/ttgiXGx3hMwciNHoOwxh1MvSUWtzLUYqPyD6n2aR++J4fiLKIP9mUID1rif mxwGE7gai+IYt+xlqh6gyGT50E9uwGLJuq8RnIyFSFtlDEOumV9ao7yJ3QXFgk6A0Uzo A0RCDnL0jncRfYqNPhksp5LR106+l5KN/f9p7WdOU6Ys2y40nAAx0Zw34anrtEBH0TT8 5WZI/ecZm6562Gn2YW2RGQ60xmK1Nv8JDRqu4tfR9EeRRJPH/+9Myi97hsS2W32DGvrE wI45Ur728WyXlq9DDiBNi/Uew+4OsOxIRFYFA3YVgqUv+yvvLD1QB7+Pj5j95D1yzzlm AlMg== X-Forwarded-Encrypted: i=1; AFNElJ8lDrUDvMpUwzja7XpA/EoTQbfFk95S1pmxXn9jlFAqwn0g2SSy42GVudrNNhmvLq3E7q6vlogmUj2SCA==@lists.postgresql.org X-Gm-Message-State: AOJu0Ywb16gXQcdTLt82N7gAh1d1v3fziNC1iirdQv9keKEPMvw5Mnh9 T8AogQYQgXKhpgZUECh8pNIz/edkafYznaZTRLA4KnmRag6IY0DSsHRGSE3cHNfM X-Gm-Gg: AfdE7clNT6q/qlL91tWBXrWJTLtQ8P3xLa95oZ1OD5XDKGuJmcYvsobhGlWL5s+S8VQ IoApEMmmpSwzjlb6tuGCzuyEgwJtNVN9aL9lEdaaG5yUFCnEk42flaByIkwWSa/VYe6k2eydRcx bj3MTG3/rgHE+Xdc1Yw+ZRd4pOkIFsnRvP49WuHvurtr4F3XfNpjigmD5rjcy+oBm+K4sBQvEHd VBhmXFxJS29TOuz1WfuUNARJFHPO/en0xc0U2LZVrXJeH6LKCnhFKlFwkkevXlNQ5lGbRhL9eRr GhNUE8WeRWIgZ97+mLhKBddKsbQnSXUCAnaz4dj6dsmSOMAOmh50sK/S8M0evjKuewKJPi4H3+P VIcLdRuuNRTn/CqFHUBA3YiEm1Vm1HXsaDL64LInRv3rDPvUZHGQCVqvibE48KJlOagk+qBhNBz uztEEUp8OxleNh7Kl65FsXk11vJ6VU9j3FBzzgemgrin/+3Cm9k1KPZDP9Esdop3DTnr01Jk8Fi Y1iEGUeUsa124O1YzH+Zbaz/UtxwdiW27hRWMXy8w== X-Received: by 2002:a05:600c:3f0c:b0:490:bc46:1a58 with SMTP id 5b1f17b1804b1-49240e7fb7dmr307353475e9.18.1782221716516; Tue, 23 Jun 2026 06:35:16 -0700 (PDT) Received: from smtpclient.apple (2a02-8429-e840-3201-bc97-5bb1-e2c3-9611.rev.sfr.net. [2a02:8429:e840:3201:bc97:5bb1:e2c3:9611]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-492494497ffsm306422015e9.11.2026.06.23.06.35.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2026 06:35:15 -0700 (PDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_A4588391-A984-4504-99D2-D9AC9906E583" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\)) Subject: Re: About asynchronous I/O From: bertrand HARTWIG X-Priority: 3 In-Reply-To: <1116567729.67464.1782219863407@connect.xfinity.com> Date: Tue, 23 Jun 2026 15:35:04 +0200 Cc: Ron Johnson , Pgsql-admin Message-Id: References: <359C3FF2-C038-4237-A361-4DAEFA92C114@gmail.com> <1116567729.67464.1782219863407@connect.xfinity.com> To: JOHN WIENCEK X-Mailer: Apple Mail (2.3864.600.51.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_A4588391-A984-4504-99D2-D9AC9906E583 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Linux Io_uring is used by PostgreSQL only with aio_read() =E2=80=A6 > Le 23 juin 2026 =C3=A0 15:04, JOHN WIENCEK a = =C3=A9crit : >=20 > Can your application assume the risk of lost transactions in the event = of a database crash? > ASYNC/IO is not a good solution for all applications. >=20 >=20 > Regards >=20 > John >> On 06/23/2026 7:19 AM CDT bertrand HARTWIG = wrote: >> =20 >> =20 >> Very usefull on SSD AND nvme ! (low latency on IOPs). But the higher = the disk latency, the greater the gains you will notice. >> =20 >> On SSD i observed 200% >>=20 >>> Le 23 juin 2026 =C3=A0 14:02, Ron Johnson = a =C3=A9crit : >>> On Tue, Jun 23, 2026 at 7:26=E2=80=AFAM bertrand HARTWIG = > wrote: >>> Hello, >>>=20 >>> The size of the database is clearly not important. >>>=20 >>> What matters are queries that are not already cached and that = perform I/O. >>>=20 >>> With async I/O, you can see I/O performance improvements of up to = 200%=E2=80=93300%. The higher the disk latency, the greater the gains = you will notice. >>>=20 >>> =20 >>> So, not so useful on SSD/NVMe? >>> =20 >>> Regards, >>>=20 >>> Bertrand >>>=20 >>>=20 >>>> Le 23 juin 2026 =C3=A0 09:55, ek ek > a =C3=A9crit : >>>>=20 >>>> Hello everyone, >>>> Are any of you running PostgreSQL 18 on production environments = sized between 1 to 3TB? Does the 'asynchronous I/O (AIO) subsystem' = deliver a significant performance increase? Also, has anyone had the = opportunity to benchmark it against v17? >>>=20 >>> =20 >>> =20 >>> -- >>> Death to , and butter sauce. >>> Don't boil me, I'm still alive. >>> lobster! --Apple-Mail=_A4588391-A984-4504-99D2-D9AC9906E583 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Linux Io_uring is used by PostgreSQL = only with aio_read() =E2=80=A6


Le 23 juin 2026 =C3=A0 15:04, JOHN WIENCEK = <jwiencek3@comcast.net> a =C3=A9crit :

=20 =20 =20
Can your = application assume the risk of lost transactions in the event of a = database crash?
=20
ASYNC/IO is not a good solution for all applications.


=20
Regards

=20
John
=20
=20
=20
On 06/23/2026 7:19 AM CDT bertrand HARTWIG = <hartwig.bertrand@gmail.com> wrote:
=20
 
=20
 
Very usefull on SSD AND nvme ! (low latency on IOPs). But the = higher the disk latency, the greater the gains you will notice.=20
 
=20
On SSD i observed 200%
=20

=20
=20
Le 23 juin 2026 =C3=A0 14:02, Ron Johnson = <ronljohnsonjr@gmail.com> a =C3=A9crit :
=20
=20
=20
On Tue, Jun 23, = 2026 at 7:26=E2=80=AFAM bertrand HARTWIG <hartwig.bertrand@gmail.com&= gt; wrote:
=20
=20
=20

Hello,

The size of the database is clearly not = important.

What matters are queries that are not already cached = and that perform I/O.

With async I/O, you can see I/O performance = improvements of up to 200%=E2=80=93300%. The higher the disk latency, = the greater the gains you will notice.

=20
=20
=20
 
=20
So, not so useful on SSD/NVMe?
=20
 
=20
=20

Regards,

Bertrand

=20
=20

=20
=20
Le 23 juin 2026 =C3=A0 09:55, ek ek <livadidrive@gmail.com> a =C3=A9crit :
=20
=20
=20
=20
Hello everyone,
=20
Are any of you running PostgreSQL 18 on production = environments sized between 1 to 3TB? Does the 'asynchronous I/O (AIO) = subsystem' deliver a significant performance increase? Also, has anyone = had the opportunity to benchmark it against v17?
=20
=20
=20
=20
=20
=20
=20
=20
=20
 
=20
 
--
=20
=20
Death to <Redacted>, and butter sauce.=20
Don't boil me, I'm still alive.
=20
=20
<Redacted> lobster!
=20
=20
=20
=20
=20
=20
=20
=20
=20
=20

= --Apple-Mail=_A4588391-A984-4504-99D2-D9AC9906E583--