pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Crawford <scrawford@pinpointresearch.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 14:15:23 -0700
Message-ID: <5060CD6B.4010404@pinpointresearch.com> (raw)
In-Reply-To: <CAOHVLOFBYojG-6tSMB3PM2a2CSO3B434svFGDudLdg5rVCMVLg@mail.gmail.com>
References: <CAOHVLOFBYojG-6tSMB3PM2a2CSO3B434svFGDudLdg5rVCMVLg@mail.gmail.com>

On 09/24/2012 02:10 PM, Evan Walter 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?
I'd check for locks from other transactions preventing the drop. One 
possibility is a running backup.

Cheers,
Steve





view thread (3+ messages)  latest in thread

Message-ID: <5060CD6B.4010404@pinpointresearch.com>
Permalink:  ../5060CD6B.4010404@pinpointresearch.com/
Also on:    postgresql.org/message-id/5060CD6B.4010404@pinpointresearch.com

 · 

reply

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: scrawford@pinpointresearch.com, ewalter@decisionanalyst.com
  Subject: Re: dropping a large table is taking a very long time (about 2 hours so far)
  In-Reply-To: <5060CD6B.4010404@pinpointresearch.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