Re: Parallel query and temp_file_limit - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Parallel query and temp_file_limit
Date
Msg-id CAM3SWZRrFVVhwY2whyZ5fNoUcyV4opT+YyPQhKBWBy3-3pfrjg@mail.gmail.com
Whole thread Raw
In response to Re: Parallel query and temp_file_limit  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Parallel query and temp_file_limit  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Tue, Jul 5, 2016 at 7:45 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> Since Peter doesn't seem in a hurry to produce a patch for this issue,
> I wrote one.  It is attached.  I'll commit this in a day or two if
> nobody objects.

Sorry about the delay.

Your patch seems reasonable, but I thought we'd also want to change
"per session" to "per session (with an additional temp_file_limit
allowance within each parallel worker)" for temp_file_limit.

I think it's worthwhile noting this for temp_file_limit specifically,
since it's explicitly a per session limit, whereas users are quite
used to the idea that work_mem might be doled out multiple times for
multiple executor nodes.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: CharSyam
Date:
Subject: Re: Typo Patch
Next
From: "Joshua D. Drake"
Date:
Subject: reserved role names