X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 5146B9DC84D for ; Thu, 15 Dec 2005 23:17:02 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 46718-04 for ; Thu, 15 Dec 2005 23:17:06 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from linda-1.paradise.net.nz (bm-1a.paradise.net.nz [203.96.152.180]) by postgresql.org (Postfix) with ESMTP id 3BC519DC84B for ; Thu, 15 Dec 2005 23:17:00 -0400 (AST) Received: from smtp-3.paradise.net.nz (tclsnelb1-src-1.paradise.net.nz [203.96.152.172]) by linda-1.paradise.net.nz (Paradise.net.nz) with ESMTP id <0IRK00EROMGGUP@linda-1.paradise.net.nz> for pgsql-performance@postgresql.org; Fri, 16 Dec 2005 16:17:04 +1300 (NZDT) Received: from [192.168.1.11] (218-101-29-124.dsl.clear.net.nz [218.101.29.124]) by smtp-3.paradise.net.nz (Postfix) with ESMTP id 59C2173B875; Fri, 16 Dec 2005 16:17:04 +1300 (NZDT) Date: Fri, 16 Dec 2005 16:16:58 +1300 From: Mark Kirkwood Subject: Re: Overriding the optimizer In-reply-to: <43A22BE3.6020103@modgraph-usa.com> To: "Craig A. James" Cc: pgsql-performance@postgresql.org Message-id: <43A231AA.9070708@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20051106) References: <200512141603.52583.blargity@gmail.com> <7484.1134600423@sss.pgh.pa.us> <1134629567.14248.27.camel@firebolt> <200512150148.16125.blargity@gmail.com> <1134644526.14248.60.camel@firebolt> <43A1C40D.8040006@paradise.net.nz> <43A1F6DB.3080805@modgraph-usa.com> <43A226E7.7040508@paradise.net.nz> <43A22BE3.6020103@modgraph-usa.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.121 required=5 tests=[AWL=0.121] X-Spam-Score: 0.121 X-Spam-Level: X-Archive-Number: 200512/376 X-Sequence-Number: 16197 Craig A. James wrote: > > What would be cool would be some way the developer could alter the plan, > but they way of doing so would strongly encourage the developer to send > the information to this mailing list. Postgres would essentially say, > "Ok, you can do that, but we want to know why!" > Yeah it would - an implementation I have seen that I like is where the developer can supply the *entire* execution plan with a query. This is complex enough to make casual use unlikely :-), but provides the ability to try out other plans, and also fix that vital query that must run today..... cheers Mark