Re: Temporary Tables and Web Application - Mailing list pgsql-general

From Marco Bizzarri
Subject Re: Temporary Tables and Web Application
Date
Msg-id 3f0d61c40806051237y4f2d581bx7e6ee8779357be02@mail.gmail.com
Whole thread Raw
In response to Temporary Tables and Web Application  (Tim Tassonis <timtas@cubic.ch>)
List pgsql-general
On Thu, Jun 5, 2008 at 5:36 PM, Tim Tassonis <timtas@cubic.ch> wrote:

> Is there a way to create temporary tables in another way, so they are
> visible between sessions, or do I need to create real tables for my purpose?
> And is the perfomance penalty big for real tables, as they have been written
> to disk/read from disk?

You could create a real table on disk, inserting just the primary keys
of the table; then, you could join on the main table, to get the real
results.

Regards
Marco

--
Marco Bizzarri
http://iliveinpisa.blogspot.com/

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Bizgrez dead?
Next
From: "Scott Marlowe"
Date:
Subject: Re: conditionally executing migration code