On-the-fly reading of entire databases
- Already Purchased? View Article
- Subscription Options Learn More
A common database need is to obtain a global-read, which is a consistent read of an entire database. To avoid terminating normal system activity, and thus improve availability, we propose an on-the-fly algorithm that reads database entities incrementally and allows normal transactions to proceed concurrently. The algorithm assigns each entity a color based on whether the entity has been globally read, and a shade based on how normal transactions have accessed the entity. Serializability of execution histories is ensured by requiring normal transactions to pass both a color test and a shade test before being allowed to commit. Our algorithm improves on a color-only-based scheme from the literature; the color-only scheme does not guarantee serializability
Published in:
Knowledge and Data Engineering, IEEE Transactions on
(Volume:7
,
Issue:
5
)
Date of Publication: Oct 1995