Re: how can i show constraint checks in explain ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: how can i show constraint checks in explain ?
Дата
Msg-id 15100.1174160612@sss.pgh.pa.us
обсуждение исходный текст
Ответ на how can i show constraint checks in explain ?  (Jonathan Vanasco <postgres@2xlp.com>)
Список pgsql-general
Jonathan Vanasco <postgres@2xlp.com> writes:
> However-- explain doesn't pull in the planner's scanning info in
> regards to the fkey constraints.  is there any function or argument
> that will ?

Not directly --- but in reasonably recent PG versions, EXPLAIN ANALYZE
shows the runtime for trigger functions, including fkey triggers.
That would let you figure out which fkey is the problem.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: "Alain Roger"
Дата:
Сообщение: issue with SELECT settval(..);
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: Postgres Database size