X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 7D82A9FB1D3 for ; Tue, 2 May 2006 17:19:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 03296-06-5 for ; Tue, 2 May 2006 17:18:54 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from wolff.to (wolff.to [66.93.197.194]) by postgresql.org (Postfix) with SMTP id BA5BE9FB1D5 for ; Tue, 2 May 2006 17:18:53 -0300 (ADT) Received: (qmail 15583 invoked by uid 500); 2 May 2006 20:19:30 -0000 Date: Tue, 2 May 2006 15:19:29 -0500 From: Bruno Wolff III To: Tony Wasson Cc: Vivek Khera , Pgsql performance Subject: Re: postgresql transaction id monitoring with nagios Message-ID: <20060502201928.GB14674@wolff.to> Mail-Followup-To: Bruno Wolff III , Tony Wasson , Vivek Khera , Pgsql performance References: <6d8daee30605021126o7b44e255q552dcdc676c565bf@mail.gmail.com> <628A837A-9718-46BB-85D7-8A63BBB1CA32@khera.org> <6d8daee30605021206h8170a48w94670b5d23633a72@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6d8daee30605021206h8170a48w94670b5d23633a72@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/43 X-Sequence-Number: 18830 On Tue, May 02, 2006 at 12:06:30 -0700, Tony Wasson wrote: > > Ah thanks, it's a bug in my understanding of the thresholds. > > "With the standard freezing policy, the age column will start at one > billion for a freshly-vacuumed database." > > So essentially, 1B is normal, 2B is the max. The logic is now.. > > The script detects a wrap at 2 billion. It starts warning once one or > more databases show an age over 1.5 billion transactions. It reports > critical at 1.75B transactions. > > If anyone else understands differently, hit me with a clue bat. Isn't this obsolete now anyway? I am pretty sure 8.1 has safeguards against wrap around.