Temp Table Memory Leak

Поиск
Список
Период
Сортировка
От Kristofer Munn
Тема Temp Table Memory Leak
Дата
Msg-id Pine.LNX.4.04.10001160208180.27063-200000@munn.com
обсуждение исходный текст
Ответы Re: [HACKERS] Temp Table Memory Leak  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [HACKERS] Temp Table Memory Leak  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Hi again...

I've discovered (or perhaps re-discovered) what seems to be a memory leak
involving temp tables. It's so bad that I make a script (which runs as a
daemon) close the backend connection and reconnect each time it runs the
offending command sequences.  Without the reset I've seen the backend grow
to over 100 megs in size in a matter of a couple of minutes.

I've created a sample case that reproduces the error that I will attach
with this message.  Basically, I create a 50 column temp table (with no
rows in it) and then run updates on each column in succession.  The
backend gets large pretty quick - I'm seeing about 12Megs after running
the enclosed script which does an update on all 50 columns 3 times (150
updates).

Thanks...

- K

Kristofer Munn * KMI * 973-509-9414 * AIM KrMunn * http://www.munn.com/


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

Предыдущее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: Getting rid of setheapoverride (was Re: [COMMITTERS] heap.c)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Temp Table Memory Leak