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 1jv1cO-0000dK-1I for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Jul 2020 16:47:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jv1cJ-0004cR-6d for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Jul 2020 16:47:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jv1cI-0004cK-S6 for pgsql-hackers@lists.postgresql.org; Mon, 13 Jul 2020 16:47:46 +0000 Received: from mail-qv1-xf42.google.com ([2607:f8b0:4864:20::f42]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jv1cC-0004FR-3L for pgsql-hackers@postgresql.org; Mon, 13 Jul 2020 16:47:45 +0000 Received: by mail-qv1-xf42.google.com with SMTP id ed14so6081580qvb.2 for ; Mon, 13 Jul 2020 09:47:39 -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=rroRyjTwMzUXty9407ys12iSHT75JSuaDVcAIqFOcW0=; b=zcNNmYX4ET7FTQhTKT5XEql8A5q0Y4d408S3ITiMpHuytvMbC27KjmqXOhMuTgirUk I+aD0A0QhJNruK1C44tiwqgQYYCnD6mP19L34sSu5i8+x80h2bmiTuxqPERmHwXIIlPK 9de69MX4Jo7E8Sj3+MCpbG287MMmX4Nl487wdfJ1aLomR/imzNcxggYsDh5Vovc64xaQ VCyqE1Nq9o8qD7Q+IqIy808kN7tikwsiLMbbq8g2/RGJv/Pecr4XjSeyi+DIiZ0sYgQ0 ikpmj98hrn0MdAxHf9+OHdLigY36cWvuA0utArcb6X1VcBeikVw1Ltg+qmX6qClNEWQo WXew== 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=rroRyjTwMzUXty9407ys12iSHT75JSuaDVcAIqFOcW0=; b=eY1acmWX1x5mzYt/vFtf63Dz02ZsY/TdV+vv/OpR2xuqDhZWw/1286mbZBxAisYr6G Ywp/eUv22g+XFZC0rqzCrxlaO2QKFSSZbShInr6JcusPuzvETKK3+mBMUPVlD9XYf+73 i4JXgYB0Cn0uGBPDoJtqQxXb+KD5nm3xMbJLUrKnchKyw6qjVJT2vO2GGctbOUd5YLeo p6QFRgc15DqZJs8LZ8suI55CXjVa7ZFsgFfW13Dph85empxjROuox12ZUlhG3Ga8cztR UQuuIjHihHi0r1M4bPJAvO4h/ukRW4UCfw3S19AA0aAVYP8KUWAkIYQE5g6v/+n/gSB/ AQZA== X-Gm-Message-State: AOAM5307lANm7Cu/XahpOLe6qM+6MGpWv4F8L1CyFe9DMD0j++EkY/BM 5wqvVQrNsAKK+0rkd9d+J94pIQ== X-Google-Smtp-Source: ABdhPJwATUCc38E7DghBDSLuijP/BQlC1mBKA7aaTiLIqJw6nIRtHY6/ewq2mb9fo8N48ld8eEmhHw== X-Received: by 2002:a0c:fdc5:: with SMTP id g5mr298737qvs.189.1594658858715; Mon, 13 Jul 2020 09:47:38 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.47]) by smtp.gmail.com with ESMTPSA id o50sm20834085qtc.64.2020.07.13.09.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 09:47:38 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 56B632A18A9; Mon, 13 Jul 2020 12:47:36 -0400 (-04) Date: Mon, 13 Jul 2020 12:47:36 -0400 From: Alvaro Herrera To: Jeff Davis Cc: David Rowley , Stephen Frost , Peter Geoghegan , Tom Lane , Andres Freund , Bruce Momjian , Robert Haas , Justin Pryzby , Melanie Plageman , Tomas Vondra , "pgsql-hackers@postgresql.org" Subject: Re: Default setting for enable_hashagg_disk Message-ID: <20200713164736.GA25726@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5cf74833a830e76cc7cc7506aa77bd6ab0c94f4c.camel@j-davis.com> 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-Jul-13, Jeff Davis wrote: > On Tue, 2020-07-14 at 02:25 +1200, David Rowley wrote: > > Updated summary: > > * For hash_mem = Tomas [7], Justin [16] > > * For hash_mem_multiplier with a default > 1.0 = DavidG [21] > > * For hash_mem_multiplier with default = 1.0 = PeterG [15][0], Tom > > [20][24] > > I am OK with these options, but I still prefer a simple escape hatch. I'm in favor of hash_mem_multiplier. I think a >1 default is more sensible than =1 in the long run, but if strategic vote is what we're doing, then I support the =1 option. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services