Re: pg temp tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Anton Melser" <melser(dot)anton(at)gmail(dot)com>
Cc: "Robert Treat" <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: pg temp tables
Date: 2007-03-06 07:46:30
Message-ID: 28340.1173167190@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Anton Melser" <melser(dot)anton(at)gmail(dot)com> writes:
> Thanks for your reply. I am managing a db that has some export scripts
> that don't do a drop/create, but rather a delete from at the start of
> the proc (6 or 7 tables used for this, and only this). Now given that
> there is no vacuuming at all going on - this is clearly suboptimal but
> in the general case is this better/worse than using temporary tables?

Delete all rows, you mean? Have you considered TRUNCATE?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message brian 2007-03-06 07:50:59 Re: Wikipedia on Postgres (was Re: postgresql vs mysql)
Previous Message Anton Melser 2007-03-06 07:39:13 Re: pg temp tables