Re: Temporary Tables and Web Application

From: "Marco Bizzarri" <marco(dot)bizzarri(at)gmail(dot)com>
To: timtas(at)cubic(dot)ch
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Temporary Tables and Web Application
Date: 2008-06-05 19:37:05
Message-ID: 3f0d61c40806051237y4f2d581bx7e6ee8779357be02@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jun 5, 2008 at 5:36 PM, Tim Tassonis <timtas(at)cubic(dot)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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-06-05 20:13:06 Re: conditionally executing migration code
Previous Message Joshua D. Drake 2008-06-05 19:14:45 Re: Bizgrez dead?