The Community for Technology Leaders
RSS Icon
Subscribe
Issue No.01 - January/February (2001 vol.13)
pp: 21-49
ABSTRACT
<p><b>Abstract</b>—Most real-world databases contain substantial amounts of time-referenced, or temporal, data. Recent advances in temporal query languages show that such database applications may benefit substantially from built-in temporal support in the DBMS. To achieve this, temporal query representation, optimization, and processing mechanisms must be provided. This paper presents a foundation for query optimization that integrates conventional and temporal query optimization and is suitable for both conventional DBMS architectures and ones where the temporal support is obtained via a layer on top of a conventional DBMS. This foundation captures duplicates and ordering for all queries, as well as coalescing for temporal queries, thus generalizing all existing approaches known to the authors. It includes a temporally extended relational algebra to which SQL and temporal SQL queries may be mapped, six types of algebraic equivalences, concrete query transformation rules that obey different equivalences, a procedure for determining which types of transformation rules are applicable for optimizing a query, and a query plan enumeration algorithm. The presented approach partitions the work required by the database implementor to develop a provably correct query optimizer into four stages: The database implementor has to 1) specify operations formally, 2) design and prove correct appropriate transformation rules that satisfy any of the six equivalence types, 3) augment the mechanism that determines when the different types of rules are applicable to ensure that the enumeration algorithm applies the rules correctly, and 4) ensure that the mapping generates a correct initial query plan.</p>
INDEX TERMS
Temporal databases, query optimization, transformation rules, temporal algebra, duplicate elimination, coalescing.
CITATION
Giedrius Slivinskas, Christian S. Jensen, Richard T. Snodgrass, "A Foundation for Conventional and Temporal Query Optimization Addressing Duplicates and Ordering", IEEE Transactions on Knowledge & Data Engineering, vol.13, no. 1, pp. 21-49, January/February 2001, doi:10.1109/69.908979
30 ms
(Ver 2.0)

Marketing Automation Platform Marketing Automation Tool