Question: Spanner provides read-only transactions a snapshot view of data, using multiversion two-phase locking. a. In the centralized multi-version 2PL scheme, read-only transactions never wait. But
Spanner provides read-only transactions a snapshot view of data, using multiversion two-phase locking.
a. In the centralized multi-version 2PL scheme, read-only transactions never wait. But in Spanner, reads may have to wait. Explain why.
b. Using an older timestamp for the snapshot can reduce waits, but has some drawbacks. Explain why, and what the drawbacks are.
Step by Step Solution
3.28 Rating (163 Votes )
There are 3 Steps involved in it
a Unlike centralized commit which can be instantaneous c... View full answer
Get step-by-step solutions from verified subject matter experts
