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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Create a GUC parameter temp_tablespacesthat allows selection of
Date: 2007-06-05 03:46:08
Message-ID: 200706050346.l553k8H15462@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Tom Lane wrote:
> "Simon Riggs" <simon(at)2ndquadrant(dot)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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2007-06-05 03:48:32 Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthatallows selection of
Previous Message Andrew Dunstan 2007-06-04 22:21:42 pgsql: Remove ill-conceived CRLF translation for Windows in syslogger.

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-06-05 03:48:32 Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthatallows selection of
Previous Message Tom Lane 2007-06-05 01:28:22 Re: TOAST usage setting