RAM-only temporary tables - Mailing list pgsql-hackers

From Kevin Grittner
Subject RAM-only temporary tables
Date
Msg-id 4911D148.EE98.0025.0@wicourts.gov
Whole thread Raw
Responses Re: RAM-only temporary tables  ("Alex Hunsaker" <badalex@gmail.com>)
Re: RAM-only temporary tables  ("Matthew T. O'Connor" <matthew@zeut.net>)
Re: RAM-only temporary tables  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
An idea for a possible enhancement to PostgreSQL: allow creation of a
temporary table without generating any disk I/O.  (Creating and
dropping a three-column temporary table within a database transaction
currently generates about 150 disk writes).
If some circumstances don't make it feasible to always do this as a
RAM-only operation, perhaps a clause could be added to the CREATE
TEMPORARY TABLE syntax to specify this behavior along with whatever
limitations on the temporary table are required for this to work. 
(For example, maybe this is only feasible if the table will be dropped
by the end of the transaction?)
-Kevin


pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: [WIP] In-place upgrade
Next
From: Bernd Helmle
Date:
Subject: Re: Patch for ALTER DATABASE WITH TABLESPACE