Re: delete to slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 06, 2005 at 02:15:39PM -0400, Tom Lane wrote:
> "Jim C. Nasby" <decibel@xxxxxxxxxxx> 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@xxxxxxxxxxx 
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?"


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux