Re: Slow droping tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Somazx Interesting <somazx(at)home(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Slow droping tables
Date: 2001-06-08 18:15:16
Message-ID: 10355.992024116@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Somazx Interesting <somazx(at)home(dot)com> writes:
> Can anyone think of anything that would cause dropping a table with little
> data contained within it to take several seconds (and growing)?

Can't see a reason for that offhand.

> - upgraded to 7.1 but not to 7.1.2

I'd strongly recommend moving to 7.1.2; from 7.1 the update is painless,
and there are several pretty critical bugfixes. (We don't make
dot-releases just to amuse ourselves.) I don't think any of them are
related to your problem, but I could be wrong about that.

If you still see the problem in 7.1.2, one possible investigation
technique is to strace the backend doing the drop and see what I/O
requests it's making.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Josh Berkus 2001-06-08 18:15:26 Re: maximum number of rows in table - what about oid limits?
Previous Message Jason Tishler 2001-06-08 18:08:49 Re: [GENERAL] Should Cygwin PostgreSQL contain all header files?