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

1 Expert Approved Answer
Step: 1 Unlock

a Unlike centralized commit which can be instantaneous c... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Database System Concepts Questions!