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 95743D1C9C8 for ; Wed, 30 Jul 2003 13:51:36 +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 59415-07 for ; Wed, 30 Jul 2003 10:50:39 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id A9563D1C995 for ; Wed, 30 Jul 2003 10:51:35 -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 h6UDpNQ3009199; Wed, 30 Jul 2003 09:51:23 -0400 (EDT) To: Rajesh Kumar Mallah Cc: Josh Berkus , pgsql-performance@postgresql.org, "Shridhar Daithankar" Subject: Re: Why performance improvement on converting subselect to a function ? In-reply-to: <200307301254.49159.mallah@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> Comments: In-reply-to Rajesh Kumar Mallah message dated "Wed, 30 Jul 2003 12:54:49 +0530" Date: Wed, 30 Jul 2003 09:51:23 -0400 Message-ID: <9198.1059573083@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/476 X-Sequence-Number: 2769 Rajesh Kumar Mallah writes: > What lead to degradation was the bumping off of > effective_cache_size parameter from 1000 to 64K Check the plan then; AFAIR the only possible effect of changing effective_cache_size is to influence which plan the planner picks. regards, tom lane