Re: idea: global temp tables - Mailing list pgsql-hackers

From James Mansion
Subject Re: idea: global temp tables
Date
Msg-id 49F9FB4A.7080809@mansionfamily.plus.com
Whole thread Raw
In response to Re: idea: global temp tables  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: idea: global temp tables  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
Kevin Grittner wrote:
> contexts.  I don't think the updates to the system tables have the
> same magnitude of performance hit as creating these tables, especially
> if write barriers are on.
>   
Wouldn't it be cleaner just to defer creation of real files to support the
structures associated with a temp table until it i snecessary to spill the
data from the backend's RAM?  This data doesn't need to be in
shared memory and the tables and data aren't visible to any other
session, so can't they run out of RAM most of the time (or all the
time if the data in them is short lived)?




pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Keyword list sanity check
Next
From: Laurent Laborde
Date:
Subject: Re: Keyword list sanity check