Use of graph-theoretic models for optimal relational database accesses to perform join
- 1 March 1985
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 10 (1) , 57-74
- https://doi.org/10.1145/3148.3325
Abstract
A graph model is presented to analyze the performance of a relational join. The amount of page reaccesses, the page access sequence, and the amount of buffer needed are represented in terms of graph parameters. By using the graph model formed from the index on the join attributes, we determine the relationships between these parameters. Two types of buffer allocation strategies are studied, and the upper bound on the buffer size with no page reaccess is given. This bound is shown to be the maximum cut value of a graph. Hence, the problem of computing this upper bound is NP-hard. We also give algorithms to determine a page access sequence requiring a near optimal buffer size with no page reaccess. The optimal page access sequence for a fixed buffer size has also been considered.Keywords
This publication has 6 references indexed in Scilit:
- A relational database machine architecturePublished by Association for Computing Machinery (ACM) ,1980
- Systolic (VLSI) arrays for relational database operationsPublished by Association for Computing Machinery (ACM) ,1980
- Implementing a relational database by means of specialzed hardwareACM Transactions on Database Systems, 1979
- Storage and access in relational data basesIBM Systems Journal, 1977
- Computing joins of relationsPublished by Association for Computing Machinery (ACM) ,1975
- Organization and maintenance of large ordered indexesActa Informatica, 1972