Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 051649FB5C0 for ; Fri, 12 Jan 2007 06:44:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 22767-03 for ; Fri, 12 Jan 2007 06:44:20 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lynet.oppetid.no (oppetid.no [80.65.51.2]) by postgresql.org (Postfix) with ESMTP id BDAAD9FB5A0 for ; Fri, 12 Jan 2007 06:44:23 -0400 (AST) Received: by lynet.oppetid.no (Postfix, from userid 1019) id A54D711AFAF; Fri, 12 Jan 2007 11:44:22 +0100 (CET) Date: Fri, 12 Jan 2007 11:44:22 +0100 From: Tobias Brox To: Heikki Linnakangas Cc: Tobias Brox , Peter Childs , pgsql-performance@postgresql.org Subject: Re: Planner statistics, correlations Message-ID: <20070112104422.GD9703@oppetid.no> References: <20070112081631.GA10636@oppetid.no> <20070112090500.GB16243@oppetid.no> <45A765DE.9020003@enterprisedb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45A765DE.9020003@enterprisedb.com> Organization: Group Nordicbet User-Agent: Mutt/1.5.9i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/204 X-Sequence-Number: 22805 [Heikki Linnakangas - Fri at 10:41:34AM +0000] > I thought about partitioning the table by state, putting rows with > state=4 into one partition, and all others to another partition. That sounds like a good idea - but wouldn't that be costly when changing state?