Re: [Fwd: Re: RHDB just sits and does nothing?]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Scott Marlowe" <smarlowe(at)qwest(dot)net>
Cc: "Mauri Sahlberg" <Mauri(dot)Sahlberg(at)claymountain(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: [Fwd: Re: RHDB just sits and does nothing?]
Date: 2004-06-09 13:46:41
Message-ID: 20391.1086788801@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Scott Marlowe" <smarlowe(at)qwest(dot)net> writes:
> On Wed, 2004-06-09 at 02:16, Mauri Sahlberg wrote:
>> It just took about three quarters of a hour to delete 6500 rows!

> Do you have any foreign key references that are of mismatched types
> involved?

Specifically, what other tables reference this one? Are their
referencing columns of identical types, and *do they have indexes*?

I'm betting on lack of index myself; that's the only FK mistake that
hurts you only at primary-key-delete time.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-06-09 13:53:32 Re: Refined LC_COLLATE or multiple database clusters?
Previous Message Scott Marlowe 2004-06-09 13:01:51 Re: [Fwd: Re: RHDB just sits and does nothing?]