X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 42DF59DC80C for ; Fri, 10 Mar 2006 13:28:27 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 11031-04 for ; Fri, 10 Mar 2006 13:28:26 -0400 (AST) X-Greylist: delayed 00:42:38.959611 by SQLgrey- Received: from office1.i-free.ru (office1.i-free.ru [81.222.216.82]) by postgresql.org (Postfix) with ESMTP id 7E5619DC805 for ; Fri, 10 Mar 2006 13:28:24 -0400 (AST) Received: from [192.168.0.250] (helo=deepcore.i-free.ru) by office1.i-free.ru with smtp (Exim 3.36 #1 (Debian)) id 1FHlPZ-00016m-00; Fri, 10 Mar 2006 20:28:21 +0300 Date: Fri, 10 Mar 2006 20:28:23 +0300 From: Evgeny Gridasov To: Tom Lane Cc: pgsql-performance@postgresql.org Subject: Re: one-field index vs. multi-field index planner Message-Id: <20060310202823.88495774.eugrid@fpm.kubsu.ru> In-Reply-To: <6628.1142010559@sss.pgh.pa.us> References: <6BCB9D8A16AC4241919521715F4D8BCEA35109@algol.sollentuna.se> <200603101113.35868.jdevisser@digitalfairway.com> <20060310194545.be002083.eugrid@fpm.kubsu.ru> <6628.1142010559@sss.pgh.pa.us> X-Mailer: Sylpheed version 2.2.1 (GTK+ 2.6.2; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.105 required=5 tests=[AWL=0.105] X-Spam-Score: 0.105 X-Spam-Level: X-Archive-Number: 200603/137 X-Sequence-Number: 17574 Tom, ofcourse I've analyzed it. visible is true for about 0.3% of all rows. testing table contains about 300,000-500,000 rows. On Fri, 10 Mar 2006 12:09:19 -0500 Tom Lane wrote: > Evgeny Gridasov writes: > > Recently I've discovered an interesting thing (Postgres version 8.1.3): > > Have you ANALYZEd the table since loading it? What fraction of the rows > have visible = true? -- Evgeny Gridasov Software Engineer I-Free, Russia