Query processing in a system for distributed databases (SDD-1)
- 1 December 1981
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 6 (4), 602-625
- https://doi.org/10.1145/319628.319650
Abstract
This paper describes the techniques used to optimize relational queries in the SDD-1 distributed database system. Queries are submitted to SDD-1 in a high-level procedural language called Datalanguage. Optimization begins by translating each Datalanguage query into a relational calculus form called an envelope , which is essentially an aggregate-free QUEL query. This paper is primarily concerned with the optimization of envelopes. Envelopes are processed in two phases. The first phase executes relational operations at various sites of the distributed database in order to delimit a subset of the database that contains all data relevant to the envelope. This subset is called a reduction of the database. The second phase transmits the reduction to one designated site, and the query is executed locally at that site. The critical optimization problem is to perform the reduction phase efficiently. Success depends on designing a good repertoire of operators to use during this phase, and an effective algorithm for deciding which of these operators to use in processing a given envelope against a given database. The principal reduction operator that we employ is called a semijoin . In this paper we define the semijoin operator, explain why semijoin is an effective reduction operator, and present an algorithm that constructs a cost-effective program of semijoins, given an envelope and a database.Keywords
This publication has 17 references indexed in Scilit:
- Tree queriesACM Transactions on Database Systems, 1982
- Power of Natural SemijoinsSIAM Journal on Computing, 1981
- Using Semi-Joins to Solve Relational QueriesJournal of the ACM, 1981
- Reliability mechanisms for SDD-1ACM Transactions on Database Systems, 1980
- Concurrency control in a system for distributed databases (SDD-1)ACM Transactions on Database Systems, 1980
- Introduction to a system for distributed databases (SDD-1)ACM Transactions on Database Systems, 1980
- The correctness of concurrency control mechanisms in a system for distributed databases (SDD-1)ACM Transactions on Database Systems, 1980
- Implementing a relational database by means of specialzed hardwareACM Transactions on Database Systems, 1979
- Performance evaluation of a relational associative processorACM Transactions on Database Systems, 1977
- Properties of a Model for Parallel Computations: Determinacy, Termination, QueueingSIAM Journal on Applied Mathematics, 1966