Re: WIP: make EXPLAIN ANALYZE show time spent in triggers
В списке pgsql-patches по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: WIP: make EXPLAIN ANALYZE show time spent in triggers |
| Дата | |
| Msg-id | 21221.1111736869@sss.pgh.pa.us обсуждение |
| Ответ на | Re: WIP: make EXPLAIN ANALYZE show time spent in triggers (Christopher Kings-Lynne <chriskl@familyhealth.com.au>) |
| Список | pgsql-patches |
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
>> 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.
> Well I guess the point would be to remind people that there are
> (potentially) expensive triggers that will run, so even though the
> analysis presented indicates that the tested query will be fast, it
> might not be...
If we had any way to estimate the costs of the triggers, I'd agree with
listing those numbers --- but the triggers are just black boxes. So I
don't see the point. We might as well just add one line saying
<ding> You've got triggers!
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера