Re: idea: global temp tables

From: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
To: A(dot)M(dot) <agentm(at)themactionfaction(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: idea: global temp tables
Date: 2009-04-27 21:39:22
Message-ID: B2CF45DE-97D6-4ED2-A240-8492932E855B@hi-media.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Le 27 avr. 09 à 23:32, A.M. a écrit :
> When will postgresql offer "global" temporary tables with data which
> are shared among sessions? Such tables are great for transient data
> such as web session data where writing to the WAL is a waste. (On DB
> startup, the tables would simply be empty.) We're currently stuck
> with the memcached plugin which makes it impossible to use database
> constructs such as foreign keys against the temporary data.

If using 8.3 you can SET LOCAL synchronous_commit TO off; for web
session management transactions, it'll skip the WAL fsync'ing, which
is already a good start.

HTH,
--
dim

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2009-04-27 21:43:17 Re: Clean shutdown and warm standby
Previous Message A.M. 2009-04-27 21:32:50 Re: idea: global temp tables