Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id C1D649FA5D3 for ; Fri, 13 Oct 2006 15:07:40 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 65682-02 for ; Fri, 13 Oct 2006 18:07:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from cronos.madness.at (madness.at [217.196.146.217]) by postgresql.org (Postfix) with ESMTP id 2897F9FA594 for ; Fri, 13 Oct 2006 15:07:36 -0300 (ADT) Received: from mastermind.kaltenbrunner.cc ([83.215.233.60]) by cronos.madness.at with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GYRRF-000BTo-QU; Fri, 13 Oct 2006 20:07:21 +0200 Message-ID: <452FD5D5.3040500@kaltenbrunner.cc> Date: Fri, 13 Oct 2006 20:07:17 +0200 From: Stefan Kaltenbrunner User-Agent: Thunderbird 1.5.0.4 (X11/20060713) MIME-Version: 1.0 To: "Jim C. Nasby" CC: Jeff Davis , Bucky Jordan , Alvaro Herrera , josh@agliodbs.com, pgsql-hackers@postgresql.org Subject: Re: [PERFORM] Hints proposal References: <78ED28FACE63744386D68D8A9D1CF5D4209CBD@MAIL.corp.lumeta.com> <1160760211.31966.231.camel@dogma.v10.wvs> <20061013173024.GE28647@nasby.net> In-Reply-To: <20061013173024.GE28647@nasby.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200610/776 X-Sequence-Number: 92673 Jim C. Nasby wrote: > On Fri, Oct 13, 2006 at 10:23:31AM -0700, Jeff Davis wrote: >> Right. And I think the sane ideas are along the lines of estimate & cost >> corrections (like Tom is saying). > > Let me ask this... how long do you (and others) want to wait for those? well - we waited and got other features in the past and we will wait and get new features in the future too... > It's great that the planner is continually improving, but it also > appears that there's still a long road ahead. Having a dune-buggy to get > to your destination ahead of the road might not be a bad idea... :) well the planner has improved dramatically in the last years - we have apps here that are magnitudes faster with 8.1(even faster with 8.2) then they were with 7.3/7.4 - most of that is pure plain planner improvements. And I don't really believe that adding proper per statement hint support is any easier then continuing to improve the planner or working on (imho much more useful) improvements to the statistics infrastructure or functionality to tweak the statistics usage of the planner. The later however would prove to be much more useful for most of the current "issues" and have benefits for most of the userbase. Stefan