Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 338622E3005 for ; Thu, 27 Dec 2007 22:46:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 38196-03-2 for ; Thu, 27 Dec 2007 22:46:13 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 7B2FD2E2FF8 for ; Thu, 27 Dec 2007 22:46:19 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lBS2kAXI024299; Thu, 27 Dec 2007 21:46:10 -0500 (EST) To: Jeff Frost cc: Andrew Sullivan , pgsql-admin@postgresql.org Subject: Re: What's the XID? In-reply-to: References: <14508639.post@talk.nabble.com> <20071227154243.GF8160@crankycanuck.ca> <11803.1198771221@sss.pgh.pa.us> <17845.1198778124@sss.pgh.pa.us> Comments: In-reply-to Jeff Frost message dated "Thu, 27 Dec 2007 15:56:58 -0800" Date: Thu, 27 Dec 2007 21:46:10 -0500 Message-ID: <24298.1198809970@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/225 X-Sequence-Number: 27742 Jeff Frost writes: > On Thu, 27 Dec 2007, Tom Lane wrote: >> There's no global counter. There's a backend-local "virtual transaction >> id" counter. > That's a drag as I have quite a few clients who graph the xacts/sec with MRTG. > Most of these clients have read heavy workloads and it would be great to be > able to graph read vs write xacts, but a drag if you have no visibility into > the read xacts. Why aren't you using the pgstats xact counters for that? regards, tom lane