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 EAB799DCAAD for ; Thu, 19 Jan 2006 18:27:35 -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 24428-04 for ; Thu, 19 Jan 2006 18:27:37 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id A111E9DCAD5 for ; Thu, 19 Jan 2006 18:27:33 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k0JMRZ66009910; Thu, 19 Jan 2006 17:27:35 -0500 (EST) To: "Tim Jones" cc: pgsql-performance@postgresql.org Subject: Re: query plans different for 8.1 on windows and aix In-reply-to: <47668A1334CDBF46927C1A0DFEB223D3033ACE@mail.optiosoftware.com> References: <47668A1334CDBF46927C1A0DFEB223D3033ACE@mail.optiosoftware.com> Comments: In-reply-to "Tim Jones" message dated "Thu, 19 Jan 2006 17:20:22 -0500" Date: Thu, 19 Jan 2006 17:27:35 -0500 Message-ID: <9909.1137709655@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.093 required=5 tests=[AWL=0.093] X-Spam-Score: 0.093 X-Spam-Level: X-Archive-Number: 200601/331 X-Sequence-Number: 16809 "Tim Jones" writes: > Why is postgres using a sequential scan and not the index what > parameters do I need to adjust You probably initialized the AIX database in a non-C locale. See the manual concerning LIKE index optimizations. regards, tom lane