Force specific index disuse

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Force specific index disuse
Date: 2014-05-20 16:38:11
Message-ID: 537B84F3.2020909@pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there a way to force a specific index to be removed from
consideration in planning a single query?

Specifically, on a 60-million-row table I have an index that is a
candidate for removal. I have identified the sets of nightly queries
that use the index but before dropping it I would like to run EXPLAIN
and do timing tests on the queries to see the impact of not having that
index available and rewrite the query to efficiently use other indexes
if necessary.

Cheers,
Steve

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Seamus Abshere 2014-05-20 16:44:49 Re: Force specific index disuse
Previous Message Sergio Mior D&T 2014-05-20 15:55:57 D&T Italia : Time Travel : new development : first release