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 406AD9DC8A2 for ; Fri, 20 Jan 2006 12:42:16 -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 03739-07 for ; Fri, 20 Jan 2006 12:42:14 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from candle.pha.pa.us (candle.pha.pa.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 9FDC19DCA54 for ; Fri, 20 Jan 2006 12:42:13 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id k0KGgBS23410; Fri, 20 Jan 2006 11:42:11 -0500 (EST) From: Bruce Momjian Message-Id: <200601201642.k0KGgBS23410@candle.pha.pa.us> Subject: Re: Extremely irregular query performance In-Reply-To: <18684.1137774889@sss.pgh.pa.us> To: Tom Lane Date: Fri, 20 Jan 2006 11:42:11 -0500 (EST) CC: Simon Riggs , =?ISO-8859-1?Q?Jean-Philippe_C=F4t=E9?= , pgsql-performance@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.123 required=5 tests=[AWL=0.123] X-Spam-Score: 0.123 X-Spam-Level: X-Archive-Number: 200601/342 X-Sequence-Number: 16820 Done, and paragraph added to 8.1.X. (7.3 mention retained for 8.1.X.) --------------------------------------------------------------------------- Tom Lane wrote: > Bruce Momjian writes: > > > > ! Genetic query optimization (GEQO) randomly > > ! tests execution plans. Therefore, when the number of tables > > ! exceeds geqo and genetic query optimization is in use, > > ! the execution plan will change each time the statement is executed. > > > > geqo_threshold, please --- geqo is a boolean. > > Possibly better wording: Therefore, when the number of tables exceeds > geqo_threshold causing genetic query optimization to be used, the > execution plan is likely to change each time the statement is executed. > > regards, tom lane > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073