[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article

On-The-Fly Reading of Entire Databases

Published: 01 October 1995 Publication History

Abstract

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.

References

[1]
D. Agrawal and A. El Abbadi, “Locks with constrained sharing,” Proc. Ninth Symp. Principles of Database Systems, pp. 85-93, Nashville, Tenn., Apr. 1990.
[2]
D. Agrawal, A. El Abbadi, and A.E. Lang, “Performance characteristics of protocols with ordered shared locks,” Proc. Seventh Int’l Conf. Data Eng., pp. 592-601, Kobe, Japan, Apr. 1991.
[3]
R. Bayer, H. Heller, and A. Reiser, “Parallelism and recovery in database systems,” ACM Trans. Database Systems, vol. 5, no. 2, pp. 139-156, June 1980.
[4]
R. Bayer, “Consistency of transactions and random batch,” ACM Trans. Database Systems, vol. 11, no. 4, pp. 397-404, Dec. 1986.
[5]
P.A. Bernstein, V. Hadzilacos, and N. Goodman, Concurrency Control and Recovery in Database Systems. Reading, Mass.: Addison-Wesley, 1987.
[6]
K. Brahmadathan and K.V.S. Ramarao, “On the management of long-living transactions,” J. Systems and Software, vol. 11, no. 1, pp. 45-52, Jan. 1990.
[7]
K.P. Eswaran, J.N. Gray, R.A. Lorie, and I.L. Traiger, “The notions of consistency and predicate locks in a database system,” Comm. ACM, vol. 19, no. 11, pp. 624-633, Nov. 1976.
[8]
P. Mavuluri, “On the fly reading of entire databases,” master’s thesis, George Mason Univ., Jan. 1994.
[9]
C. Mohan, H. Pirahesh, and R. Lorie, “Efficient and flexible methods for transient versioning of records to avoid locking by read-only transactions,” Proc. ACM SIGMOD Int’l Conf. Management of Data, pp. 124-133, San Diego, Calif., June 1992.
[10]
C. Pu, “On-the-fly, incremental, consistent reading of entire databases,” Algorithmica, vol. 1, no. 3, pp. 271-287, Oct. 1986.
[11]
C. Pu, C.H. Hong, and J.M. Wha, “Performance evaluation of global reading of entire databases,” Proc. Int’l Symp. Databases in Parallel and Distributed Systems, pp. 167-176, Austin, Texas, Dec. 1988.
[12]
K. Salem, H. Garcia-Molina, and J. Shands, “Altruistic locking,” ACM Trans. Database Systems, vol. 19, no. 1, pp. 117-165, Mar. 1994.

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image IEEE Transactions on Knowledge and Data Engineering
IEEE Transactions on Knowledge and Data Engineering  Volume 7, Issue 5
October 1995
177 pages

Publisher

IEEE Educational Activities Department

United States

Publication History

Published: 01 October 1995

Author Tags

  1. Algorithms
  2. and transaction processing.
  3. concurrency control
  4. database management
  5. global reads
  6. locking
  7. long-lived transactions

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 30 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2010)On-line consistent backup in transactional file systemsProceedings of the first ACM asia-pacific workshop on Workshop on systems10.1145/1851276.1851285(37-42)Online publication date: 30-Aug-2010
  • (2009)Online reorganization of databasesACM Computing Surveys10.1145/1541880.154188141:3(1-136)Online publication date: 30-Jul-2009
  • (2006)On Consistent Reading of Entire DatabasesIEEE Transactions on Knowledge and Data Engineering10.5555/1128596.112876618:4(569-572)Online publication date: 1-Apr-2006
  • (2005)Synchronization and recovery in an embedded database system for read-only transactionsProceedings of the 2005 international conference on Embedded and Ubiquitous Computing10.5555/2113580.2113644(509-518)Online publication date: 6-Dec-2005
  • (2004)Using Lock-Based Checking Protocol for Efficient Data Broadcast in Mobile EnvironmentsProceedings of the 24th International Conference on Distributed Computing Systems Workshops - W7: EC (ICDCSW'04) - Volume 710.5555/977399.977894(484-489)Online publication date: 23-Mar-2004
  • (2004)Asynchronous Backup and Initialization of a Database Server for Replicated Database SystemsThe Journal of Supercomputing10.1023/A:102629882261327:1(69-89)Online publication date: 1-Jan-2004
  • (2002)Recovery from Malicious TransactionsIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2002.103378214:5(1167-1185)Online publication date: 1-Sep-2002
  • (2001)Parallel on-the-fly reading of an entire database copyPractical parallel computing10.5555/761889.761899(149-162)Online publication date: 1-Jan-2001
  • (2000)Rewriting HistoriesDistributed and Parallel Databases10.1023/A:10087312001058:1(7-40)Online publication date: 1-Jan-2000

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media