Re: Delete query takes exorbitant amount of time

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Delete query takes exorbitant amount of time
Дата
Msg-id 20845.1111733900@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Delete query takes exorbitant amount of time  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: Delete query takes exorbitant amount of time  (Simon Riggs <simon@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Delete query takes exorbitant amount of time
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [BUGS] BUG #1552: massive performance hit between 7.4 and 8.0.1