Re: Delete query takes exorbitant amount of time - Mailing list pgsql-performance

From Tom Lane
Subject Re: Delete query takes exorbitant amount of time
Date
Msg-id 20845.1111733900@sss.pgh.pa.us
Whole thread Raw
In response to Re: Delete query takes exorbitant amount of time  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: Delete query takes exorbitant amount of time  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-performance
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
>> In that case there's a datatype mismatch between the referencing and
>> referenced columns, which prevents the index from being used for the
>> FK check.

> Is creating such a foreign key a WARNING yet?

I believe so as of 8.0.  It's a bit tricky since 8.0 does allow some
cross-type cases to be indexed, but IIRC we have a test that understands
about that...

            regards, tom lane

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Delete query takes exorbitant amount of time
Next
From: Simon Riggs
Date:
Subject: Re: [BUGS] BUG #1552: massive performance hit between 7.4 and 8.0.1