pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sean Davis <sdavis2@mail.nih.gov>
To: Andy <frum@ar-sd.net>
To: pgsql-performance@postgresql.org
Subject: Re: Massive delete performance
Date: Tue, 11 Oct 2005 08:12:11 -0400
Message-ID: <BF71245B.10304%sdavis2@mail.nih.gov> (raw)
In-Reply-To: <017601c5ce5c$219e1b10$0b00a8c0@forge>

On 10/11/05 8:05 AM, "Andy" <frum@ar-sd.net> wrote:

>> Do you have foreign key relationships that must be followed for cascade
>> delete?  If so, make sure that you have indices on them.
> Yes I have such things. Indexes are on these fields. >> To be onest this
> delete is taking the longest time, but it involves about 10 tables.

Can you post explain analyze output of the next delete?

Sean




view thread (9+ messages)  latest in thread

Message-ID: <BF71245B.10304%sdavis2@mail.nih.gov>
Permalink:  ../BF71245B.10304%25sdavis2@mail.nih.gov/
Also on:    postgresql.org/message-id/BF71245B.10304%sdavis2@mail.nih.gov

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: sdavis2@mail.nih.gov, frum@ar-sd.net
  Subject: Re: Massive delete performance
  In-Reply-To: <BF71245B.10304%sdavis2@mail.nih.gov>

* 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