Re: [HACKERS] tablespaces for temporary files

2004-11-03 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> 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

Re: [HACKERS] tablespaces for temporary files

2004-11-03 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> 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 allo

Re: [HACKERS] tablespaces for temporary files

2004-11-02 Thread Bruce Momjian
Greg Stark wrote: > > Tom Lane <[EMAIL PROTECTED]> writes: > > > On the whole I'm unconvinced that this is worth the trouble. One of the > > reasons for allowing people to move databases around is to determine > > where their temp files go. > > The one scenario I would expect to see is having

Re: [HACKERS] tablespaces for temporary files

2004-11-01 Thread Greg Stark
Tom Lane <[EMAIL PROTECTED]> writes: > On the whole I'm unconvinced that this is worth the trouble. One of the > reasons for allowing people to move databases around is to determine > where their temp files go. The one scenario I would expect to see is having the temp files on filesystem all

Re: [HACKERS] tablespaces for temporary files

2004-10-31 Thread Neil Conway
On Sat, 2004-10-30 at 00:50, Tom Lane wrote: > (1) What are the protection requirements for this variable? I think it can be USERSET -- most commands let the user specify a tablespace explicitly, and this is basically just another way of doing that. The user executing the query will need CREATE pr

Re: [HACKERS] tablespaces for temporary files

2004-10-29 Thread Tom Lane
Neil Conway <[EMAIL PROTECTED]> writes: > So I'd like to add a GUC variable called something like > "scratch_tablespace". If undefined (the default), temporary files for > sorting/etc. will be created in the current database's tablespace. (1) What are the protection requirements for this variable?

Re: [HACKERS] tablespaces for temporary files

2004-10-28 Thread Christopher Kings-Lynne
So I'd like to add a GUC variable called something like "scratch_tablespace". If undefined (the default), temporary files for Should be called 'work_tablesapce' to match 'work_mem' :) ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands

[HACKERS] tablespaces for temporary files

2004-10-28 Thread Neil Conway
I'd like to provide a way for DBAs to specify that the temporary files needed to for sorting, holdable cursors and similar operations should be created in a particular tablespace. (Right now these files are created in the tablespace associated with the current database.) Two ways to do this come t