disabling an index without deleting it?

From: "Peter Koczan" <pjkoczan(at)gmail(dot)com>
To: pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: disabling an index without deleting it?
Date: 2008-02-26 20:46:04
Message-ID: 4544e0330802261246t574167fdpc47629d1bbe64fed@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

This might be a weird question...is there any way to disable a
particular index without dropping it?

There are a few queries I run where I'd like to test out the effects
of having (and not having) different indexes on particular query plans
and performance. I'd really prefer not to have to drop and ultimately
recreate a particular index, as some of the data sets are quite large.

So, is there any way to do this, or at least mimic this sort of behavior?

Peter

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2008-02-26 20:57:51 Re: disabling an index without deleting it?
Previous Message Scott Marlowe 2008-02-26 20:06:24 Re: PG planning randomly ?