| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Hans-Jürgen Schönig <hs(at)cybertec(dot)at>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Threaded Sorting |
| Date: | 2002-10-05 03:53:37 |
| Message-ID: | 200210050353.g953rbd00249@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Tom Lane wrote:
> >> ... But ISTM that if this makes sense for
> >> our internal temp files, it makes sense for user-created temp tables
> >> as well.
>
> > Yes, I was thinking that, but of course, those are real tables, rather
> > than just files. Not sure how clean it will be to mix those in the same
> > directory. We haven't in the past. Is it a good idea?
>
> Sure we have --- up till recently, pg_temp files just lived in the
> database directory. I think it was you that added the pg_temp
> subdirectory, and the reason you did it was to let people symlink the
> temp files to someplace else. But that's just a zeroth-order
> approximation to providing a tablespace facility for these things.
OK, TODO updated:
* Allow sorting, temp files, temp tables to use multiple work
directories
FYI, I originally created that directory so a postmaster startup could
clear that dir.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2002-10-05 04:07:15 | Re: Potential Large Performance Gain in WAL synching |
| Previous Message | Tom Lane | 2002-10-05 03:51:12 | Re: [GENERAL] Small patch for PL/Perl Misbehavior with Runtime Error Reporting |