Re: Copy Command out of memory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Copy Command out of memory
Дата
Msg-id 9913.1134624245@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Copy Command out of memory  (Kevin Keith <kkeith@borderware.com>)
Список pgsql-admin
Kevin Keith <kkeith@borderware.com> writes:
> I was trying to run a bulk data load using the COPY command on PGSQL 8.1.0.
> After loading about 3,500,000 records it ran out of memory - I am
> assuming because it ran out of space to store such a large transaction.

COPY per se shouldn't eat memory.

Perhaps you have some AFTER INSERT triggers on this table (note foreign
key constraints would create such)?  The pending-trigger queue could
have overflowed memory.  Offhand I can't think of another reason.

            regards, tom lane

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

Предыдущее
От: Muhammad Farid
Дата:
Сообщение: backup
Следующее
От: "sandhya"
Дата:
Сообщение: Re: reg: Errors on Windows application(urgent)