pg_dump and XID limit - Mailing list pgsql-admin

From Elliot Chance
Subject pg_dump and XID limit
Date
Msg-id DC1E3319-08CD-4C61-9565-06D744260261@gmail.com
Whole thread Raw
Responses Re: pg_dump and XID limit  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Hi,

This is a hypothetical problem but not an impossible situation. Just curious about what would happen.

Lets say you have an OLTP server that keeps very busy on a large database. In this large database you have one or more
tableson super fast storage like a fusion IO card which is handling (for the sake of argument) 1 million transactions
persecond. 

Even though only one or a few tables are using almost all of the IO, pg_dump has to export a consistent snapshot of all
thetables to somewhere else every 24 hours. But because it's such a large dataset (or perhaps just network congestion)
thedaily backup takes 2 hours. 

Heres the question, during that 2 hours more than 4 billion transactions could of occurred - so what's going to happen
toyour backup and/or database? 

- Elliot

pgsql-admin by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: binary logs: a location other than pg_xlog??
Next
From: Tom Lane
Date:
Subject: Re: pg_dump and XID limit