|
Discrete mathematics in relation to computer science
Testing dependencies and inference rules in databases
S. V. Zykin Sobolev institute of mathematics SB RAS, 4 Acad. Koptyug av., Novosibirsk 630090, Russia
Abstract:
The process of testing dependencies and inference rules can be used in two ways. First, testing allows verification hypotheses about unknown inference rules. The main goal, in this case, is to search for the relation - a counterexample that illustrates the feasibility of the initial dependencies and contradicts the consequence. The found counterexample refutes the hypothesis, the absence of a counterexample allows searching for a generalization of the rule and conditions for its feasibility (logically imply). Testing cannot be used as a proof of the feasibility of inference rules, since the process of generalization requires the search for universal inference conditions for each rule, which cannot be programmed, since even the form of these conditions is unknown. Secondly, when designing a particular database, it may be necessary to test the feasibility of a rule for which there is no theoretical justification. Such a situation can take place in the presence of anomalies in the superkey. The solution to this problem is based on using join dependency inference rules. For these dependencies, a complete system of rules (axioms) has not yet been found. This paper discusses: 1) a technique for testing inference rules using the example of join dependencies, 2) a scheme of a testing algorithm is proposed, 3) some hypotheses are considered for which there are no counterexamples and inference rules, 4) an example of using testing when searching for a correct decomposition of a superkey is proposed.
Keywords:
relational databases, join dependencies, inference rules, testing.
Received: 30.07.2022 Revised: 31.08.2022 Accepted: 02.09.2022
Citation:
S. V. Zykin, “Testing dependencies and inference rules in databases”, Model. Anal. Inform. Sist., 29:3 (2022), 210–227
Linking options:
https://www.mathnet.ru/eng/mais777 https://www.mathnet.ru/eng/mais/v29/i3/p210
|
Statistics & downloads: |
Abstract page: | 77 | Full-text PDF : | 22 | References: | 15 |
|