Re: Slow DROP INDEX

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow DROP INDEX
Дата
Msg-id 26857.1076954612@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Slow DROP INDEX  (Rod Taylor <pg@rbt.ca>)
Ответы Re: Slow DROP INDEX  (Rod Taylor <pg@rbt.ca>)
Список pgsql-hackers
Rod Taylor <pg@rbt.ca> writes:
> The real question is why does DROP INDEX take more than a couple of
> seconds to complete? It is not held up by locked.

AFAICS it shouldn't take any time to complete.  I think you're mistaken
and it is blocking on a lock (it will want exclusive lock on the table).
Everyone else will then queue up behind it.

IIRC there is not any easy way to check this in 7.2 unfortunately :-(
but you could try looking for idle-in-transaction backends.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Proposed Query Planner TODO items
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] dollar quoting