Re: Need a mentor, and a project.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Ashish <abindra(at)u(dot)washington(dot)edu>, Josh Berkus <josh(at)agliodbs(dot)com>, Joshua Tolley <eggyknap(at)gmail(dot)com>, Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Need a mentor, and a project.
Date: 2009-12-12 02:44:42
Message-ID: 26128.1260585882@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> Ashish wrote:
>> I am thinking about starting with the following TODO item:
>> --> Have EXPLAIN ANALYZE issue NOTICE messages when the estimated
>> and actual row counts differ by a specified percentage.

> I even have a sample patch you can use as a start, attached.

Of course, the reason that patch isn't already in there is that it's
pretty much useless. It clutters what's already cluttered output
and doesn't do much of anything to help draw one's attention to the
larger estimation errors, which of course is what the TODO item is
really about.

IMO the hard part of the TODO item is to design a useful user interface
for highlighting specific EXPLAIN entries (and NOTICE messages probably
ain't it either). Getting the numbers is trivial.

I'm not sure there is any really nice solution within the confines of
plain ASCII text output. There was an interesting approach online
at http://explain-analyze.info, but that site seems to be down now :-(

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2009-12-12 03:35:17 Re: Installing PL/pgSQL by default
Previous Message Bruce Momjian 2009-12-12 02:36:55 Re: Need a mentor, and a project.