From: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
---|---|
To: | Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com> |
Cc: | pgsql-admin(at)lists(dot)postgresql(dot)org, pgsql-performance(at)lists(dot)postgresql(dot)org |
Subject: | Re: does work_mem is used on temp tables? |
Date: | 2018-10-11 07:41:56 |
Message-ID: | 87efcx7wz1.fsf@news-spur.riddles.org.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-performance |
>>>>> "Mariel" == Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com> writes:
Mariel> Hi,
Mariel> Does the work mem is used when I do sorts or hash operations on
Mariel> temp tables ? Or the temp_buffer that is allocated at the
Mariel> beginning of the session is used for it ?
work_mem is used for sorts and hashes regardless of what type the
underlying table (if any) is.
temp_buffers is used to buffer the actual _content_ of temp tables.
--
Andrew (irc:RhodiumToad)
From | Date | Subject | |
---|---|---|---|
Next Message | Mariel Cherkassky | 2018-10-11 07:58:06 | Re: does work_mem is used on temp tables? |
Previous Message | Mariel Cherkassky | 2018-10-11 06:56:48 | does work_mem is used on temp tables? |
From | Date | Subject | |
---|---|---|---|
Next Message | Mariel Cherkassky | 2018-10-11 07:58:06 | Re: does work_mem is used on temp tables? |
Previous Message | Mariel Cherkassky | 2018-10-11 06:56:48 | does work_mem is used on temp tables? |