Re: Poor delete performance AFTER vacuum analyze

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jeremy(dot)guthrie(at)berbee(dot)com
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Poor delete performance AFTER vacuum analyze
Date: 2003-07-21 05:09:02
Message-ID: 27641.1058764142@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Jeremy M. Guthrie" <jeremy(dot)guthrie(at)berbee(dot)com> writes:
> I looked back at my code and I also need to reclarify something. The delete
> at the end is multiple delete statements within a transaction.

I think you are going to have to show us all the details of what you're
doing in between these queries. I was expecting to see a difference in
query plans, but you've got the exact same plan in all three runs ---
so it's not the planner making the difference here, nor the ANALYZE
statistics. My best conjecture now is something odd about the way you
are deleting the old data or loading the new.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message SZUCS Gábor 2003-07-21 05:09:48 Re: Dual Xeon + HW RAID question
Previous Message Bruce Momjian 2003-07-21 02:49:07 Re: About the default performance