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 559B99DC863 for ; Mon, 27 Mar 2006 19:13:48 -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 98453-01 for ; Mon, 27 Mar 2006 19:13:50 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id CC50C9DD236 for ; Mon, 27 Mar 2006 19:13:45 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k2RNDmof024744; Mon, 27 Mar 2006 18:13:48 -0500 (EST) To: "Matthew T. O'Connor" cc: Mikael Carneholm , Postgresql Performance Subject: Re: count(*) performance In-reply-to: <44286A76.5010008@zeut.net> References: <7F10D26ECFA1FB458B89C5B4B0D72C2B088295@sesrv12.wirelesscar.com> <44286A76.5010008@zeut.net> Comments: In-reply-to "Matthew T. O'Connor" message dated "Mon, 27 Mar 2006 17:43:02 -0500" Date: Mon, 27 Mar 2006 18:13:48 -0500 Message-ID: <24743.1143501228@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.114 required=5 tests=[AWL=0.114] X-Spam-Score: 0.114 X-Spam-Level: X-Archive-Number: 200603/535 X-Sequence-Number: 17972 "Matthew T. O'Connor" writes: > It is fairly easy to implement, however it has been discussed before and > decided that it wasn't necessary. What the system cares about is how > long it's been since the last vacuum in terms of XIDs not time. I think Alvaro is intending to do the latter (store per-table vacuum xid info) for 8.2. regards, tom lane