Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 55D36477345 for ; Thu, 23 Jan 2003 13:06:43 -0500 (EST) Received: from serwer.skawsoft.com.pl (serwer.skawsoft.com.pl [213.25.37.66]) by postgresql.org (Postfix) with ESMTP id 8704B477159 for ; Thu, 23 Jan 2003 12:50:27 -0500 (EST) Received: by serwer.skawsoft.com.pl (Postfix, from userid 1000) id 290262B87B; Thu, 23 Jan 2003 18:46:01 +0100 (CET) Date: Thu, 23 Jan 2003 18:46:01 +0100 To: Stephan Szabo Cc: Tom Lane , Tomasz Myrta , pgsql-sql@postgresql.org Subject: Re: To use a VIEW or not to use a View..... Message-ID: <20030123174601.GA14486@serwer> References: <25948.1043283680@sss.pgh.pa.us> <20030123084900.P12945-100000@megazone23.bigpanda.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030123084900.P12945-100000@megazone23.bigpanda.com> User-Agent: Mutt/1.3.28i From: jasiek@klaster.net X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/364 X-Sequence-Number: 11229 On Thu, Jan 23, 2003 at 08:53:53AM -0800, Stephan Szabo wrote: > On Wed, 22 Jan 2003, Tom Lane wrote: > > I haven't looked at code yet but tried examples like Tomasz's and some > simple ones and have gotten reasonable seeming output for the estimates > given accurate statistics (joining two estimate 3 outputs, getting 8 for > the estimated rows, joining that with another copy getting 50 some odd > where in this case the real would be 81). Not that I did a > particularly thorough test. I hope to get a chance over the next couple > of days to look and run more tests. > > Tomasz, if you have the chance, you might want to try CVS and see what it > does for the queries you've been working with. Not too easy. Currently I have only windows machine with Postgresql/cygwin. I use dial-up for accessing internet, which isn't nice to use. I will try this if I find some free computer to install postgresql/linux ;-) Anyway I already gave up this kind of query, especially I can't use CVS as production server (should I?) Regards, Tomasz Myrta