Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aljYv-0004Qb-LY for pgsql-hackers@arkaria.postgresql.org; Thu, 31 Mar 2016 20:51:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aljYv-0001WH-8I for pgsql-hackers@arkaria.postgresql.org; Thu, 31 Mar 2016 20:51:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aljYu-0001VR-Df for pgsql-hackers@postgresql.org; Thu, 31 Mar 2016 20:51:28 +0000 Received: from smtp-auth.no-ip.com ([8.23.224.61] helo=out.smtp-auth.no-ip.com) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aljYp-0007ZK-AH for pgsql-hackers@postgresql.org; Thu, 31 Mar 2016 20:51:28 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [200.83.202.40]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 56039400407; Thu, 31 Mar 2016 13:51:20 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 20B785DB; Thu, 31 Mar 2016 17:51:18 -0300 (CLT) Date: Thu, 31 Mar 2016 17:51:18 -0300 From: Alvaro Herrera To: Tom Lane Cc: Dean Rasheed , Tomas Vondra , Alexander Korotkov , Mark Dilger , PostgreSQL-development Subject: Re: improving GROUP BY estimation Message-ID: <20160331205118.GA166096@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7329.1459456853@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) 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 Tom Lane wrote: > > The article text refers to this 1977 S. B. Yao paper "Approximating > > block accesses in database organizations" which doesn't appear to be > > available online, except behind ACM's paywall at > > http://dl.acm.org/citation.cfm?id=359475 > > Well, a CACM citation is perfectly fine by my lights (especially one > that's that far back and therefore certainly patent-free ...) > > Let's use something like this: > > See "Approximating block accesses in database organizations", S. B. Yao, > Communications of the ACM, Volume 20 Issue 4, April 1977 Pages 260-261 That sounds nice all right, but I'm not sure it's actually helpful, because the article text is not available anywhere. I doubt most people will spend 15 bucks to buy that paper ... so we don't actually know whether the paper supports the chosen formula :-) unless you have a CACM subscription and can verify it. I think it's good to have the ACM reference anyway, for posterity, but it'd be good to (additionally) have something that people can read. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers