Copy command-Out of memory error

Поиск
Список
Период
Сортировка
От nipuna
Тема Copy command-Out of memory error
Дата
Msg-id jtxnpbasqi9fnujfnrrccdm5.1349804107889@email.android.com
обсуждение исходный текст
Ответы Re: Copy command-Out of memory error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hi, 
 I am trying to copy a 13G file to postgres db using the 'copy from' command on PGSQL 8.4. After loading 8 million records I got the below error .

ERROR: out of memory

DETAIL: Cannot enlarge string buffer containing 1073726116 bytes by 65536 more bytes.

CONTEXT: COPY teststorage, line 8479575
  In my table I do not have foreign keys or triggers. I simply want to load the file to database. I was able to use the copy from command with 10000 records , jus to make sure it works.

please advice 

Sent via the Samsung Galaxy S™III, an AT&T 4G LTE smartphone

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

Предыдущее
От: sravanch
Дата:
Сообщение: Guidance needed to be a postgreSQL DBA
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Copy command-Out of memory error