| От | Craig Ringer |
|---|---|
| Тема | Re: Running out of memory while making a join |
| Дата | |
| Msg-id | 509C9E55.6090004@2ndQuadrant.com обсуждение исходный текст |
| Ответ на | Re: Running out of memory while making a join (Carlos Henrique Reimer <carlos.reimer@opendb.com.br>) |
| Ответы |
Re: Running out of memory while making a join
|
| Список | pgsql-general |
On 11/08/2012 11:35 PM, Carlos Henrique Reimer wrote: > Hi Craig, > > work_mem is defined with 10MB and yes, there are triggers defined on > both tables Come to think of it, the triggers don't make any difference to memory use for a SELECT anyway. Your work_mem is perfectly reasonable. The plan looks pretty harsh, with that big nested loop, but I'm not aware of anything that'd cause that to run out of memory. Personally I'd be attaching a debugger to it and seeing what it was doing while it ran. I'm sure there are smarter ways to trace where the memory use is going, though. -- Craig Ringer
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера