Query processing techniques in the summary-table-by-example database query language
- 1 December 1989
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 14 (4) , 526-573
- https://doi.org/10.1145/76902.76906
Abstract
Summary-Table-by-Example (STBE) is a graphical language suitable for statistical database applications. STBE queries have a hierarchical subquery structure and manipulate summary tables and relations with set-valued attributes.The hierarchical arrangement of STBE queries naturally implies a tuple-by-tuple subquery evaluation strategy (similar to the nested loops join implementation technique) which may not be the best query processing strategy. In this paper we discuss the query processing techniques used in STBE. We first convert an STBE query into an “extended” relational algebra (ERA) expression. Two transformations are introduced to remove the hierarchical arrangement of subqueries so that query optimization is possible. To solve the “empty partition” problem of aggregate function evaluation, directional join (one-sided outer-join) is utilized. We give the algebraic properties of the ERA operators to obtain an “improved” ERA expression. Finally we briefly discuss the generation of alternative implementations of a given ERA expression.STBE is implemented in a prototype statistical database management system. We discuss the STBE-related features of the implemented system.Keywords
This publication has 14 references indexed in Scilit:
- A relational calculus with set operators, its safety, and equivalent graphical languagesIEEE Transactions on Software Engineering, 1989
- Extending relational algebra and relational calculus with set-valued attributes and aggregate functionsACM Transactions on Database Systems, 1987
- Safety and correct translation of relational calculus formulasPublished by Association for Computing Machinery (ACM) ,1987
- A language and a physical organization technique for summary tablesPublished by Association for Computing Machinery (ACM) ,1985
- A Query Language for Statistical DatabasesPublished by Springer Nature ,1985
- On optimizing an SQL-like nested queryACM Transactions on Database Systems, 1982
- Equivalence of Relational Algebra and Relational Calculus Query Languages Having Aggregate FunctionsJournal of the ACM, 1982
- Access paths in the "Abe" statistical query facilityPublished by Association for Computing Machinery (ACM) ,1982
- Extending the database relational model to capture more meaningACM Transactions on Database Systems, 1979
- Access path selection in a relational database management systemPublished by Association for Computing Machinery (ACM) ,1979