Re: 9.3.2 server creates hundreds of thousands of temporary files
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: 9.3.2 server creates hundreds of thousands of temporary files |
| Дата | |
| Msg-id | 14263.1390413372@sss.pgh.pa.us обсуждение |
| Ответ на | 9.3.2 server creates hundreds of thousands of temporary files (Florian Weimer <fweimer@redhat.com>) |
| Ответы |
Re: 9.3.2 server creates hundreds of thousands of temporary
files
|
| Список | pgsql-general |
Florian Weimer <fweimer@redhat.com> writes:
> I've got a query which causes PostgreSQL to create hundreds of thousands
> of temporary files, many of them empty. The process also needs a lot of
> memory. I suspect this is due to bookkeeping for those files.
> The query looks like this:
> [ huge hash join ]
> I track this down to a lower-than-usual setting of work_mem, to 1MB,
> after the upgrade to 9.3.
The system is trying to do the join with only 1MB of workspace, so
yes, you end up with lots and lots of small temporary files.
> Is this a bug?
No.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера