Re: Slow DROP INDEX

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow DROP INDEX
Дата
Msg-id 29399.1076958304@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Slow DROP INDEX  (Rod Taylor <pg@rbt.ca>)
Список pgsql-hackers
Rod Taylor <pg@rbt.ca> writes:
> I not convinced it is waiting on a lock. The queries on that table are
> very short (couple of milliseconds) -- but there are a ton of them. All
> backends appear to be idle (pg_stat_activity with command shown) when we
> start the drop and shortly after huge backups occur.

Well, you could prove the point by attaching to the backend with a
debugger and getting a stack trace ... if it's not waiting for a lock,
that would give us some idea what it is doing ...
        regards, tom lane


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

Предыдущее
От: "John Li"
Дата:
Сообщение: Re: Slow DROP INDEX
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Proposed Query Planner TODO items