Semantic Data Caching and Replacement

Shaul Dar, Michael J. Franklin, Björn Þór Jónsson, Divesh Srivastava, Michael Tan

1996 · 502 citations · 13 references

Concepts

TL;DR

The caching model builds on three key ideas that provide its advantages. The study proposes a semantic client‑side caching model and compares it to page and tuple caching. The mechanism uses a semantic description of cached data to generate remainder queries, adaptively tracks usage for semantic regions, applies advanced value functions beyond simple LRU/MRU, and is evaluated through a detailed performance study on standard and mobile navigation workloads. The approach reduces tuple caching overheads and remains robust to poor clustering, unlike page caching.

Abstract

We propose a semantic model for client-side caching and replacement in a client-server database system and compare this approach to page caching and tuple caching strategies. Our caching model is based on, and derives its advantages from, three key ideas. First, the client maintains a semantic description of the data in its cache,which allows for a compact specification, as a remainder query, of the tuples needed to answer a query that are not available in the cache. Second, usage information for replacement policies is maintained in an adaptive fashion for semantic regions, which are associated with collections of tuples. This avoids the high overheads of tuple caching and, unlike page caching, is insensitive to bad clustering. Third, maintaining a semantic description of cached data enables the use of sophisticated value functions that incorporate semantic notions of locality, not just LRU or MRU, for cache replacement. We validate these ideas with a detailed performance study that includes traditional workloads as well as a workload motivated by a mobile navigation application.

References

13