Skip site navigation (1) Skip section navigation (2)

Re: Not Picking Index

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Gauri Kanekar <meetgaurikanekar(at)gmail(dot)com>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Not Picking Index
Date: 2007-02-16 14:46:39
Message-ID: 20070216144639.GG13241@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-performance
Gauri Kanekar escribió:
> I want the planner to ignore a specific index.
> I am testing some query output. For that purpose i dont want the index.
> I that possible to ignore a index by the planner.

Sure:

BEGIN
DROP INDEX foo
SELECT ....
ROLLBACK

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

pgsql-performance by date

Next:From: Tom LaneDate: 2007-02-16 14:53:45
Subject: Re: Not Picking Index
Previous:From: Gauri KanekarDate: 2007-02-16 14:31:16
Subject: Re: Not Picking Index

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group