arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Computer Networks and Communications

Abstract On-the-Fly, Incremental, Consistent Reading of Entire Databases

See on the map

Abstract

We describe an algorithm to read entire databases with locking concurrency control allowing multiple readers or an exclusive writer. The algorithm runs concurrently with the normal transaction processing (on-the-fly), and locks the en-tities in the database one by one (incremental). We prove the algorithm produces consistent pictures of the database. We also show that the algorithm aborts a minimal number of updates in the class of on-the-fly, incremental, consistent algorithms. On-the-fly, incremental algorithms to read entire data-bases consistently can improve system availability and reli-ability. Most existing systems either require the transaction processing to stop, or produce potentially inconsistent re-sults. Our algorithm does not change the database physical design, so it can be adapted to existing systems by expand-ing their lock table. Finally, we extend the algorithm in a straightforward way to read entire distributed databases. 1

More like this