Re: WIP: make EXPLAIN ANALYZE show time spent in triggers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WIP: make EXPLAIN ANALYZE show time spent in triggers
Дата
Msg-id 21116.1111736158@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WIP: make EXPLAIN ANALYZE show time spent in triggers  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: WIP: make EXPLAIN ANALYZE show time spent in triggers
Список pgsql-patches
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
>> Plain EXPLAIN doesn't run the query, and therefore not the triggers.

> But the point of it is to estimate, right?  Could it not estimate the
> number of time each trigger would be called.  Surely that's the same as
> estimating the number of rows each clause will return?

Right.  So what's the point?  It seems like the printout would just be
useless noise: it'd repeat N times the estimate of the top-level number
of output rows.

            regards, tom lane

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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: WIP: make EXPLAIN ANALYZE show time spent in triggers
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: WIP: make EXPLAIN ANALYZE show time spent in triggers