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 1rvFls-00AmNl-VS for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Apr 2024 12:12:45 +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 1rvFlr-00DXAb-KK for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Apr 2024 12:12:43 +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 1rvFlr-00DXAO-9z for pgsql-hackers@lists.postgresql.org; Fri, 12 Apr 2024 12:12:43 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rvFlm-002VGU-EN for pgsql-hackers@postgresql.org; Fri, 12 Apr 2024 12:12:41 +0000 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-56e78970853so2920140a12.0 for ; Fri, 12 Apr 2024 05:12:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1712923956; x=1713528756; darn=postgresql.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=WCFHTHE1qOCD/scDURmJ9zotOWbKaQZoyzZJCA/U748=; b=g63WFQ2tu8lv8Pv4aC1hlQCmpPRS82KCRgtrxhqUi8MHhTHQ+eXntLGbIstxTQoFl8 ZQT4SZa6OS1qscokL41E/GNpDjtFbUdcTcW/1k11rhTPhQ+BHTxVTPr39QFBW7EH0KYy LnmnrUdYpWCsPKafp1N0Lv9XIxteO+qG7aYAsUITO8WLC6lArF0ZK7qOIx/g4NoRgzsI IhfxoF82TbXsSJ8yXn5U0S+1JRTqPRUDEc8TEEl+cBL3yIyzb7jr1MWSRESgOMYhNhTY LU57ljLR10Z1btw9l6bc1Jzuu1uXmTo891BBV1AxBCDkDRMCKVIIpioHZh9dmsqZuIlk G3jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712923956; x=1713528756; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WCFHTHE1qOCD/scDURmJ9zotOWbKaQZoyzZJCA/U748=; b=NuHI0FgEUB60s4i3VMsnNS784F1CYNceSdBfnu2Nu6Y3bOeqoVtBdP0iZ8dlTJCzEK UDia7Ao+gm2GcyPJ7GizTgl6Qos3rKxpkjrsIJAgp5KGypKM+iw2OlRyOKzVa/JuJC9Q bqWE+Tsra3gQYenkH2wJTrKWB8HOutTyU29bqL0T03jS9jnmmlCK7nEGs9CImmdXOA34 7P4iGu3E+29MKIsKjkCDQ5E8+MMglRLYmN0FsoyUDwFi6N+fWjajxMHJpVpNdTUiBRP2 2SWqvJADWm9au0JEU6jxBRamAJbELG+C+8Mlru16iPM0mVBQQp0uIQgRhmDO22PN8HB5 PhTw== X-Forwarded-Encrypted: i=1; AJvYcCWUT/t8FlvWs/5IfsAe1nLwPW/dZNGyGoFmBfn5LitOcPPx6S5CTyhqMGQeGXvVX0rOb6OSvRJY/9AQ2K8BI0SrADAPanwnO5/Kc2N5 X-Gm-Message-State: AOJu0YxkswTt3eIXIkOXBWLET3wxKGahXgTyGwMlarYL9iVx1fGDYbyh 71JyLuKYbqCTOzsi4Ox64r1dZ8UHglwKqbkMGbnr1t0ihlyx5z9v1QEqY6GGOA== X-Google-Smtp-Source: AGHT+IGe9x6lLLyRPUloax6In/i/thhupnIn0VoyX4G9toKIc4aeqyw220GQjR3lGLUjz7BDYD9gfQ== X-Received: by 2002:a17:906:1392:b0:a52:2274:64af with SMTP id f18-20020a170906139200b00a52227464afmr1733420ejc.2.1712923955700; Fri, 12 Apr 2024 05:12:35 -0700 (PDT) Received: from [10.137.0.18] ([87.129.230.34]) by smtp.gmail.com with ESMTPSA id yz15-20020a170906dc4f00b00a4673706b4dsm1767292ejb.78.2024.04.12.05.12.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Apr 2024 05:12:35 -0700 (PDT) Message-ID: <4fb270c4-2ae0-4439-92e5-2941e73122ca@enterprisedb.com> Date: Fri, 12 Apr 2024 14:12:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: post-freeze damage control To: David Steele , 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: Tomas Vondra In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/11/24 23:48, David Steele wrote: > 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. > Perhaps, I agree we could/should try to do better job to do backups, no argument there. But I still don't quite see why introducing such infrastructure to "manage backups" should be up to the patch adding incremental backups. I see it as something to build on top of pg_basebackup/pg_combinebackup, not into those tools. > 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. > Sure, I'm not against making it clearer pg_combinebackup is not a complete backup solution, and documenting the existing restrictions. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company