Sun Oct 30 18:21:16 PST 2005
- Previous message: [Slony1-general] Please HELP - URGENT - transaction wraparound error
- Next message: [Slony1-general] Please HELP - URGENT - transaction wraparound error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Oct 30, 2005 at 09:00:12AM +0000, John Sidney-Woollett wrote: > over 2 billion transactions > DETAIL: You may have already suffered transaction-wraparound data loss. > > We have cronscripts that perform FULL vacuums Not on all your your databases. And anyway > # vacuum template1 every sunday > 35 2 * * 7 /usr/local/pgsql/bin/vacuumdb --analyze --verbose template1 > > # vacuum live DB every day > 35 5 * * * /usr/local/bin/psql -c "vacuum verbose analyze" -d bp_live -U > postgres --output /home/postgres/cronscripts/live/vacuumfull.log Those aren't fill vacuums. There must be some database in there that you're not telling us about. Do you have anything other than template0, template1, and bp_live? Also, has template0 always been frozen? > 2) What can I do to recover the data? Nothing, save for restoring from old backups. > I can failover to the slave server, but what do I need to do to rebuild > the original database? You'll need to rebuild it from scratch. You could do a switchover instead, but I think that's risky in this case. > Should I failover now?!! And then start rebuilding the old master > database (using slon, I presume)? That's what I'd do. It's just like adding a new node. > How do I stop this EVER happening again??!!! Well, _something_ didn't get vacuumed in time. Better find out what that was. I'm also extremely surprised you didn't see the warnings in time -- are you sure you're not overlooking something important in your logs? A -- Andrew Sullivan | ajs at crankycanuck.ca Information security isn't a technological problem. It's an economics problem. --Bruce Schneier
- Previous message: [Slony1-general] Please HELP - URGENT - transaction wraparound error
- Next message: [Slony1-general] Please HELP - URGENT - transaction wraparound error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list