Skip site navigation (1) Skip section navigation (2)

Re: drop tempoary table VERY slow

From: "Sam Liddicott" <sam(dot)liddicott(at)ananova(dot)com>
To: "Sam Liddicott" <sam(dot)liddicott(at)ananova(dot)com>,<pgsql-bugs(at)postgresql(dot)org>
Subject: Re: drop tempoary table VERY slow
Date: 2002-05-31 10:28:10
Message-ID: 73AC245CA75C0F4581D33517483544D504E7564F@conwy.leeds.ananova.internal (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
And when I do drop a table CPU usage goes to 99% on one CPU.

-----Original Message-----
From: Sam Liddicott 
Sent: 31 May 2002 10:57
To: 'pgsql-bugs(at)postgresql(dot)org'
Subject: drop tempoary table VERY slow

I have a DB where this:
select 1 into temporary table x;
runs quickly, but
drop table x;
takes many seconds to run.
I don't know why.

select 1 into temporary table x;
is very quick.
Note the slow dropping applies to automatic dropping of temporary tables
when the connection is closed.
I now "abort" all my query sessions for speed.
I cannot reproduce this on "template1" and it has not always been the case
for my DB.

Samuel Liddicott
Support Consultant
sam(at)ananova(dot)com <mailto:sam(at)ananova(dot)com>  
Direct Dial: +44 (0)113 367 4523
Fax: +44 (0)113 367 4680
Switchboard: +44 (0)113 367 4600

Ananova Limited
Marshall Mill
Marshall Street
LS11 9YJ

Registered Office:
St James Court
Great Park Road
Almondsbury Park
Bradley Stoke
Bristol BS32 4QJ
Registered in England No.2858918

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you receive
this in error, please contact the sender and delete the material from any



pgsql-bugs by date

Next:From: Bruce MomjianDate: 2002-06-02 06:30:05
Subject: Re: Bug #653: Unable to insert binary data into BYTEA column
Previous:From: Sam LiddicottDate: 2002-05-31 09:57:25
Subject: drop tempoary table VERY slow

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group