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 1vrwSl-00E3ko-1a for pgsql-general@arkaria.postgresql.org; Mon, 16 Feb 2026 11:08:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vrwRl-001od4-0r for pgsql-general@arkaria.postgresql.org; Mon, 16 Feb 2026 11:07:21 +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 1vrwRk-001ocw-2J for pgsql-general@lists.postgresql.org; Mon, 16 Feb 2026 11:07:21 +0000 Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vrwRi-00000000sUV-1HG5 for pgsql-general@lists.postgresql.org; Mon, 16 Feb 2026 11:07:19 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id AF9797A010D; Mon, 16 Feb 2026 06:07:17 -0500 (EST) Received: from phl-imap-04 ([10.202.2.82]) by phl-compute-06.internal (MEProxy); Mon, 16 Feb 2026 06:07:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barre.sh; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1771240037; x=1771326437; bh=RdkMy0tX3BKvqKh4tSXuiE3gzYwHF8Rm05KkqUReJKk=; b= kEkx5IFaw3wwpcHcm7rLneSnmhU8kQWwEFI7BMKnK+fv7PW0eqCM9LcxVCOkAyZ+ UjLE9RgY+FVtF8vMWbTgJKu6+3hIHVPjbRehmyci+0kZAb0Ht77EA9M2YDLrAdMS BUzfWHprh2h37oaR0QXcpuJsByH7p/r+13kWuGLhMsvorV+CTAzQ1oZhwBnMUt4c I4E4G0Ik2thQav2a5ZRyBGArRIsT21uQxIezBiJKWT8hzP/m2vaMyc4qFchpgfW/ om/e5CeXDQ5DBv6EM2u7lg9cIbQeChtHNfu5cQo6frDoqbi3WVKDjxZJTJGYgmoj jdF2eiQunuR243vd2tjjXA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1771240037; x=1771326437; bh=R dkMy0tX3BKvqKh4tSXuiE3gzYwHF8Rm05KkqUReJKk=; b=QM29HYnJqMjgosFVu NHCz1H4P84PXBVOQsUIJYLZpMVTMvEsMrpJgU7AFT0KnFhxedDIe4hKWb7qeGUCa 8HQt1SIdRuJz2Uh5DL5Btd4GrqDX5KahIGKwrHyxr8TNsqoztG57qqs7mlBaO9Vv 2/DbW4jKtvYrbLYpo4n0GKMzt5PDwmIBYiSUtoKCu9MGOGVleXSY5jxieNb41CDm i4sOpARJrSuVgdSPDIELmjNchUZfQUm6f7iyn3mMs8nYhPHND0yJfmr6o/A67wcE vXz0oO84vd7TWlHlVeWs0UbtyNu6Zp8ofsUkQrdYxy6UCueQ2WsRDQRKrNtZowTT UZJiA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvudeijeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvffkjghfufgtgfesthhqredtredtjeenucfhrhhomhepfdfrihgvrhhr vgcuuegrrhhrvgdfuceophhivghrrhgvsegsrghrrhgvrdhshheqnecuggftrfgrthhtvg hrnhepveelffehjeehtedtueeggfduvdetffeutdffieffudeviefggedukeejfffftdff necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhivg hrrhgvsegsrghrrhgvrdhshhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphho uhhtpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlheslhhishhtshdrphhoshhtgh hrvghsqhhlrdhorhhgpdhrtghpthhtohepjhhrohhsshesohhpvghnvhhishhtrghsrdhn vght X-ME-Proxy: Feedback-ID: i97614980:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 2352FB6006E; Mon, 16 Feb 2026 06:07:17 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: AXRWieDhBCgs Date: Mon, 16 Feb 2026 12:06:56 +0100 From: "Pierre Barre" To: "Jeff Ross" , pgsql-general@lists.postgresql.org Message-Id: In-Reply-To: <60027457-1b85-4a69-a67e-ee87f7cabd61@openvistas.net> References: <8188513c-e089-4273-b2be-16dd0a5a0a80@app.fastmail.com> <5c512367-0f67-4bcc-9897-1acf9c0f8bd3@app.fastmail.com> <60027457-1b85-4a69-a67e-ee87f7cabd61@openvistas.net> Subject: Re: PostgreSQL on S3-backed Block Storage with Near-Local Performance Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi all, Circling back on this thread, ZeroFS now supports placing its WAL on loc= al storage (or something like S3 Express One Zone). ZeroFS wal is sub-gi= gabyte and just there to handle frequent syncs, it doesn't act as writeb= ack caching. Here are pgbench results with synchronous_commit =3D on, WAL on local NV= Me, on a 6-core / 32GB RAM machine with a 4 Gb/s pipe: $ pgbench -c 100 -T 100 --protocol=3Dprepared transaction type: scaling factor: 100 query mode: prepared number of clients: 100 number of threads: 1 duration: 100 s number of transactions actually processed: 1,578,675 number of failed transactions: 0 (0.000%) latency average =3D 6.312 ms tps =3D 15,843 (without initial connection time) Best, Pierre On Fri, Jul 25, 2025, at 00:03, Jeff Ross wrote: > On 7/24/25 13:50, Pierre Barre wrote: > >> It=E2=80=99s not =E2=80=9Csafe=E2=80=9D or =E2=80=9Cunsafe=E2=80=9D, = there=E2=80=99s mountains of valid workloads which don=E2=80=99t require= synchronous_commit. Synchronous_commit don=E2=80=99t make your system a= utomatically safe either, and if that=E2=80=99s a requirement, there=E2=80= =99s many workarounds, as you suggested, it certainly doesn=E2=80=99t ma= ke the setup useless. >> >> Best, >> Pierre >> >> On Thu, Jul 24, 2025, at 21:44, Nico Williams wrote: >>> On Fri, Jul 18, 2025 at 12:57:39PM +0200, Pierre Barre wrote: >>>> - Postgres configured accordingly memory-wise as well as with >>>> synchronous_commit =3D off, wal_init_zero =3D off and wal_recycl= e =3D off. >>> Bingo. That's why it's fast (synchronous_commit =3D off). It's als= o why >>> it's not safe _unless_ you have a local, fast, persistent ZIL device >>> (which I assume you don't). >>> >>> Nico >>> -- > This then begs the obvious question of how fast is this with=20 > synchronous_commit =3D on?