X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 154C2D1C4EB for ; Thu, 31 Jul 2003 03:21:41 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 13589-03 for ; Thu, 31 Jul 2003 00:20:36 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id E3E89D1C4D6 for ; Thu, 31 Jul 2003 00:21:38 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h6V3LcQ3027222; Wed, 30 Jul 2003 23:21:38 -0400 (EDT) To: Rajesh Kumar Mallah Cc: pgsql-performance@postgresql.org Subject: Re: Why performance improvement on converting subselect In-reply-to: <3F281EB7.7010308@trade-india.com> References: <200307291114.29567.mallah@trade-india.com> <3F26A503.3050104@trade-india.com> <4578.1059514334@sss.pgh.pa.us> <200307301254.49159.mallah@trade-india.com> <9198.1059573083@sss.pgh.pa.us> <3F281EB7.7010308@trade-india.com> Comments: In-reply-to Rajesh Kumar Mallah message dated "Thu, 31 Jul 2003 01:08:31 +0530" Date: Wed, 30 Jul 2003 23:21:38 -0400 Message-ID: <27221.1059621698@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/493 X-Sequence-Number: 2786 Rajesh Kumar Mallah writes: > Below are the plans for two cases. I dont know how to read them accurately > can u please explain them. Well, they're the same plan, as far as they go. I suppose that the runtime difference must come from choosing a different plan inside the most_recent_edition() function, which we cannot see in the explain output. As before, turning on logging of verbose query plans is the only way to look at what the function is doing. > Also can anyone point to some documentation > oriented towards understanding explain analyze output? http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=performance-tips.html regards, tom lane