suspicius behaviour during delete - Mailing list pgsql-hackers

From Yann Michel
Subject suspicius behaviour during delete
Date
Msg-id 20031021160613.GA17516@uff.spline.de
Whole thread Raw
List pgsql-hackers
Hi all,

I hope this is the right mailinglist for my question.
I'm using postgresql 7.2.1 and doing some bulk-loads from one table
to another. Due to sometimes there may exist som already loaded rows the
first thing I do is to delete them to reinsert all of them later on.
This sequence is but into one transaction.

My problem now is, that postgresql behaves somehow strange. Sometimes
when I practice like mentioned above it works just fast  within seconds
but sometimes it last more than an hour. Both times 30000 rows are
processed. 
Even if I'd like to delete and insert only one row it lasts an hour
until I cancel the statement.

Does anyone have an idea or can anyone give me some hints how to solve
that problem? 

I'd appreciate any help!

Thanks in advance,
Yann


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: So, are we going to bump catversion for beta5, or not?
Next
From: Tom Lane
Date:
Subject: Re: So, are we going to bump catversion for beta5, or not?