Re: Re out of memory error with large insert

Поиск
Список
Период
Сортировка
От Sriram Dandapani
Тема Re: Re out of memory error with large insert
Дата
Msg-id 6992E470F12A444BB787B5C937B9D4DF03C492F5@ca-mail1.cis.local
обсуждение исходный текст
Ответ на Re out of memory error with large insert  ("Sriram Dandapani" <sdandapani@counterpane.com>)
Список pgsql-admin
What are the recommended ulimit settings. A single postgres connection
that does an insert(with no other database activity) of say 6 million
rows into a 15 column table (all integer columns) cannot complete due to
an out of memory error

This happens on a 4Gb Linux box with shmmax set to 1gb and about 50000
shared_buffers

I would really appreciate any help ...

Thanks

Sriram

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Tuesday, March 21, 2006 7:24 PM
To: Sriram Dandapani
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Re out of memory error with large insert

"Sriram Dandapani" <sdandapani@counterpane.com> writes:
> Why doesn't Postgres use swap in this situation

Perhaps you need to adjust the ulimit settings that the postmaster is
started under.

            regards, tom lane

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

Предыдущее
От: Robin Iddon
Дата:
Сообщение: Re: Random disconnects
Следующее
От: Pallav Kalva
Дата:
Сообщение: Archive Command Configuration