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 1rv2HX-009FAA-N9 for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Apr 2024 21:48:32 +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 1rv2HU-006Bys-UR for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Apr 2024 21:48:28 +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 1rv2HU-006BvA-K5 for pgsql-hackers@lists.postgresql.org; Thu, 11 Apr 2024 21:48:28 +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 1rv2HN-000RDG-EI for pgsql-hackers@postgresql.org; Thu, 11 Apr 2024 21:48:27 +0000 Received: from [10.5.0.2] (unknown [31.222.254.147]) (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 12D5754688; Thu, 11 Apr 2024 21:48:15 +0000 (UTC) Message-ID: Date: Fri, 12 Apr 2024 07:48:12 +1000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: post-freeze damage control To: Tomas Vondra , Tom Kincaid Cc: Michael Paquier , "Andrey M. Borodin" , Alvaro Herrera , Stefan Fercot , Robert Haas , "pgsql-hackers@postgresql.org" References: <202404091545.7zont3umry74@alvherre.pgsql> <4D31BF67-4138-41DC-831D-4BCE0466A59F@yandex-team.ru> <71fcff9e-371b-4f6a-bd34-bfe5cffb864f@enterprisedb.com> Content-Language: en-US From: David Steele In-Reply-To: <71fcff9e-371b-4f6a-bd34-bfe5cffb864f@enterprisedb.com> 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 4/11/24 20:26, Tomas Vondra wrote: > > On 4/11/24 03:52, David Steele wrote: >> On 4/11/24 10:23, Tom Kincaid wrote: >>> >>> The extensive Beta process we have can be used to build confidence we >>> need in a feature that has extensive review and currently has no known >>> issues or outstanding objections. >> >> I did have objections, here [1] and here [2]. I think the complexity, >> space requirements, and likely performance issues involved in restores >> are going to be a real problem for users. Some of these can be addressed >> in future releases, but I can't escape the feeling that what we are >> releasing here is half-baked. > > I haven't been part of those discussions, and that part of the thread is > a couple months old already, so I'll share my view here instead. > > I do not think it's half-baked. I certainly agree there are limitations, > and there's all kinds of bells and whistles we could add, but I think > the fundamental infrastructure is corrent and a meaningful step forward. > Would I wish it to handle .tar for example? Sure I would. But I think > it's something we can add in the future - if we require all of this to > happen in a single release, it'll never happen. Fair enough, but the current release is extremely limited and it would be best if that was well understood by users. > FWIW that discussion also mentions stuff that I think the feature should > not do. In particular, I don't think the ambition was (or should be) to > make pg_basebackup into a stand-alone tool. I always saw pg_basebackup > more as an interface to "backup steps" correctly rather than a complete > backup solution that'd manage backup registry, retention, etc. Right -- this is exactly my issue. pg_basebackup was never easy to use as a backup solution and this feature makes it significantly more complicated. Complicated enough that it would be extremely difficult for most users to utilize in a meaningful way. But they'll try because it is a new pg_basebackup feature and they'll assume it is there to be used. Maybe it would be a good idea to make it clear in the documentation that significant tooling will be required to make it work. Regards, -David