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 1s59uo-003bwD-HT for pgsql-hackers@arkaria.postgresql.org; Thu, 09 May 2024 19:58:55 +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 1s59um-00ANgT-JS for pgsql-hackers@arkaria.postgresql.org; Thu, 09 May 2024 19:58:52 +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 1s59um-00ANgK-6F for pgsql-hackers@lists.postgresql.org; Thu, 09 May 2024 19:58:52 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s59uj-000Eh1-8e for pgsql-hackers@postgresql.org; Thu, 09 May 2024 19:58:51 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id F384E300D44F for ; Thu, 09 May 2024 21:58:48 +0200 (CEST) Received: from s981.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id E1E4B2E2A438; Thu, 09 May 2024 21:58:48 +0200 (CEST) Received: from s471.loopia.se (unknown [172.22.191.6]) by s981.loopia.se (Postfix) with ESMTP id DEEF022B179D; Thu, 09 May 2024 21:58:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s471.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=yesql.se Received: from s934.loopia.se ([172.22.191.6]) by s471.loopia.se (s471.loopia.se [172.22.190.35]) (amavisd-new, port 10024) with LMTP id raysXcbrAk7K; Thu, 9 May 2024 21:58:48 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s934.loopia.se (Postfix) with ESMTPSA id 2FF397CEA5D; Thu, 09 May 2024 21:58:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1715284728; bh=1sBFZiHaFd2SkMW1ZdxChYZSHevL6Hnp3id6s35GJoQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=UnGY9OjKgCilJy2UEjn6GlWVVAFcoW1oE0tYGoSRoyrrnSlF4RCZcwhvwmsXSwlH7 GBAGtHFPpnLodRFiyZdQmp7K5qFvSOxV9nKBzG4doBRBXCrBv1CM9g6jgKUzPqM/hO bxLjKc47rY0STdmysrkwfGV8NoG5SOkXnPnVYfcvRwK5GY0wnv1DT6aJHXkiQ7Xrh1 HNI7j/WqrdkyO+vslsvWHMlR/l9iQ+Fdb7SvqF8wuoHhSsHW01jc+OBPRIOwlnUvxI Ys3B0wJ8OX8q9QgXOEKdWpdheUa9sWWujc02A/E70Aj2nTmc+ZJ7hIz57JPYtI7QCR /OTM7elfe+Klw== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: add --no-sync to pg_upgrade's calls to pg_dump and pg_dumpall From: Daniel Gustafsson In-Reply-To: <20240509193425.GA3219615@nathanxps13> Date: Thu, 9 May 2024 21:58:37 +0200 Cc: Michael Paquier , Tom Lane , Peter Eisentraut , PostgreSQL Hackers Content-Transfer-Encoding: 7bit Message-Id: <191F8200-688E-4B70-8B45-B3DD1BBF11B9@yesql.se> References: <20240503171348.GA1731524@nathanxps13> <677ed9ca-8653-4c27-80ca-0ea763f0f21f@eisentraut.org> <20240508183850.GA2824188@nathanxps13> <818511.1715194198@sss.pgh.pa.us> <20240509193425.GA3219615@nathanxps13> To: Nathan Bossart X-Mailer: Apple Mail (2.3774.500.171.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 9 May 2024, at 21:34, Nathan Bossart wrote: > > On Thu, May 09, 2024 at 09:03:56AM +0900, Michael Paquier wrote: >> +1. Could there be an argument in favor of a backpatch? This is a >> performance improvement, but one could also side that the addition of >> sync support in pg_dump[all] has made that a regression that we'd >> better fix because the flushes don't matter in this context. They >> also bring costs for no gain. > > I don't see a strong need to back-patch this, if for no other reason than > it seems to have gone unnoticed for 7 major versions. Plus, based on my > admittedly limited testing, this is unlikely to provide significant > improvements. Agreed, this is a nice little improvement but it's unlikely to be enough of a speedup to warrant changing the backbranches. -- Daniel Gustafsson