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 1ktcX0-0001uP-Kd for pgsql-committers@arkaria.postgresql.org; Sun, 27 Dec 2020 20:20:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ktcWz-0000dZ-IO for pgsql-committers@arkaria.postgresql.org; Sun, 27 Dec 2020 20:20:45 +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 1ktcWz-0000dS-AZ for pgsql-committers@lists.postgresql.org; Sun, 27 Dec 2020 20:20:45 +0000 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ktcWx-00044o-1x for pgsql-committers@lists.postgresql.org; Sun, 27 Dec 2020 20:20:44 +0000 Received: by mail-pj1-x102c.google.com with SMTP id lj6so4914873pjb.0 for ; Sun, 27 Dec 2020 12:20:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=WUZHZqoPaqBrTrSiPlUELqkrPJfy+Ciae6F3JTxqTnU=; b=Fjifq09DTetQs4axJMPYOYHyH368G8lJJyWBzJdnx2sgjMiJo85Ycj+zfIg2OQMIxu pmy+a7vhZeIlkiroikOu/n/DhFDmsYcf07rv3wrGBsiZvaDD9T4uVOG1UTPCZAZK1ABA x3SwqfBBLKjMa6Fgp5/aQkwBFuornw48u4hPcwIUFdqjfrf6HlnrmS5/F2sww49SlEao 01odsI0ENNIx6/EKlwvRRJcs2c/YzXxVwBmHLLFy7sQ2qeXM3ZqV8bLQHl3poja4f3Cd Q9UdEkuZ+Izsij2hWPKgEgkk8WQaUCsuKMNm1M2YiD9MYG1L2889BOQ0OH/lv2KiW4lw fZTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=WUZHZqoPaqBrTrSiPlUELqkrPJfy+Ciae6F3JTxqTnU=; b=eZnSwYmM9+tsZw3R2tWTASILd30OjWAmWi+a5XlumlG0+j0YdF2qz1hxJvGhBg/mHT H85g/QirByZxxyaITXl/63DmHm5KLBOe2K/LK7RJaVEorLAwJUl5U4dLQyW6UDD+7oUV 7N4imSPSoUAvkXjc1c4ZCwqwBWWW6Ba2h87CQm3kVg925F9moIfOsSyDHUnK7MMOJT51 1P3HyA1/4kJtgqJAEAJuWIq/bVqgv5sDnhJK5pcXDqORhhVRD5Uzdy8GBkVvVrKJ237A 5bZBCjr90xQ1JhOd9Uc5OMHMfEj81/vttfUn5/XsmQ+ejveOwy15r6E0LYg6nzQCkFEE CGaQ== X-Gm-Message-State: AOAM53143m8bAUwehAEgDGfLZlw8wX/H2VGsV/H2qwStS6s4gBdSsqx7 mBulNZ0fH7AcwSBKgGSiacOsmg== X-Google-Smtp-Source: ABdhPJxaA2xF6UdVQPwACRP6Nnn59r+JrWqMqrT8FkLfW7bqx4LsLi7VW3GZHFMNsgb2EfuQTh1/tw== X-Received: by 2002:a17:90a:66ce:: with SMTP id z14mr17503533pjl.153.1609100441998; Sun, 27 Dec 2020 12:20:41 -0800 (PST) Received: from jdavis.lan (c-73-231-146-4.hsd1.ca.comcast.net. [73.231.146.4]) by smtp.gmail.com with ESMTPSA id x23sm40306422pge.47.2020.12.27.12.20.40 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 27 Dec 2020 12:20:41 -0800 (PST) Message-ID: <802a29a0961c2ef0bf411cab535f5349741450e7.camel@j-davis.com> Subject: Re: pgsql: Fix bug #16784 in Disk-based Hash Aggregation. From: Jeff Davis To: Tom Lane , Jeff Davis Cc: pgsql-committers@lists.postgresql.org Date: Sun, 27 Dec 2020 12:20:39 -0800 In-Reply-To: <5d34b38ab74e63695e977ed3a445ffa1f38bab78.camel@j-davis.com> References: <1445947.1609052950@sss.pgh.pa.us> <5d34b38ab74e63695e977ed3a445ffa1f38bab78.camel@j-davis.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sun, 2020-12-27 at 09:59 -0800, Jeff Davis wrote: > I think I just need to disable sort. Because there is a () group, we > don't need a Sort in the plan to exercise the bug. That still didn't stabilize the test, so I removed the EXPLAIN part of the test and left the execution test in place. The planning for grouping sets still uses work_mem in the knapsack algorithm, so something about the other platforms is not considering the plan with all hashes (except the () grouping set). I think we can tune the test to be stable, but it doesn't seem critical so I think we're fine just doing the execution-time test. Regards, Jeff Davis