Re: Slow droping tables - Mailing list pgsql-general

From Tom Lane
Subject Re: Slow droping tables
Date
Msg-id 10355.992024116@sss.pgh.pa.us
Whole thread Raw
In response to Slow droping tables  (Somazx Interesting <somazx@home.com>)
List pgsql-general
Somazx Interesting <somazx@home.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

pgsql-general by date:

Previous
From: Jason Tishler
Date:
Subject: Re: Should Cygwin PostgreSQL contain all header files?
Next
From: Tom Lane
Date:
Subject: Re: Can not pg_dumpall