| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера