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.94.2) (envelope-from ) id 1uf1yQ-001BtJ-1J for pgsql-general@arkaria.postgresql.org; Thu, 24 Jul 2025 19:51:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uf1yP-00AgQ3-12 for pgsql-general@arkaria.postgresql.org; Thu, 24 Jul 2025 19:51:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uf1yO-00AgPu-1v for pgsql-general@lists.postgresql.org; Thu, 24 Jul 2025 19:51:24 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uf1yK-000elX-1q for pgsql-general@lists.postgresql.org; Thu, 24 Jul 2025 19:51:24 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id 35D657A00B1; Thu, 24 Jul 2025 15:51:19 -0400 (EDT) Received: from phl-imap-04 ([10.202.2.82]) by phl-compute-01.internal (MEProxy); Thu, 24 Jul 2025 15:51:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barre.sh; h=cc :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=fm1; t=1753386679; x=1753473079; bh=RxbL0z4yubBcup8cGV4Z6EgbiuGnvq84gfNth9PEHTI=; b= LhDiPmSBrUQiYSBOni11h5NgwlU/Y9YjgpmdMbFueqeW2g3+gYZwiTMU/ijDvi3y QMyXYzSjbX0tB9y5eMV6ZzAO/ZO/jwzw0ugFsoR809ANBCfKnQLPsir9yXUG1IKu fYF8OnfEZO548r8udXqnTlM6B2YANdNNFf1i7V7twfwhtTlti/kAo345KY6NC5b5 Khsn3UhESpffZR8Z/CJKhxk5EvLsDzGtuqCx+O6vg0wIR3g2YOX/uRoS/c35ZrWu vFOv3zIznBDUNpr+iYZGIJQd6eHuR87xHtUqJ+2UJ0UbkEWG1raAYFzbsb9q/3Y2 EOkV/ltblPbuNLlRNLGIzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm2; t=1753386679; x= 1753473079; bh=RxbL0z4yubBcup8cGV4Z6EgbiuGnvq84gfNth9PEHTI=; b=F NN4VqHz+76NW+tlIrin9dSZ4rV5b7/twr5vRrG14D/4fbktBfY2DEoCNqd7fuTZX /9pooKwizDXA7yetzcxaXaKC6LlPNfH/w2l8+ID1mr72j8lYnJWgdmEsyK25aQeo FN7KKNr6zS5mT2RphkO+VrcckyTWlWMY6eLaPrx7oVKHvomgxL4Qo6VGEMXSCjf9 QGKrZr0WFBQVJsct2ohKvhmFohODlMAuh2H5CZDzKkx3F9W0yIUH4fuF9LFuF0K1 rxh3TjSkfoGhTlFN2PpG8ab9krcmOX64OcvtAQwAD/ZbgxXldeUEyQq97PzS0yh4 r2MN0UaAZQy1jyFUP0aKw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdekudehfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvvefkjghfufgtgfesthhqredtredtjeenucfhrhhomhepfdfrihgvrhhr vgcuuegrrhhrvgdfuceophhivghrrhgvsegsrghrrhgvrdhshheqnecuggftrfgrthhtvg hrnhepgeevjeevffeuuddthfduteekgeeigfekjeegiedtkeevgeegjedugffhteehhfej necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhivg hrrhgvsegsrghrrhgvrdhshhdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphho uhhtpdhrtghpthhtohepnhhitghosegtrhihphhtohhnvggtthhorhdrtghomhdprhgtph htthhopehsvghrvghfrghrihhkrghnsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhg shhqlhdqghgvnhgvrhgrlheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i97614980:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 74670B6006B; Thu, 24 Jul 2025 15:51:18 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: T89c86ea8eb4c36ce Date: Thu, 24 Jul 2025 21:50:58 +0200 From: "Pierre Barre" To: "Nico Williams" Cc: "Seref Arikan" , pgsql-general@lists.postgresql.org Message-Id: <5c512367-0f67-4bcc-9897-1acf9c0f8bd3@app.fastmail.com> In-Reply-To: References: <8188513c-e089-4273-b2be-16dd0a5a0a80@app.fastmail.com> 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 It=E2=80=99s not =E2=80=9Csafe=E2=80=9D or =E2=80=9Cunsafe=E2=80=9D, the= re=E2=80=99s mountains of valid workloads which don=E2=80=99t require sy= nchronous_commit. Synchronous_commit don=E2=80=99t make your system auto= matically safe either, and if that=E2=80=99s a requirement, there=E2=80=99= s many workarounds, as you suggested, it certainly doesn=E2=80=99t make = 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_recycle =3D= off. > > Bingo. That's why it's fast (synchronous_commit =3D off). It's also = why > it's not safe _unless_ you have a local, fast, persistent ZIL device > (which I assume you don't). > > Nico > --