pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedtransaction-wraparound data loss
4+ messages / 4 participants
[nested] [flat]
* transaction-wraparound data loss
@ 2003-09-09 23:17 Brian E. Pangburn <bpangburn@nqadmin.com>
0 siblings, 1 reply; 4+ messages in thread
From: Brian E. Pangburn @ 2003-09-09 23:17 UTC (permalink / raw)
To: pgsql-admin
I run the following nightly using cron against my 7.3.3 databases:
vacuumdb -a -f -z
The other night, I got the following (db names have been changed to protect
the innocent):
Vacuuming db1
WARNING: Some databases have not been vacuumed in over 2 billion
transactions.
You may have already suffered transaction-wraparound data loss.
VACUUM
Vacuuming db2
VACUUM
Vacuuming db3
VACUUM
Vacuuming template1
VACUUM
I run this nightly and I don't think there is any way that I could have
processed 2 billion transactions in a single day. The first database "db1"
really isn't even used actively.
Could the error message have been generated in error? Is there something I
should check or do? Does this indicate that I'm going to have catastrophic
errors with one or all of my databases?
Any insights are much appreciated.
Brian E. Pangburn
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: transaction-wraparound data loss
@ 2003-09-10 06:30 Tom Lane <tgl@sss.pgh.pa.us>
parent: Brian E. Pangburn <bpangburn@nqadmin.com>
0 siblings, 0 replies; 4+ messages in thread
From: Tom Lane @ 2003-09-10 06:30 UTC (permalink / raw)
To: Brian E. Pangburn <bpangburn@nqadmin.com>; +Cc: pgsql-admin
"Brian E. Pangburn" <bpangburn@nqadmin.com> writes:
> I run the following nightly using cron against my 7.3.3 databases:
> vacuumdb -a -f -z
> The other night, I got the following (db names have been changed to protect
> the innocent):
> WARNING: Some databases have not been vacuumed in over 2 billion
> transactions.
Hm, that should not happen if you've been doing routine vacuumdb -a.
Could we see the contents of pg_database?
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
* transaction-wraparound data loss
@ 2003-10-24 06:44 Ari Jolma <Ari.Jolma@hut.fi>
0 siblings, 1 reply; 4+ messages in thread
From: Ari Jolma @ 2003-10-24 06:44 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: transaction-wraparound data loss
@ 2003-10-24 14:55 Glenn Wiorek <gwiorek@jmlafferty.com>
parent: Ari Jolma <Ari.Jolma@hut.fi>
0 siblings, 0 replies; 4+ messages in thread
From: Glenn Wiorek @ 2003-10-24 14:55 UTC (permalink / raw)
To: Ari Jolma <Ari.Jolma@hut.fi>; pgsql-admin
See section 8.2.3 of the admin guide (v7.3) "Preventing transaction ID
wraparound failures"
----- Original Message -----
From: "Ari Jolma" <Ari.Jolma@hut.fi>
To: <pgsql-admin@postgresql.org>
Sent: Friday, October 24, 2003 1:44 AM
Subject: [ADMIN] transaction-wraparound data loss
> 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
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>
>
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-10-24 14:55 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-09 23:17 transaction-wraparound data loss Brian E. Pangburn <bpangburn@nqadmin.com>
2003-09-10 06:30 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-10-24 06:44 transaction-wraparound data loss Ari Jolma <Ari.Jolma@hut.fi>
2003-10-24 14:55 ` Glenn Wiorek <gwiorek@jmlafferty.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox