Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 370B59FB4E2; Fri, 13 Oct 2006 20:36:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 87521-10; Fri, 13 Oct 2006 20:36:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 153279FB4E0; Fri, 13 Oct 2006 20:36:22 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id BDCD756435; Fri, 13 Oct 2006 18:36:21 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Fri, 13 Oct 2006 18:36:16 -0500 Date: Fri, 13 Oct 2006 18:36:15 -0500 From: "Jim C. Nasby" To: Josh Berkus Cc: pgsql-hackers@postgresql.org, pgsql-performance@postgresql.org Subject: Re: [HACKERS] Hints proposal Message-ID: <20061013233615.GA381@nasby.net> References: <20061012151439.GT28647@nasby.net> <200610121358.22739.josh@agliodbs.com> <20061013161614.GT28647@nasby.net> <200610131557.24420.josh@agliodbs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610131557.24420.josh@agliodbs.com> X-Operating-System: FreeBSD 6.1-RELEASE-p10 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.13 (2006-08-11) X-Hashcash: 1:20:061013:josh@agliodbs.com::O4R0kQ6vvJ3WaT/X:00000000000000000000 0000000000000000000000006GUW X-Hashcash: 1:20:061013:pgsql-hackers@postgresql.org::03/cYYh3dq/0CbhL:000000000 0000000000000000000000005f01 X-Hashcash: 1:20:061013:pgsql-performance@postgresql.org::9JtszzENlyzLevpK:00000 00000000000000000000000033rp X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.048 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200610/275 X-Sequence-Number: 21404 On Fri, Oct 13, 2006 at 03:57:23PM -0700, Josh Berkus wrote: > Jim, > > > Well, that's not what I said (my point being that until the planner and > > stats are perfect you need a way to over-ride them)... but I've also > > never said hints would be faster or easier than stats modification (I > > said I hope they would). > > Yes, you did. Repeatedly. On this and other threads, you've made the > statement at least three times that per-query hints are the only way to go > for 8.3. Your insistence on this view has been so strident that if I > didn't know you better, I would assume some kind of hidden agenda. Let me clarify, because that's not what I meant. Right now, there's not even a shadow of a design for anything else, and this is a tough nut to crack. That means it doesn't appear that anything else could be done for 8.3. If I'm wrong, great. If not, we should get something in place for users now while we come up with something better. So, does anyone out there have a plan for how we could give user's the ability to control the planner at a per-table level in 8.3 or even 8.4? -- Jim Nasby jim@nasby.net EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)