Out of memory error during updating huge table

Поиск
Список
Период
Сортировка
От Gabor Siklos
Тема Out of memory error during updating huge table
Дата
Msg-id 20060210155856.62005.qmail@web54215.mail.yahoo.com
обсуждение исходный текст
Ответы Re: Out of memory error during updating huge table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I'm trying to update a table in transaction mode with
300 million records in it, and I'm getting an out of
memory error.

ERROR: out of memory
DETAIL: Failed on request of size 32.

In transaction mode, I first delete all the records in
the table and then try to use COPY to populate it
again with the new data from a file. The out of memory
error happens during the COPY.

Any thoughts? Is there a way to get around this?
Thanks a lot!

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

Предыдущее
От: "Nina"
Дата:
Сообщение: "psql -At -F" export column from table to .csv
Следующее
От: Philippe Ferreira
Дата:
Сообщение: Re: Last modification time