On Tue, Jun 06, 2006 at 11:06:09AM -0400, Tom Lane wrote: > > The idea I just had was: why do we need EXPLAIN ANALYZE to run to > > completion? In severe cases like this thread, we might be able to > > discover the root cause by a *partial* execution of the plan, as long as > > it was properly instrumented. That way, the OP might have been able to > > discover the root cause himself... > > I don't think that helps, as it just replaces one uncertainty by > another: how far did the EXPLAIN really get towards completion of the > plan? You still don't have any hard data.
Does that really matter, though? The point is to find the node where the estimate proved to be fantasy. It might even make sense to highlight that node in the output, so that users don't have to wade through a sea of numbers to find it. If it is important to report how far along the query got, it seems that could always be added to the explain output. -- Jim C. Nasby, Sr. Engineering Consultant [EMAIL PROTECTED] Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461 ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org