Re: blending fast and temp space volumes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: blending fast and temp space volumes
Дата
Msg-id 11881.1519229040@sss.pgh.pa.us
обсуждение исходный текст
Ответ на blending fast and temp space volumes  (Rick Otten <rottenwindfish@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Rick Otten
Дата:
Сообщение: blending fast and temp space volumes
Следующее
От: Craig James
Дата:
Сообщение: Re: blending fast and temp space volumes