Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amN1J-0003lA-TH for pgsql-hackers@arkaria.postgresql.org; Sat, 02 Apr 2016 14:59:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1amN1J-0007fn-Ef for pgsql-hackers@arkaria.postgresql.org; Sat, 02 Apr 2016 14:59:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1amN1I-0007fY-Q2 for pgsql-hackers@postgresql.org; Sat, 02 Apr 2016 14:59:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1amN1G-0007IF-AH for pgsql-hackers@postgresql.org; Sat, 02 Apr 2016 14:59:23 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u32ExGI7031530; Sat, 2 Apr 2016 10:59:16 -0400 From: Tom Lane To: Dean Rasheed cc: Alvaro Herrera , Tomas Vondra , Alexander Korotkov , Mark Dilger , PostgreSQL-development Subject: Re: improving GROUP BY estimation In-reply-to: References: <20160331205118.GA166096@alvherre.pgsql> <8033.1459458176@sss.pgh.pa.us> Comments: In-reply-to Dean Rasheed message dated "Sat, 02 Apr 2016 13:20:13 +0100" Date: Sat, 02 Apr 2016 10:59:16 -0400 Message-ID: <31529.1459609156@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Dean Rasheed writes: > Here's an updated patch with references to both papers, and a more > detailed justification for the formula, along with the other changes > discussed. Note that although equation (2) in the Dell'Era paper looks > different from the Yao formula, it's actually the same. Looks good to me. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers