Re: pgsql: Create a GUC parameter temp_tablespacesthat allows selection of

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql: Create a GUC parameter temp_tablespacesthat allows selection of
Дата
Msg-id 200706050346.l553k8H15462@momjian.us
обсуждение исходный текст
Ответ на Re: pgsql: Create a GUC parameter temp_tablespacesthat allows selection of  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Tom Lane wrote:
> "Simon Riggs" <simon@2ndquadrant.com> writes:
> > One of the main reasons for the implementation was to allow larger
> > queries to work faster by utilising multiple temp tablespaces for the
> > same query.
>
> > The original ideal implementation was to use round-robin/cyclic
> > selection, which allows much better usage in the above case.
>
> Really?  What if multiple backends are all hitting the same tablespaces
> in the same order?  A random selection seems much less likely to risk
> having any self-synchronizing behavior.

I thought it was going to be random selection for the first tablespace,
and round-robin after that.

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-committers по дате отправления:

Предыдущее
От: adunstan@postgresql.org (Andrew Dunstan)
Дата:
Сообщение: pgsql: Remove ill-conceived CRLF translation for Windows in syslogger.
Следующее
От: teodor@postgresql.org (Teodor Sigaev)
Дата:
Сообщение: pgsql: Move call of MarkBufferDirty() before XLogInsert() as required.