Re: delete to slow - Mailing list pgsql-admin

From Jim C. Nasby
Subject Re: delete to slow
Date
Msg-id 20050406221620.GJ93835@decibel.org
Whole thread Raw
In response to Re: delete to slow  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: delete to slow  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
On Wed, Apr 06, 2005 at 02:15:39PM -0400, Tom Lane wrote:
> "Jim C. Nasby" <decibel@decibel.org> writes:
> > Well, neither of those should take very long at all. What's EXPLAIN
> > ANALYZE show?
>
> Indeed ... now I'm wondering about foreign key checks.  Are there any
> tables with foreign keys linking to usuario?  If so, the problem is
> likely unindexed foreign key columns, or maybe a datatype mismatch
> between foreign key and referenced column.

Hmm... it would be pretty handy if there was a way to make triggers show
up in explain somehow, maybe as a pseudo query node.
--
Jim C. Nasby, Database Consultant               decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

pgsql-admin by date:

Previous
From: Ricardo Valença de Assis
Date:
Subject: Re: delete to slow
Next
From: "Jim C. Nasby"
Date:
Subject: Re: delete to slow