Re: delete to slow

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: delete to slow
Дата
Msg-id 20050406221620.GJ93835@decibel.org
обсуждение исходный текст
Ответ на Re: delete to slow  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: delete to slow
Список 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 по дате отправления:

Предыдущее
От: Ricardo Valença de Assis
Дата:
Сообщение: Re: delete to slow
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: delete to slow