Re: blending fast and temp space volumes - Mailing list pgsql-performance

From Tom Lane
Subject Re: blending fast and temp space volumes
Date
Msg-id 11881.1519229040@sss.pgh.pa.us
Whole thread Raw
In response to blending fast and temp space volumes  (Rick Otten <rottenwindfish@gmail.com>)
List pgsql-performance
Rick Otten <rottenwindfish@gmail.com> writes:
> At the moment it seems like when multiple temp spaces are available, the
> temp spaces are chosen in a 'round robin' or perhaps 'random' fashion.  Is
> that true?

Yes, see fd.c's SetTempTablespaces and GetNextTempTableSpace.
There's no concept of different temp spaces having different performance
characteristics, and anyway we don't really have enough info to make
accurate predictions of temp space consumption.  So it's hard to see the
planner doing this for you automagically.

            regards, tom lane


pgsql-performance by date:

Previous
From: Rick Otten
Date:
Subject: blending fast and temp space volumes
Next
From: Craig James
Date:
Subject: Re: blending fast and temp space volumes