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 1k4A1q-00082x-Mz for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Aug 2020 21:35:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k4A1p-0002eu-KO for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Aug 2020 21:35:53 +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 1k4A1p-0002en-A3 for pgsql-hackers@lists.postgresql.org; Fri, 07 Aug 2020 21:35:53 +0000 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k4A1l-00029O-SN for pgsql-hackers@lists.postgresql.org; Fri, 07 Aug 2020 21:35:52 +0000 Received: by mail-qk1-x744.google.com with SMTP id g26so3066147qka.3 for ; Fri, 07 Aug 2020 14:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=GYVZEkeHqw6J27jyae6hnVzIUS7Sp+6m73WYIqeQEBU=; b=pbuZz7EaJbG364Js6FWGbKIeJsyKIBtEeI04mqWfZJebxWloGNF2g24dT7/VI0ArTj bVphUDj0hJl20pc0SA/Mfo4V3zKpUtOxi+sxqxtYQBlHwD/BhZ38W2JwbRs7uwoYKxTp 9D1FpMKtkphEP19krSEoC/5eu0fChsKo0kR3BCKQx5SNGMwxW7H+b48Y2M2+4PuvaRWr GVqsd09Xa+/le64P6WYVtSz9XAXO4vBoRIQm7Wg5oKSaZfquAn1AnGi/ucyv/pO4TQ6B Qhob7xUFxuVvIuEXJwxNWDa36KJugzQvNk4NuzEtw+Z6zdZjfGrum9zupqiuTy+E2mXl CEtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=GYVZEkeHqw6J27jyae6hnVzIUS7Sp+6m73WYIqeQEBU=; b=FNrpAhjbh9jvhye9qrep6m8BkkyViC1OWg6b4FEzJvtdSTpV5QshrZAaz1xBO1SqEO nO9Dm4BifpVo2jY/9VPKT6PcBmP+zJuDDo3vEDRc/jcmIIyQwZC/QMLvauTLaJKRopr8 4yX2wXppTUqkimAY27GQsJ+D0zrlXLxx+3w/RcbEob/ACygk7Wg9YH5SQ4fjUCkFh/RE KdV5asS7TLVEj71DbAftDQXGa088XUjcUBCa3cxGWf7CeKm6w/4T5dQAipJxrt6ejMwl NdNNryk6DDI9G26U3hISsRx6wqY29mXW7oZmGsNX289ptwDzxDWG8k8IYR9Q3CTNK25w s/Gw== X-Gm-Message-State: AOAM531qUdI7JK9UDMJN16HWP2uRPWAkj2PxH6btMcalvCH98AmE5PzG EpLaM0oLsFFFv07xLKH/pWNSpw== X-Google-Smtp-Source: ABdhPJyAnmbWd9kQNHChr27fB4CoupuY43EQygP2aryTMWGiHDCzHJtO4Wt0Tn6gPYf0JE5LcY/whg== X-Received: by 2002:a37:9b91:: with SMTP id d139mr14787622qke.377.1596836147262; Fri, 07 Aug 2020 14:35:47 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.47]) by smtp.gmail.com with ESMTPSA id 8sm7237676qkh.77.2020.08.07.14.35.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2020 14:35:46 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 994812A0FB2; Fri, 7 Aug 2020 17:35:44 -0400 (-04) Date: Fri, 7 Aug 2020 17:35:44 -0400 From: Alvaro Herrera To: Andres Freund Cc: James Coleman , pgsql-hackers , simon@2ndquadrant.com Subject: Re: PROC_IN_ANALYZE stillborn 13 years ago Message-ID: <20200807213544.GA3434@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200806010711.mzvu36zy25xer33t@alap3.anarazel.de> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Aug-05, Andres Freund wrote: > I'm mildly against that, because I'd really like to start making use of > the flag. Not so much for cancellations, but to avoid the drastic impact > analyze has on bloat. In OLTP workloads with big tables, and without > disabled cost limiting for analyze (or slow IO), the snapshot that > analyze holds is often by far the transaction with the oldest xmin. I pushed despite the objection because it seemed that downstream discussion was largely favorable to the change, and there's a different proposal to solve the bloat problem for analyze; and also: > Only mildly against because it'd not be hard to reintroduce once we need > it. Thanks for the discussion! -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services