X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A8ADC563EB for ; Thu, 10 Mar 2005 14:57:01 +0000 (GMT) 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 46857-06 for ; Thu, 10 Mar 2005 14:56:43 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 5839B556EA for ; Thu, 10 Mar 2005 14:56:42 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j2AEuke4014862; Thu, 10 Mar 2005 09:56:46 -0500 (EST) To: "Milen A. Radev" Cc: pgsql-admin@postgresql.org Subject: Re: Too frequent warnings for wraparound failure In-reply-to: <42301107.6010901@securax.org> References: <42301107.6010901@securax.org> Comments: In-reply-to "Milen A. Radev" message dated "Thu, 10 Mar 2005 11:19:03 +0200" Date: Thu, 10 Mar 2005 09:56:46 -0500 Message-ID: <14861.1110466606@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/148 X-Sequence-Number: 16646 "Milen A. Radev" writes: > I review the log every morning. In the beginning I got "wraparound > failure" warnings every third day. But from a week I got those warnings > every day. Well we have one table in one database where there are a lot > of inserts, but not that many - around 30-40 thousand per day. Are you really doing half a billion transactions a day? Keep an eye on age(pg_class.datfrozenxid) as suggested in the manual to see what's going on. It's hard to credit getting any useful work done at the rate of 10K transactions per second, but if you have a client that is issuing a constant stream of dummy operations (like begin/rollback) it's conceivable that you could advance the transaction counter that fast. regards, tom lane