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 1uf4ft-001nPc-CX for pgsql-general@arkaria.postgresql.org; Thu, 24 Jul 2025 22:44:30 +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 1uf4fq-00CAQu-OE for pgsql-general@arkaria.postgresql.org; Thu, 24 Jul 2025 22:44:27 +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.94.2) (envelope-from ) id 1uf4fq-00CAQl-A9 for pgsql-general@lists.postgresql.org; Thu, 24 Jul 2025 22:44:26 +0000 Received: from fout-b2-smtp.messagingengine.com ([202.12.124.145]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uf4fo-000clM-2H for pgsql-general@lists.postgresql.org; Thu, 24 Jul 2025 22:44:25 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 116DC1D002E5; Thu, 24 Jul 2025 18:44:24 -0400 (EDT) Received: from phl-imap-04 ([10.202.2.82]) by phl-compute-01.internal (MEProxy); Thu, 24 Jul 2025 18:44:24 -0400 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=fm1; t=1753397063; x=1753483463; bh=CL9AwGXFy1GLCtGNGEvzfljzYDiZvtGMbLwWusS8p2U=; b= qONOsYvPubtV0Q1SFEd1svEv8zn6WKTE2jtbNq5BpTRpy+Ow1vCNZurk9TPdM53x KQ1NYbzdoH0VjzqCnwFK4CwQzOvjuzzEzOQ8j9IqllPgh4+OXoxwmFXcvK/Yf0sc ekIblA3ZvaJKz2l7ohEvlvzHtgruxzFrTORm2J4OWgfCs3+jx1V1QBhZbwMXn1CT 66IlripSuahaCIqKk/kqLTLc1eaK642CoRxGdqniOUsxqownKzUQdd0aWeeAMiQL BrSZ45bS6JaeKmyqhgS3NLnUOB+UWKqup3zG7NH+MhCq4GBW8pjEFa/3tW+ea9PL +h+P5XraWwSMBZFexRIuMA== 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=fm2; t=1753397063; x=1753483463; bh=C L9AwGXFy1GLCtGNGEvzfljzYDiZvtGMbLwWusS8p2U=; b=ld6NtP/nKGD+rzLg4 UGx2mn5j1QVsuyhyxSA+Hzwhkd6Cy2jvIdAYmdcOkY4Aiquus4RAoEHUhyWGSVOP RqpP2Ce6YmUJ7BZTPiOgxzQ+ROTmMqD/cCIgi+Sgqes6/0Lz4zw0Ns9gcaZP7yLG OQpQEM+0Ek7pOS3I7HrMMlHrEfr9Xg/luS9s/YfXov3X/E/W5v/TpeTtdnMLesa5 wY3RWZwxVxeNs1l1JkYiDNVWf6KRmspkVIOq1sVjomkDmynR13huo6jBs8BajTRR eo30U2Ol6Ny2b8wwVb8v+nwJ8BbIq8H7r8mXcFhAf0zZKq6VqVS3eqW2wByzWw3h NLVmQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdekudekkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvkfgjfhfutgfgsehtqhertdertdejnecuhfhrohhmpedfrfhivghrrhgv uceurghrrhgvfdcuoehpihgvrhhrvgessggrrhhrvgdrshhhqeenucggtffrrghtthgvrh hnpeevleffheejheettdeugefguddvteffuedtffeiffduveeigfegudekjeffffdtffen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpihgvrh hrvgessggrrhhrvgdrshhhpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhu thdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrh gvshhqlhdrohhrghdprhgtphhtthhopehjrhhoshhssehophgvnhhvihhsthgrshdrnhgv th X-ME-Proxy: Feedback-ID: i97614980:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id C4E3FB6006B; Thu, 24 Jul 2025 18:44:22 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: T89c86ea8eb4c36ce Date: Fri, 25 Jul 2025 00:44:01 +0200 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 > This then begs the obvious question of how fast is this with=20 > synchronous_commit =3D on? Probably not awful, especially with commit_delay. I'll try that and report back. 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?