X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 30AEAD1B4E1 for ; Fri, 24 Oct 2003 06:45:23 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 32492-08 for ; Fri, 24 Oct 2003 03:44:52 -0300 (ADT) Received: from smtp-1.hut.fi (smtp-1.hut.fi [130.233.228.91]) by svr1.postgresql.org (Postfix) with ESMTP id 52799D1B504 for ; Fri, 24 Oct 2003 03:44:50 -0300 (ADT) Received: from hut.fi (earth.hut.fi [130.233.136.58]) by smtp-1.hut.fi (8.12.10/8.12.9) with ESMTP id h9O6ioFk032022 for ; Fri, 24 Oct 2003 09:44:50 +0300 Message-ID: <3F98CA62.2010100@hut.fi> Date: Fri, 24 Oct 2003 09:44:50 +0300 From: Ari Jolma Organization: Helsinki University of Technology User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: fi, en, en-us, fr MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: transaction-wraparound data loss Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-RAVMilter-Version: 8.4.3(snapshot 20030212) (smtp-1.hut.fi) X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/295 X-Sequence-Number: 10856 Brian E. Pangburn asked some time ago about getting the warning WARNING: Some databases have not been vacuumed in over 2 billion transactions. You may have already suffered transaction-wraparound data loss. while doing a routine vacuum. Tom Lane answered but did not have an answer right away. I got the same message from my redhat installed postgresql-server-7.3.2-3. I tried a vacuum after this message and did not get any warnings. This is my pg_database. template1=# select * from pg_database; datname | datdba | encoding | datistemplate | datallowconn | datlastsysoid | datvacuumxid | datfrozenxid | datpath | datconfig | datacl -----------+--------+----------+---------------+--------------+---------------+--------------+--------------+---------+-----------+----------------- clime | 100 | 0 | f | t | 16974 | 3226 | 3221228699 | | | template1 | 1 | 0 | t | t | 16974 | 3449 | 3221228922 | | | {=,postgres=CT} template0 | 1 | 0 | t | f | 16974 | 427 | 427 | | | {=,postgres=CT} (3 rows) Regards, Ari ** -- Ari Jolma, Ari.Jolma@hut.fi, Professor of Geoinformatics Cartography and Geoinformatics, Helsinki University of Technology POBox 1200, 02015 TKK, Finland http://www.hut.fi/Units/Cartography