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