Re: Reducing memory usage of insert into select operations?

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: Reducing memory usage of insert into select operations?
Дата
Msg-id 5c7c8d69e8a5bf50e456f6f42db7b818@stringsutils.com
обсуждение исходный текст
Ответ на Re: Reducing memory usage of insert into select operations?  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Reducing memory usage of insert into select operations?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 12:23 pm 07/18/08 Alvaro Herrera <alvherre@commandprompt.com> wrote:
> Do you have long-running transactions?  (For example transactions that
> have been idle for a long time).

No.
The two inserts I was running were the only processes. I even did a restart
to make sure there was absolutely nothing else running and to make sure all
my postgresql.conf settings were in.

Given that memory grows over time I am beggining to wonder if it is some
type of memory leak.

Just installed the postgresql debug rpm, but not sure if did anything..
strace doesn't look   any different..

 read(81, "2\1\0\0\260~!\16\1\0\0\0\370\1\0\2\0 \4 \0\0\0\0\300\237r\0\200\237r\0"..., 8192) = 8192
write(191, "Q=J\313\253]1\0\0\0\1\0007\33\4\0\2\0\2\t\30\0\3\302\204\0;a1OjG"..., 8192) = 8192
write(160, "XQxbqQEx+yo=H\333o\2371\0\0\0\1\0.\33C\0\2\0\2\t\30\0"...,
8192) = 8192
read(81, "2\1\0\0\320(\301\17\1\0\0\0\370\1\0\2\0 \4 \0\0\0\0\300\237r\0\200\237r\0"..., 8192) = 8192


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

Предыдущее
От: "Francisco Reyes"
Дата:
Сообщение: Re: Reducing memory usage of insert into select operations?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Initdb problem on debian mips cobalt: Bus error