Re: blending fast and temp space volumes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rick Otten <rottenwindfish(at)gmail(dot)com>
Cc: "pgsql-performa(dot)" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: blending fast and temp space volumes
Date: 2018-02-21 16:04:00
Message-ID: 11881.1519229040@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Rick Otten <rottenwindfish(at)gmail(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Craig James 2018-02-21 19:22:51 Re: blending fast and temp space volumes
Previous Message Rick Otten 2018-02-21 15:53:18 blending fast and temp space volumes