Re: [HACKERS] memory problems in copying large table to STDOUT
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] memory problems in copying large table to STDOUT |
| Дата | |
| Msg-id | 11327.939484474@sss.pgh.pa.us обсуждение |
| Ответ на | memory problems in copying large table to STDOUT (Martin Weinberg <weinberg@osprey.astro.umass.edu>) |
| Ответы |
Re: [HACKERS] memory problems in copying large table to STDOUT
|
| Список | pgsql-hackers |
Martin Weinberg <weinberg@osprey.astro.umass.edu> writes:
> I've been struggling to copy a large table (200 million
> records, 60GB) to tape using:
> psql -qc "copy psc to STDOUT;" Winter99 | dd of=/dev/st0 bs=32k
> After processing about 10 million records (this varies), I
> get:
> FATAL 1: Memory exhausted in AllocSetAlloc()
Hmm. What is the exact declaration of the table?
The only explanation I can think of offhand is that the output
conversion function for one of the column types is leaking memory...
copy.c itself looks to be pretty careful not to.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера