Re: Drop big index

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: Vojtěch Rylko *EXTERN* <vojta(dot)rylko(at)seznam(dot)cz>, "Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Drop big index
Date: 2012-02-16 08:38:17
Message-ID: D960CB61B694CF459DCFB4B0128514C2077EBFF3@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vojtech Rylko wrote:
> I need to drop some b-tree indexes because they are not used anymore.
> Size of indexes vary between 700 MB and 7 GB. I tried common DROP
> INDEX... but this query performed so long and blocked table so I had to
> interrupt it. Is there any way how to drop large indexes in non-blocking
> or /faster/ way?

Unfortunately not (yet).
PostgreSQL 9.2 will have DROP INDEX CONCURRENTLY.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2012-02-16 08:41:50 RE: [GENERAL] conexão no windows 7
Previous Message Guillaume Lelarge 2012-02-16 08:11:21 Re: Unable to execute \copy from Client Application