Re: Performance Problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex Paulusberger <alexp(at)meta-bit(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Performance Problems
Date: 2002-08-23 13:49:45
Message-ID: 19614.1030110585@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Another thought...

Alex Paulusberger <alexp(at)meta-bit(dot)com> writes:
> The whole process loops 4,500 times.
> For every loop
> - a temp table is cleared

How exactly are you clearing the temp table? DELETE FROM isn't a good
plan because you'll still have dead tuples in there. You could do a
DELETE FROM and then VACUUM, but I'd suggest TRUNCATE instead.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Joe Conway 2002-08-23 14:03:28 Re: Preserving datatypes in dblink.
Previous Message Tom Lane 2002-08-23 13:44:39 Re: Performance Problems