| От | A. Ozen Akyurek |
|---|---|
| Тема | copy a large table raises out of memory exception |
| Дата | |
| Msg-id | 002501c83b0d$b84d33a0$8c00a8c0@OZEN обсуждение исходный текст |
| Ответы |
Re: copy a large table raises out of memory exception
|
| Список | pgsql-general |
We have a large table (about 9,000,000 rows and total size is about 2.8 GB) which is exported to a binary file. Postgre 8.2 is running on a Windows 2003 Small business Server which has a 2 GB RAM. When we run "copy tablename from filepath" command, memory usage increases up to 1.8 GB and postgre raises exception "out of memory". If we copy a small part of the table (e.g 1,000,000 rows) everything works fine. As far as I understand, postgre is trying to load all the rows into RAM before writing it to the database. I tried running postgre with several different configuration parameters but the result is same. Did anybody face a similar problem? Kind regards A. Ozen Akyurek
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера