Order dependency in the relational model
Most relational theory ignores the structure of the domains over which attributes range. In this study, the authors consider partial and total orders on domains and then analyze the data dependencies that are then expressible, which are called order dependencies. Order dependencies formalize properties of data such as check numbers increase with time or if student 1 does better than student 2 on the final exam, and all other scores are equal, then student 1's grade is no lower than that of student 2. The first section concentrates on satisfaction of order dependencies by pairs of tuples and by relations, and characterizes when a set of order dependencies can be satisfied by a non-empty relation. Section 2 introduces comparators, similar to agreements for functional dependency, that abstract the essential properties of a pair of tuples as regards a particular order dependency. The collection of comparators for a set of order dependencies \(\Gamma\), denoted \({\mathcal C}(\Gamma)\), captures all the information about satisfaction of \(\Gamma\), while being unaffected by changes to \(\Gamma\) that preserve logical equivalence. Comparators are used to show the existence of a set of dependencies \(\Gamma\) that has no Armstrong relation (a relation satisfying \(\Gamma\) and all implied dependencies, but no others) and to give sufficient conditions for an Armstrong relation to exist. Section 3 casts order dependencies as order formulas, which resemble propositional formulas. Converting an order formula for a set of dependencies \(\Gamma\) to a normal form, and adjoining information about attribute orders yields an order formula \(\Omega\) in disjunctive normal form. \(\Omega\) provides a syntactic characterization of \({\mathcal C}(\Gamma)\), which is used in an exponential-time algorithm to compute implication of order dependencies. Complexity results in section 5 show the problem is co-NP-complete, so the complexity of the algorithm is probably optimal. The authors give a polynomial-time version of the algorithm for a restricted class of order dependencies. Section 4 presents a sound and complete collection of inference rules for order dependencies. The proof of completeness is rather creative, although complex. The proof links deductions using the inference rules with derivations in a particular context-free grammar. The language generates a terminal string whenever a logical implication holds, and the existence of the string shows the implication is derivable with the inference rules.
- A relational model of data for large shared data banks
- An Equivalence Between Relational Database Dependencies and a Fragment of Propositional Logic
- Calculating constraints on relational expression
- Characterizations for functional dependency and Boyce-Codd normal form families
- Equivalences among Relational Expressions
- Functional Dependencies in a Relational Database and Propositional Logic
- Horn clauses and database dependencies
- scientific article; zbMATH DE number 3648167 (Why is no real title available?)
- scientific article; zbMATH DE number 42986 (Why is no real title available?)
- scientific article; zbMATH DE number 3464827 (Why is no real title available?)
- scientific article; zbMATH DE number 3639144 (Why is no real title available?)
- scientific article; zbMATH DE number 3639163 (Why is no real title available?)
- scientific article; zbMATH DE number 3293666 (Why is no real title available?)
- Multidimensional binary search trees used for associative searching
- On the family of generalized dependency constraints
- Properties of functional-dependency families
- Non-finite specifiability of projections of functional dependency families
- Valuations in incomplete information databases
- Constraint-generating dependencies
- Ordered functional dependencies in relational databases
- scientific article; zbMATH DE number 3883650 (Why is no real title available?)
- An extension of the relational data model to incorporate ordered domains
- scientific article; zbMATH DE number 5761705 (Why is no real title available?)
- scientific article; zbMATH DE number 3958772 (Why is no real title available?)
- scientific article; zbMATH DE number 3958773 (Why is no real title available?)
- scientific article; zbMATH DE number 4002152 (Why is no real title available?)
- Sort order problems in relational databases
- scientific article; zbMATH DE number 975710 (Why is no real title available?)
- Relational Databases with Ordered Relations
- Decision problems of object histories
This page was built for publication: Order dependency in the relational model
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q1069711)