Re: COPY FROM : out of memory

Поиск
Список
Период
Сортировка
От Terry Fielder
Тема Re: COPY FROM : out of memory
Дата
Msg-id 4565D172.5070603@ashtonwoodshomes.com
обсуждение исходный текст
Ответ на Re: COPY FROM : out of memory  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Postgres scalability and performance on windows  ("Gopal" <gopal@getmapping.com>)
Список pgsql-general
Tom Lane wrote:
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 ... 
Unless its not seeing the end of the first record AS the end of the first record, and hence seeing the whole file as 1 record.

Terry

		regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
              http://archives.postgresql.org/
 

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: A generic trigger to log chanes on database tables
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Re: Why overlaps is not working