drop tempoary table VERY slow

Поиск
Список
Период
Сортировка
От Sam Liddicott
Тема drop tempoary table VERY slow
Дата
Msg-id 73AC245CA75C0F4581D33517483544D504E75627@conwy.leeds.ananova.internal
обсуждение исходный текст
Список pgsql-bugs
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.

But:

begin;
select 1 into temporary table x;
abort;

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.

Sam


  _____


Samuel Liddicott
Support Consultant
sam@ananova.com <mailto:sam@ananova.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
Leeds
LS11 9YJ

http://www.ananova.com

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
computer.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: priya k
Дата:
Сообщение: Bug
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Bug #653: Unable to insert binary data into BYTEA column