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 1r5Ukd-00Dhc7-Mn for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Nov 2023 17:41:31 +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 1r5Ukc-000zER-0w for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Nov 2023 17:41:30 +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 1r5Ukb-000zEJ-N9 for pgsql-hackers@lists.postgresql.org; Tue, 21 Nov 2023 17:41:29 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r5UkZ-007dgW-5U for pgsql-hackers@lists.postgresql.org; Tue, 21 Nov 2023 17:41:29 +0000 Received: from [10.5.0.2] (unknown [45.14.195.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id A0CDF54625; Tue, 21 Nov 2023 17:41:23 +0000 (UTC) Message-ID: <62013cd7-b2a6-477e-b8dd-9a27be3073e0@pgmasters.net> Date: Tue, 21 Nov 2023 13:41:15 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Add recovery to pg_control and remove backup_label Content-Language: en-US To: Andres Freund Cc: Robert Haas , Michael Paquier , Postgres hackers References: <38b212b7-b8c0-46ea-940b-f27ec3a24deb@pgmasters.net> <75071637-6b5c-483b-ac55-9c15b69eaca0@pgmasters.net> <20231120204110.ofcmzdjbjlas4kuy@awork3.anarazel.de> From: David Steele In-Reply-To: <20231120204110.ofcmzdjbjlas4kuy@awork3.anarazel.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/20/23 16:41, Andres Freund wrote: > > On 2023-11-20 15:56:19 -0400, David Steele wrote: >> I understand this is an option -- but does it need to be? What is the >> benefit of excluding the manifest? > > It's not free to create the manifest, particularly if checksums are enabled. It's virtually free, even with the basic CRCs. Anyway, would you really want a backup without a manifest? How would you know something is missing? In particular, for page incremental how do you know something is new (but not WAL logged) if there is no manifest? Is the plan to just recopy anything not WAL logged with each incremental? > Also, for external backups, there's no manifest... There certainly is a manifest for many external backup solutions. Not having a manifest is just running with scissors, backup-wise. Regards, -David