Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 35B0E133616B for ; Thu, 3 Feb 2011 12:58:28 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 03427-09 for ; Thu, 3 Feb 2011 16:58:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 24CC3133655C for ; Thu, 3 Feb 2011 12:58:20 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id p13Guug09499; Thu, 3 Feb 2011 11:56:56 -0500 (EST) From: Bruce Momjian Message-Id: <201102031656.p13Guug09499@momjian.us> Subject: Re: [HACKERS] Slow count(*) again... In-Reply-To: <4D4AD9F6.6040903@vmsinfo.com> To: Mladen Gogala Date: Thu, 3 Feb 2011 11:56:56 -0500 (EST) CC: Greg Smith , Robert Haas , Andrew Dunstan , Tom Lane , "david@lang.hm" , Craig Ringer , Vitalii Tymchyshyn , "pgsql-performance@postgresql.org" X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/85 X-Sequence-Number: 42223 Mladen Gogala wrote: > Greg Smith wrote: > > Mladen Gogala wrote: > > > >> The techies at big companies are the guys who will or will not make it > >> happen. And these guys are not beginners. Appeasing them may actually > >> go a long way. > >> > > > > The PostgreSQL community isn't real big on appeasing people if it's at > > the expense of robustness or correctness, and this issue falls into that > > category. > > With all due respect, I don't see how does the issue of hints fall into > this category? As I explained, the mechanisms are already there, they're > just not elegant enough. The verb "appease" doesn't convey the meaning > that I had in mind quite correctly. The phrase "target population" would > have described what I wanted to say in a much better way . The settings are currently there to better model the real world (random_page_cost), or for testing (enable_seqscan). They are not there to force certain plans. They can be used for that, but that is not their purpose and they would not have been added if that was their purpose. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +