Re: COPY FROM : out of memory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY FROM : out of memory
Дата
Msg-id 14009.1164299226@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COPY FROM : out of memory  (Arnaud Lesauvage <thewild@freesurf.fr>)
Ответы Re: COPY FROM : out of memory  (Martijn van Oosterhout <kleptog@svana.org>)
Re: COPY FROM : out of memory  (Terry Fielder <terry@ashtonwoodshomes.com>)
Список pgsql-general
Arnaud Lesauvage <thewild@freesurf.fr> writes:
> When trying to import a 20M rows csv file into PostgreSQL, I
> get :

> ERROR: out of memory
> �tat SQL :53200
> D�tail :Failed on request of size 1073741823.
> Contexte : COPY tmp, line 1

Can you put together a self-contained example?  The reference to "line
1" suggests that you wouldn't need the whole 20M row file, just the
first few rows ...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Stuck in "DELETE waiting"
Следующее
От: "Charles Ambrose"
Дата:
Сообщение: A generic trigger to log chanes on database tables