Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Ingres Version: All OS: All Q: What purpose do the dump files serve when I checkpoint my database?

0
Posted

Ingres Version: All OS: All Q: What purpose do the dump files serve when I checkpoint my database?

0

When running an online checkpoint, users are allowed to make changes to the database. This means that some of the table files (.t0x) may be modified during the course of the checkpoint. The checkpoint works by using the OS to back up the files. This means that if a table is modified, it’s corresponding table file MIGHT have been updated to reflect this change, then again it also MIGHT NOT have been updated; it all depends on if that particular transaction took place BEFORE or AFTER it’s table file was backed up. To make things more consistent, Ingres needs to be able to get a static ‘picture’ of the database at the precise moment that the checkpoint is run. To do this, it needs to know what transactions were run during the checkpoint; at recovery time (rollforwarddb), these transactions are rolled back, guaranteeing that the recovery will restore the state (image) of the database at the time of the checkpoint. That’s what the dump files are for; they record these transactions so that t

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123