ACM Home Page
Please provide us with feedback. Feedback
An architecture for query optimization
Full text PdfPdf (1.11 MB)
Source International Conference on Management of Data archive
Proceedings of the 1982 ACM SIGMOD international conference on Management of data table of contents
Orlando, Florida
SESSION: Query optimization II table of contents
Pages: 246 - 255  
Year of Publication: 1982
ISBN:0-89791-073-7
Authors
Arnon Rosenthal  Sperry Research Center, Sudbury, Massachusetts
David Reiner  Sperry Research Center, Sudbury, Massachusetts
Sponsor
SIGMOD: ACM Special Interest Group on Management of Data
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 33,   Citation Count: 15
Additional Information:

abstract   references   cited by   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/582353.582401
What is a DOI?

ABSTRACT

We describe an optimizer for relational queries to databases stored as flat files and Codasyl networks. We include sophisticated manipulations on a broad range of direct access structures (DAS's). To achieve this with minimum additional code, we allow operations like sort, scan, and join to apply to DAS's, and categorize indexes and other DAS's in terms of the operations which can be performed on them. Our storage model, based on indivisible units of access and a small set of associated physical operators, provides a uniform interface to both relational and Codasyl storage mechanisms. The optimizer derives a sequence of internal data structures at successively more detailed levels. For a given query, a graph representing an overview of alternative joins is constructed, and then used to derive a physical graph which considers the physical attributes (location and sort order) of the data objects involved. Using cost predictions and other heuristics, the optimizer prunes the physical graph to produce a final access strategy tree. This layered approach and reliance on primitive operators make explicit (and permit changes to) the universe of possible strategies for the query at hand, and ease extension of the optimizer to new storage structures.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
{ASTR80} M. M. Astrahan, M. Schkolnick, W. Kim, "Performance of the System R Access Path Selection Mechanism", IFIP, 1980.
2
 
3
{BLAS76} M.W. Blasgen and K.P. Eswaran, "On the Evaluation of Queries in a Data Base System", IBM Research Report RJ 1945, IBM Research Laboratory, San Jose, California, April, 1976.
 
4
{BLAS77} M.W. Blasgen and K.P. Eswaran, "Storage and Access in Relational Data Bases", IBM Systems Journal, Vol. 16, No. 4, 1977.
 
5
{CHAM76} D.D. Chamberlin et al, "SEQUEL2: A Unified Approach to Data Definition, Manipulation, and Control", IBM Journal of Research and Development, Vol. 20, No. 6, Nov., 1976.
 
6
{CHAN81} A. Chan, S. Fox, K. Lin, D. Ries, "The Design of the ADAPLEX DBMS", Computer Corporation of America Technical Report, CCA-09-81.
 
7
8
 
9
{LORI79} R.A. Lorie, J.F. Nilsson, "An Access Specification Language for a Relational Database System", IBM Journal of Research and Development, Vol. 23, No. 3, May, 1979.
 
10
{MAKI81} A. Makinouchi, M. Tezuka, H. Kitakami, and S. Adachi, "The Optimization Strategy for Query Evaluation in RDB/V1", Proc. Seventh Int. Conf. on Very Large Databases, Cannes, France, Sept. 9--11, 1981.
 
11
{ROSE82} A. Rosenthal and D. Reiner, "Querying Relational Views of Networks", in preparation.
12
 
13
{WHAN81} K.-Y. Whang, G. Wiederhold, D. Sagalowicz, "Separability --- An Approach to Physical Database Design", Proc. Seventh Int. Conf. on Very Large Databases, Cannes, France, Sept. 9--11, 1981.
14
15
16

CITED BY  15
Collaborative Colleagues:
Arnon Rosenthal: colleagues
David Reiner: colleagues