Title :
Constraint-based query evaluation in deductive databases
Author_Institution :
Sch. of Comput. Sci., Simon Fraser Univ., Burnaby, BC, Canada
fDate :
2/1/1994 12:00:00 AM
Abstract :
Constraints play an important role in the efficient query evaluation in deductive databases. Constraint-based query evaluation in deductive databases is investigated, with emphasis on linear recursions with function symbols. Constraints are grouped into three classes: rule constraints, integrity constraints, and query constraints. Techniques are developed for the maximal use of different kinds of constraints in rule compilation and query evaluation. The study on the roles of different classes of constraints in set-oriented evaluation of linear recursions shows the following: rule constraints should be integrated with their corresponding deduction rules in the compilation of recursions; integrity constraints, including finiteness constraints and monotonicity constraints, should be used in the analysis of finite evaluability and termination for specific queries; and query constraints, which are often useful in search space reduction and termination, should be transformed, when necessary, and should be pushed into the compiled chains as deeply as possible for efficient evaluation. The constraint-based query-processing technique integrates query-independent compilation and chain-based query evaluation methods and demonstrates its great promise in deductive query evaluation
Keywords :
constraint handling; data integrity; deductive databases; knowledge based systems; program compilers; query processing; chain-based query evaluation methods; compiled chains; constraint-based query evaluation; deduction rules; deductive databases; finite evaluability; finiteness constraints; function symbols; integrity constraints; linear recursions; monotonicity constraints; query constraints; query-independent compilation; rule compilation; rule constraints; search space reduction; set-oriented evaluation; Artificial intelligence; Constraint optimization; Councils; Deductive databases; Information retrieval; Logic programming; Performance evaluation; Query processing; Relational databases;
Journal_Title :
Knowledge and Data Engineering, IEEE Transactions on