Re: tablespaces for temporary files - Mailing list pgsql-hackers

From Tom Lane
Subject Re: tablespaces for temporary files
Date
Msg-id 17063.1099516897@sss.pgh.pa.us
Whole thread Raw
In response to Re: tablespaces for temporary files  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: tablespaces for temporary files  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Greg Stark wrote:
>> Actually the sort algorithm postgres uses would be much more efficient if it
>> could get access to two or three locations guaranteed to be on different
>> spindles.

> Agreed, and I was going to mention the idea of a round-robin allocation
> setup where the system cycles through a list of possible locations for
> both sort files and temporary tables.

Greg's point was that sort would want to *know* that it created three
temp files on three different devices.  Throwing random effects of other
sessions into the mix wouldn't make it better.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: UPDATE is not allowed in a non-volatile function
Next
From: Bruce Momjian
Date:
Subject: Re: tablespaces for temporary files