Re: very slow after a while... - Mailing list pgsql-general

From Tom Lane
Subject Re: very slow after a while...
Date
Msg-id 28287.1112806768@sss.pgh.pa.us
Whole thread Raw
In response to Re: very slow after a while...  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Richard Huxton <dev@archonet.com> writes:
> Costin Manda wrote:
>> I thought the problem lied with step 4, but now I see that step 3 was
>> the culprit and that , indeed, I did not do drop table, create table but
>> delete from and inserts. I think that recreating these two tables should
>> solve the problem, isn't it?

> Hmm - try TRUNCATE rather than DELETE.

Or VACUUM between deleting and inserting.  But TRUNCATE would be better
if you can do it.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Big trouble with memory !!
Next
From: Ragnar Hafstað
Date:
Subject: Re: very slow after a while...