does work_mem is used on temp tables? - Mailing list pgsql-admin

From Mariel Cherkassky
Subject does work_mem is used on temp tables?
Date
Msg-id CA+t6e1=O+9MWJ4MDxphf5AuQsUanPzYNGMidp-jK2y44VzOBvA@mail.gmail.com
Whole thread Raw
Responses Re: does work_mem is used on temp tables?
Re: does work_mem is used on temp tables?
List 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 by date:

Previous
From: Mike Broers
Date:
Subject: Re: root cause of corruption in hot standby
Next
From: Andrew Gierth
Date:
Subject: Re: does work_mem is used on temp tables?