A Rule-Based Approach to Analyzing Database Schema Objects with Datalog
Christiane Engels, Andreas Behrend, Stefan Brass

TL;DR
This paper presents a rule-based method using Datalog to analyze database schema dependencies, enabling systematic determination of properties like functional dependencies, which are crucial for data integration and query optimization.
Contribution
The paper introduces a novel Datalog-based framework for analyzing schema object dependencies, including functional dependencies, with comprehensive coverage of relational operators and recursion.
Findings
Systematic analysis of schema dependencies using Datalog.
Coverage of all relational operators and recursive expressions.
Effective computation of induced functional dependencies.
Abstract
Database schema elements such as tables, views, triggers and functions are typically defined with many interrelationships. In order to support database users in understanding a given schema, a rule-based approach for analyzing the respective dependencies is proposed using Datalog expressions. We show that many interesting properties of schema elements can be systematically determined this way. The expressiveness of the proposed analysis is exemplarily shown with the problem of computing induced functional dependencies for derived relations. The propagation of functional dependencies plays an important role in data integration and query optimization but represents an undecidable problem in general. And yet, our rule-based analysis covers all relational operators as well as linear recursive expressions in a systematic way showing the depth of analysis possible by our proposal. The…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
