| От | Tom Lane |
|---|---|
| Тема | Re: Out of memory error |
| Дата | |
| Msg-id | 15270.1087349963@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Out of memory error (ow <oneway_111@yahoo.com>) |
| Список | pgsql-admin |
ow <oneway_111@yahoo.com> writes:
> insert into tableA
> select * from tableB
> where testdate >= '2000-01-01' and testdate <= '2002-12-31'
> What's happening is that pgSql gradually takes all (well, almost) physical and
> swap memory and then, I think, is getting killed by the kernel.
> 1) Is this normal?
No.
Perhaps you have a bunch of triggers (including foreign-key checks) on
tableA? If so it'd probably be best to drop them temporarily.
The only reason I can think for this to eat memory is if the
pending-trigger-events queue is growing ...
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера