From: Tom Lane <tgl@sss.pgh.pa.us>
To: jeremy.guthrie@berbee.com
Cc: pgsql-performance@postgresql.org
Subject: Re: Poor delete performance AFTER vacuum analyze
Date: Mon, 21 Jul 2003 01:09:02 -0400
Message-ID: <27641.1058764142@sss.pgh.pa.us> (raw)
In-Reply-To: <200307201851.39756.jeremy.guthrie@berbee.com>
References: <200307191622.46709.jeremy.guthrie@berbee.com>
<19929.1058676291@sss.pgh.pa.us>
<200307201851.39756.jeremy.guthrie@berbee.com>
"Jeremy M. Guthrie" <jeremy.guthrie@berbee.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, jeremy.guthrie@berbee.com
Subject: Re: Poor delete performance AFTER vacuum analyze
In-Reply-To: <27641.1058764142@sss.pgh.pa.us>
References: <200307191622.46709.jeremy.guthrie@berbee.com> <19929.1058676291@sss.pgh.pa.us> <200307201851.39756.jeremy.guthrie@berbee.com> <27641.1058764142@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox