X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 21DA352991 for ; Wed, 10 Aug 2005 15:32:04 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 19844-04 for ; Wed, 10 Aug 2005 18:31:54 +0000 (GMT) Received: from mail.nordicbet.com (mail.nordicbet.com [193.69.167.130]) by svr1.postgresql.org (Postfix) with ESMTP id 94D5B5280D for ; Wed, 10 Aug 2005 15:31:53 -0300 (ADT) Received: from [84.48.51.94] (helo=tobias.nordicbet.invalid) (Authenticated Sender=tobias@nordicbet.com) by mail.nordicbet.com with esmtpa (Exim 4.50 #1 (Debian)) id 1E2vKf-0006DA-8l; Wed, 10 Aug 2005 20:29:51 +0200 Received: by tobias.nordicbet.invalid (Postfix, from userid 500) id DB648CACF3; Wed, 10 Aug 2005 20:31:42 +0200 (CEST) Date: Wed, 10 Aug 2005 20:31:42 +0200 From: Tobias Brox To: PFC Cc: Tobias Brox , pgsql-performance@postgresql.org Subject: Re: partial index regarded more expensive Message-ID: <20050810183142.GG6141@tobias.lan> References: <20050810175208.GD6141@tobias.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Group Nordicbet User-Agent: Mutt/1.5.8i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200508/98 X-Sequence-Number: 13845 [PFC - Wed at 08:15:13PM +0200] > why not simply create an index on (game_end, state) ? No, the planner prefers to use the partial index (I dropped the index on game(state)). -- Tobias Brox, Nordicbet IT dept This signature has been virus scanned, and is probably safe to read. This mail may contain confidential information, please keep your eyes closed.