Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 007889FBC45 for ; Fri, 16 Feb 2007 10:28:21 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 96841-06 for ; Fri, 16 Feb 2007 10:28:18 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id 804599FBC48 for ; Fri, 16 Feb 2007 10:28:18 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.8/8.13.8) with ESMTP id l1GES6cV018472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 16 Feb 2007 07:28:08 -0700 (MST) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.8/8.13.8) with ESMTP id l1GES5km049135; Fri, 16 Feb 2007 07:28:05 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.8/8.13.8/Submit) id l1GES516049134; Fri, 16 Feb 2007 07:28:05 -0700 (MST) (envelope-from mfuhr) Date: Fri, 16 Feb 2007 07:28:05 -0700 From: Michael Fuhr To: Gauri Kanekar Cc: pgsql-performance@postgresql.org Subject: Re: Not Picking Index Message-ID: <20070216142804.GA44536@winnie.fuhr.org> References: <7e4ba9550702160456m6e86e809oc35dd68620348c80@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7e4ba9550702160456m6e86e809oc35dd68620348c80@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/181 X-Sequence-Number: 23235 On Fri, Feb 16, 2007 at 06:26:51PM +0530, Gauri Kanekar wrote: > I want to run a Select Query on a table. But i dont want the query to pick a > index defined on that table. > > So can i instruct the planner not to pick that index. Why don't you want the planner to use the index? Is there a specific index you want to ignore or do you want the planner to ignore all indexes? What problem are you trying to solve? -- Michael Fuhr