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 2BFCED1B8BD for ; Thu, 4 Sep 2003 01:55:06 +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 77291-01 for ; Wed, 3 Sep 2003 22:54:37 -0300 (ADT) Received: from bob.samurai.com (bob.samurai.com [205.207.28.75]) by svr1.postgresql.org (Postfix) with ESMTP id 11979D1B4E2 for ; Wed, 3 Sep 2003 22:54:34 -0300 (ADT) Received: from 6-allhosts (d226-85-166.home.cgocable.net [24.226.85.166]) by bob.samurai.com (Postfix) with ESMTP id 0395B1E2E; Wed, 3 Sep 2003 21:54:38 -0400 (EDT) Subject: Re: SELECT's take a long time compared to other DBMS From: Neil Conway To: Rudi Starcevic Cc: Relaxin , PostgreSQL Performance In-Reply-To: <3F569636.4090809@oasis.net.au> References: <3F569012.3090209@oasis.net.au> <3F569636.4090809@oasis.net.au> Content-Type: text/plain Message-Id: <1062640477.14620.7.camel@tokyo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Wed, 03 Sep 2003 21:54:37 -0400 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/43 X-Sequence-Number: 3409 On Wed, 2003-09-03 at 21:32, Rudi Starcevic wrote: > Hmm ... Sorry I'm not sure then. I only use Linux with PG. > Even though it's 'brand new' you still need to Analyze so that any > Indexes etc. are built. ANALYZE doesn't build indexes, it only updates the statistics used by the query optimizer (and in any case, "select * from " has only one reasonable query plan anyway). -Neil