Re: Cannot DROP while process running

Поиск
Список
Период
Сортировка
От Devrim GÜNDÜZ
Тема Re: Cannot DROP while process running
Дата
Msg-id 1334002367.27334.14.camel@lenovo01-laptop03.gunduz.org
обсуждение исходный текст
Ответ на Re: Cannot DROP while process running  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Cannot DROP while process running  (Steve Horn <steve@stevehorn.cc>)
Список pgsql-novice
On Mon, 2012-04-09 at 16:08 -0400, Tom Lane wrote:
> > When I issue the drop command for a table, the server doesn't
> respond - not
> > even with increased disk activity or CPU usage. I am wondering if a
> lock is
> > blocking it?
>
> Look into pg_locks to find out.

We probably need a better view which joins pg_stat_activity and
pg_locks, along with the new pg_stat_activity column in 9.2, which will
give users better idea about what is locking what...
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Cannot DROP while process running
Следующее
От: Steve Horn
Дата:
Сообщение: Re: Cannot DROP while process running