From: Vibhor Kumar <vibhor.aim@gmail.com>
To: Evan Walter <ewalter@decisionanalyst.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: dropping a large table is taking a very long time (about 2 hours so far)
Date: Mon, 24 Sep 2012 17:33:52 -0400
Message-ID: <B0703573-E6A2-458D-96D1-FB2E2EE905E1@gmail.com> (raw)
In-Reply-To: <CAOHVLOFBYojG-6tSMB3PM2a2CSO3B434svFGDudLdg5rVCMVLg@mail.gmail.com>
References: <CAOHVLOFBYojG-6tSMB3PM2a2CSO3B434svFGDudLdg5rVCMVLg@mail.gmail.com>
On Sep 24, 2012, at 5:10 PM, Evan Walter <ewalter@decisionanalyst.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.comhttp://vibhorkumar.wordpress.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: vibhor.aim@gmail.com, ewalter@decisionanalyst.com
Subject: Re: dropping a large table is taking a very long time (about 2 hours so far)
In-Reply-To: <B0703573-E6A2-458D-96D1-FB2E2EE905E1@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox