Log based recovery


Really Dumb




Log based recovery
Sure! Log based recovery is like having a diary where you write down everything that happens in your day. If something bad happens, like you spill your milk, you can go back to your diary and see what happened before that to figure out how to fix it. For example, let’s say you are playing a video game and it suddenly crashes. With log based recovery, the game can look at the diary (or log) of what happened before the crash and go back to a safe point where everything was working fine. This way, you don’t lose any progress and can continue playing without any issues. A verifiable fact is that many databases and software systems use log based recovery to ensure data is not lost in case of a system failure.Logs record all changes made to the data so that it can be restored to a previous state if needed.