Re: dropping a large table is taking a very long time (about 2 hours so far)

From: Vibhor Kumar <vibhor(dot)aim(at)gmail(dot)com>
To: Evan Walter <ewalter(at)decisionanalyst(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: dropping a large table is taking a very long time (about 2 hours so far)
Date: 2012-09-24 21:33:52
Message-ID: B0703573-E6A2-458D-96D1-FB2E2EE905E1@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


On Sep 24, 2012, at 5:10 PM, Evan Walter <ewalter(at)decisionanalyst(dot)com> wrote:

> There were probaby about 5 million records in the table. I do not believe
> there were any foreign keys to the table The drop table has been going for
> over 2 hours. Is that normal?

Not to me. I would have checked if DROP command is in waiting state. Also looked at pg_locks for more information on locks.

Thanks & Regards,
Vibhor Kumar
Blogs:http://vibhork.blogspot.com
http://vibhorkumar.wordpress.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Greg Williamson 2012-09-24 23:10:19 file descriptors still open to deleted files
Previous Message henk de wit 2012-09-24 21:21:10 Spurious failure to obtain row lock possible in PG 9.1?