does work_mem is used on temp tables?

Поиск
Список
Период
Сортировка
От Mariel Cherkassky
Тема does work_mem is used on temp tables?
Дата
Msg-id CA+t6e1=O+9MWJ4MDxphf5AuQsUanPzYNGMidp-jK2y44VzOBvA@mail.gmail.com
обсуждение исходный текст
Ответы Re: does work_mem is used on temp tables?  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Re: does work_mem is used on temp tables?  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-admin
Hi,
Does the work mem is used when I do sorts or hash operations on temp tables  ? Or the temp_buffer that is allocated at the beginning of the session is used for it ?

At one of our apps, the app create a temp table and run on it some operations (joins,sum,count,avg ) and so on.. I saw in the postgresql.conf that fs temp files are generated so I guested that the memory buffer that was allocated for that session was too small. The question is should I increase the work_mem or the temp_buffers ?

Thanks , Mariel.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Mike Broers
Дата:
Сообщение: Re: root cause of corruption in hot standby
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: does work_mem is used on temp tables?