Toward Practical Query Evaluation for Constraint Databases

被引:8
作者
Alexander Brodsky
Joxan Jaffar
Michael J. Maher
机构
[1] George Mason University,Dept. of Information and Software Systems Engineering
[2] National University of Singapore,Dept. of Information Systems and Computer Science
[3] Griffith University,School of Computing and Information Technology
关键词
constraint programming; databases; database optimization; linear programming;
D O I
10.1023/A:1009795512753
中图分类号
学科分类号
摘要
Linear constraint databases (LCDBs) extend relational databases to include linear arithmetic constraints in both relations and queries. A LCDB can also be viewed as a powerful extension of linear programming (LP) where the system of constraints is generalized to a database containing constraints and the objective function is generalized to a relational query containing constraints. Our major concern is query optimization in LCDBs. Traditional database approaches are not adequate for combination with LP technology. Instead, we propose a new query optimization approach, based on statistical estimations and iterated trials of potentially better evaluation plans. The resulting algorithms are not only effective on LCDBs, but also applicable to existing query languages. A number of specific constraint algebra algorithms are also developed: select-project-join for two relations, constraint sort-join and constraint multi-join.
引用
收藏
页码:279 / 304
页数:25
相关论文
共 34 条
  • [1] Astrahan M.M.(1976)System R: A Relational Approach to Database Management ACM Trans. on Database Systems 1 97-137
  • [2] Bernstein P.A.(1981)The Power of Natural Semijoins SIAM Journal on Computing 10 751-771
  • [3] Goodman N.(1981)Support for Repetitive Transactions and Adhoc Queries in System R ACM Trans. on Database Systems 6 70-94
  • [4] Chamberlin D.D.(1983)A new approach to rectangle intersections, Part II International Journal of Computer Mathematics 13 221-229
  • [5] Edelsbrunner H.(1996)Constraint query algebras Constraints 1 45-83
  • [6] Goldin D.Q.(1976)Optimization of a Single Relational Expression in a Relational Database IBM Journal of Research and Development 20 244-257
  • [7] Kanellakis P.C.(1989)Integrating Relational Databases and Constraint Languages Computer Languages 14 63-82
  • [8] Hall P.A.V.(1994)Constraint Logic Programming: A Survey Journal of Logic Programming 19&20 503-581
  • [9] Hansen M.R.(1992)The CLP( R ) Language and System ACMTransactions on Programming Languages 14 339-395
  • [10] Hansen B.S.(1993)Projecting CLP( < ) Constraints New Generation Computing 11 449-469