Re: temp tables - Mailing list pgsql-performance

From Tom Lane
Subject Re: temp tables
Date
Msg-id 27663.1205452905@sss.pgh.pa.us
Whole thread Raw
In response to temp tables  (James Mansion <james@mansionfamily.plus.com>)
List pgsql-performance
James Mansion <james@mansionfamily.plus.com> writes:
> Do CREATE TEMP TABLE table have any special treatment regarding eliding
> sync operations

Yes; neither fsync nor WAL-writing is done for temp tables.

> or deferring creation of disk files in the case where memory pressure
> does not require a spill?

No.  The trouble with doing something like that is we might be forced to
report an out-of-disk-space failure at some quite unintuitive point,
like during a SELECT.

            regards, tom lane

pgsql-performance by date:

Previous
From: Leigh Dyer
Date:
Subject: Re: Recomendations on raid controllers raid 1+0
Next
From: "Scott Marlowe"
Date:
Subject: Re: Recomendations on raid controllers raid 1+0