2008 · 31 citations · 30 references
ComputingComputer ScienceCompilersOperating SystemsProgramming LanguagesCachingCaching StrategiesDatabase ManagementObject-oriented ProgrammingQuery OptimizationQuery ProcessingCache-aware Query OptimizationDatabase CachingIncremental Query ProcessingObject CachingObjectsQuery Performance OptimizationQuery Performance TuningRuntime Query Reoptimization
Many contemporary object-oriented programming languages support first-class queries or comprehensions. These language extensions make it easier for programmers to write queries, but are generally implemented no more efficiently than the code using collections, iterators, and loops that they replace. Crucially, whenever a query is re-executed, it is recomputed from scratch. We describe a general approach to optimising queries over mutable objects: query results are cached, and those caches are incrementally maintained whenever the collections and objects underlying those queries are updated. We hope that the performance benefits of our optimisations may encourage more general adoption of first-class queries by object-oriented programmers.
30
Maintaining views incrementally
Ashish Gupta, Inderpal Singh Mumick, V. S. Subrahmanian · 1993 · 658 citations
Erik Meijer, Brian Beckman, Gavin Bierman · 2006 · 369 citations
Shigeru Chiba · 1995 · 348 citations