| 1. |
When A Transaction Is Rolled Back Under Time Stamp Ordering, It Is Assigned A New Time Stamp. Why Can It Not Simply Keep Its Old Time Stamp? |
|
Answer» A transaction is rolled back because a newer transaction has read or written the data which it was supposed to WRITE. If the rolled back transaction is re-introduced with the same TIME stamp, the same reason for ROLLBACK is STILL VALID, and the transaction will have be rolled back again. This will continue indefinitely. A transaction is rolled back because a newer transaction has read or written the data which it was supposed to write. If the rolled back transaction is re-introduced with the same time stamp, the same reason for rollback is still valid, and the transaction will have be rolled back again. This will continue indefinitely. |
|