temp tables
temp tables
От:
James Mansion <james@mansionfamily.plus.com>
Дата:
Do CREATE TEMP TABLE table have any special treatment regarding eliding sync operations or deferring creation of disk files in the case where memory pressure does not require a spill? James
Re: temp tables
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
James Mansion 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