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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: WIP: make EXPLAIN ANALYZE show time spent in triggers
Date: 2005-03-25 07:35:58
Message-ID: 21116.1111736158@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-03-25 07:38:43 Re: WIP: make EXPLAIN ANALYZE show time spent in triggers
Previous Message Christopher Kings-Lynne 2005-03-25 07:24:52 Re: WIP: make EXPLAIN ANALYZE show time spent in triggers