Re: shared temp tables

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: mlw <markw(at)mohawksoft(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: shared temp tables
Date: 2001-06-21 02:23:07
Message-ID: 200106210223.f5L2N7H02522@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I love the fact that temp tables do not exist in every PostgreSQL session,
> don't get me wrong.
>
> The issue is this: most "web environments" have the idea of a session. A
> session management scheme based on PostgreSQL exposes PostgreSQL's worst
> behavior. Small amount of records, high update/delete rate for each record. So
> much so, that it probably isn't realistic to replace something like Oracle with
> PostgreSQL in this environment.
>
> Do "temp tables" suffer the same delete/update behavior of marking the row as
> deleted and adding another row? Thus requiring vacuum periodically.
>
> If not, should/could there be a way to create a temp table that is globally
> visible?

Temp table are the same as real tables have have the same update
behavior.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ross J. Reedstrom 2001-06-21 02:33:21 Re: Setuid functions
Previous Message Christopher Kings-Lynne 2001-06-21 01:44:43 RE: Setuid functions