Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nKQer-0001Qi-Bh for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Feb 2022 20:12:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nKQeq-0003WP-5g for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Feb 2022 20:12:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nKQep-0003WE-ST for pgsql-hackers@lists.postgresql.org; Wed, 16 Feb 2022 20:12:11 +0000 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nKQem-0002cq-CN for pgsql-hackers@lists.postgresql.org; Wed, 16 Feb 2022 20:12:11 +0000 Received: by mail-lf1-x130.google.com with SMTP id p22so5969437lfu.5 for ; Wed, 16 Feb 2022 12:12:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=540SVacJPxXIS4l3haTrP4d7G4l82vLpL0Jr0ougAsA=; b=I+iymmFVQNMFUBjdI2qjszzT5SF7rP8OTiiC3OipRrEi9GrSoQ/qmvuiOoDpQlFUkX 95d42x4RQtvnYiWpza6slD3PxN4EnqyYj4aqVaKal934fZpKKjBtIzmm7RqMye/AVred LOaA4NdFaHnXsyMn1W6QDgzUe0hfzay28ntq5YoUaadv9aUWG5RhXDldVbtDEa8/M7uQ 4pnD9kVf0gqbSIjLTpZfyfSzthCmaVV4YbV6xREz6hR5oVZaqKw2fJFccrK1m6Z1xui8 CfMuZxpL+L0rcDG6BzKuII1HcfLuVKqnD9E7aOJWdEjemqC4l6GSuG2sxBxbENj/vMQ5 c/Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=540SVacJPxXIS4l3haTrP4d7G4l82vLpL0Jr0ougAsA=; b=prEEFaXsw/lGHgkPin/ax9TtzvBUrAwNN4c5j1qlbcXaaLZhtT9cm/lMcJkCwDqcCS 5H7IZ0pBlZ98bLnzz+y4d37VSXjCpNSNkyuSnq29wSHB2/pzAxn+zZ2h+mB//VI9C5pW UNOUvaTI2Yq5JHH++pmkyGDnm+3P5SSf0LFkan7jh4NqP7aU1VEMz6DoQMpslI9e2LCs v3gT4Vb3HmZjsjRvkxdk7AbTngT5p1FiYJDaXsSwdmBkIz3XjwOxTVMIF1emoGfg/iuC 0IsA+KWHWwLOqFnotGEs8V3M9/XGbR49UaZYsZHTJm43YV8N/3ccsCzpP1kbbtz1mBkx 2PyA== X-Gm-Message-State: AOAM530ve0tkBK0kp+Q10qsO0q/3rtr+QkCGSUXYcBQgtaGQVsf5a4nH 88lcuH567kUxhrY6V6vcHhzUCSqI6m4CiU2bYBU= X-Google-Smtp-Source: ABdhPJzaasiSkGVDVPCp49GNxbN4daUvhfC4E+cyCd0nStNkRG7jnnXbLOOegZ0ZZw8MvQvUPwEltDPBFVIjYezgWZA= X-Received: by 2002:a05:6512:21ca:b0:42a:8478:1ebd with SMTP id d10-20020a05651221ca00b0042a84781ebdmr3199610lft.675.1645042327627; Wed, 16 Feb 2022 12:12:07 -0800 (PST) MIME-Version: 1.0 References: <20220203215048.rmwjzixdzaetedxq@alap3.anarazel.de> <20220216181846.4syh3mnq5qzjrdiz@alap3.anarazel.de> In-Reply-To: From: Robert Haas Date: Wed, 16 Feb 2022 15:11:56 -0500 Message-ID: Subject: Re: do only critical work during single-user vacuum? To: Peter Geoghegan Cc: Andres Freund , Masahiko Sawada , John Naylor , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Feb 16, 2022 at 2:18 PM Peter Geoghegan wrote: > It seems as if the advice about single user mode persisted for no > great reason at all. Technically there were some remaining reasons to > keep it around (like the truncation thing), but overall these > secondary reasons could have been addressed much sooner if somebody > had thought about it. I raised it on the list a couple of years ago, actually. I think I had a bit of difficulty convincing people that it wasn't something we had to keep recommending. -- Robert Haas EDB: http://www.enterprisedb.com