Decomposition of SBQL Queries for Optimal Result Caching
The authors present a new approach to optimization of query languages using cached results of previously evaluated queries. It is based on the Stack-Based Approach (SBA) which assumes description of semantics in the form of abstract implementation of query/programming language constructs. Pragmatic universality of object-oriented query language SBQL and its precise, formal operational semantics make it possible to investigate various crucial issues related to this kind of optimization. There are two main issues concerning this topic - the first is strategy for fast retrieval and high reuse of cached queries, the second issue is development of fast methods to recognize and maintain consistency of query results after database updates.