With 1.7 million freelancers, we'll match you with the perfect talent.
The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
In this a program that simulates the behavior of the NO-UNDO/REDO protocol for recovery from failure. You will need to simulate the behavior of the database recovery subsystem by creating and simulating the system log file, the transaction table, and the cache (main memory buffers) table. You will also simulate the actions taken during checkpointing and commit of transactions. Assume that the recovery protocol allows only strict schedules and follows the write-ahead logging protocol (for simplicity, we will ignore concurrency control so the schedules may or may not be serializable).
The input to your program will be a file of transaction and system operations that are submitted in a particular sequence. Each line has a single operation. The possible transaction operations are represented by lower case letters as follows: b (begin transaction), r (read item), w (write item), and e (end transaction), c (commit transaction), and a (abort transaction). Each operation will be followed by...
Sign in or Register to see more