On Sun, 2007-06-03 at 14:08 -0300, Tom Lane wrote:
> a random list element is chosen each time a temp object is to be
> created
I don't seem to be able to find discussion on this point on -hackers.
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. Random
selection works only with larger numbers of users.
Did I miss the discussion, or was this detail not discussed? The
original TODO description mentioned this idea.
--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com
In response to
Responses
pgsql-hackers by date
| Next: | From: Tom Lane | Date: 2007-06-04 18:41:14 |
| Subject: Re: pgsql: Create a GUC parameter temp_tablespacesthat allows selection of |
| Previous: | From: Simon Riggs | Date: 2007-06-04 18:12:54 |
| Subject: Re: recovery_target_xid & crashes on the master |
pgsql-committers by date
| Next: | From: Tom Lane | Date: 2007-06-04 18:41:14 |
| Subject: Re: pgsql: Create a GUC parameter temp_tablespacesthat allows selection of |
| Previous: | From: Teodor Sigaev | Date: 2007-06-04 15:59:20 |
| Subject: pgsql: Fix bundle bugs of GIN: - Fix possible deadlock between UPDATE |