Re: [GENERAL] Drop big index

2012-02-16 Thread Vojtěch Rylko
Dne 16.2.2012 9:53, Marti Raudsepp napsal(a): 2012/2/15 Vojtěch Rylko: 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? Usually the problem is not with the size of the index -- but some other run

Re: [GENERAL] Drop big index

2012-02-16 Thread Andreas Kretschmer
Albe Laurenz wrote: > 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

Re: [GENERAL] Drop big index

2012-02-16 Thread Marti Raudsepp
2012/2/15 Vojtěch Rylko : > 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? Usually the problem is not with the size of the index -- but some other running transactions that hold a read lock on t

Re: [GENERAL] Drop big index

2012-02-16 Thread Albe Laurenz
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 no