Skip to main content
Log in

Context-based prefetch – an optimization for implementing objects on relations

  • Regular contribution
  • Published:
The VLDB Journal Aims and scope Submit manuscript

Abstract.

When implementing persistent objects on a relational database, a major performance issue is prefetching data to minimize the number of round-trips to the database. This is especially hard with navigational applications, since future accesses are unpredictable. We propose the use of the context in which an object is loaded as a predictor of future accesses, where a context can be a stored collection of relationships, a query result, or a complex object. When an object O's state is loaded, similar state for other objects in O's context is prefetched. We present a design for maintaining context and for using it to guide prefetch. We give performance measurements of its implementation in Microsoft Repository, showing up to a 70% reduction in running time. We describe several variations of the optimization: selectively applying the technique based on application and database characteristics, using application-supplied performance hints, using concurrent database queries to support asynchronous prefetch, prefetching across relationship paths, and delayed prefetch to save database round-trips.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received May 3, 2000 / Accepted October 26, 2000

Rights and permissions

Reprints and permissions

About this article

Cite this article

Bernstein, P., Pal, S. & Shutt, D. Context-based prefetch – an optimization for implementing objects on relations. The VLDB Journal 9, 177–189 (2000). https://doi.org/10.1007/s007780000027

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s007780000027

Navigation