Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
Context-based prefetch --- an optimization for implementing objects on relations - MaRDI portal

Context-based prefetch --- an optimization for implementing objects on relations (Q1606837)

From MaRDI portal





scientific article; zbMATH DE number 1771592
Language Label Description Also known as
English
Context-based prefetch --- an optimization for implementing objects on relations
scientific article; zbMATH DE number 1771592

    Statements

    Context-based prefetch --- an optimization for implementing objects on relations (English)
    0 references
    0 references
    0 references
    0 references
    25 July 2002
    0 references
    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.
    0 references

    Identifiers