Force specific index disuse - Mailing list pgsql-general

From Steve Crawford
Subject Force specific index disuse
Date
Msg-id 537B84F3.2020909@pinpointresearch.com
Whole thread Raw
Responses Re: Force specific index disuse  (Seamus Abshere <seamus@abshere.net>)
Re: Force specific index disuse  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: Force specific index disuse  (Oleg Bartunov <obartunov@gmail.com>)
List 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



pgsql-general by date:

Previous
From: Sergio Mior D&T
Date:
Subject: D&T Italia : Time Travel : new development : first release
Next
From: Seamus Abshere
Date:
Subject: Re: Force specific index disuse