Testing dependencies and inference rules in databases
Modelirovanie i analiz informacionnyh sistem, Tome 29 (2022) no. 3, pp. 210-227.

Voir la notice de l'article provenant de la source Math-Net.Ru

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.
@article{MAIS_2022_29_3_a4,
     author = {S. V. Zykin},
     title = {Testing dependencies and inference rules in databases},
     journal = {Modelirovanie i analiz informacionnyh sistem},
     pages = {210--227},
     publisher = {mathdoc},
     volume = {29},
     number = {3},
     year = {2022},
     language = {ru},
     url = {http://geodesic.mathdoc.fr/item/MAIS_2022_29_3_a4/}
}
TY  - JOUR
AU  - S. V. Zykin
TI  - Testing dependencies and inference rules in databases
JO  - Modelirovanie i analiz informacionnyh sistem
PY  - 2022
SP  - 210
EP  - 227
VL  - 29
IS  - 3
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/MAIS_2022_29_3_a4/
LA  - ru
ID  - MAIS_2022_29_3_a4
ER  - 
%0 Journal Article
%A S. V. Zykin
%T Testing dependencies and inference rules in databases
%J Modelirovanie i analiz informacionnyh sistem
%D 2022
%P 210-227
%V 29
%N 3
%I mathdoc
%U http://geodesic.mathdoc.fr/item/MAIS_2022_29_3_a4/
%G ru
%F MAIS_2022_29_3_a4
S. V. Zykin. Testing dependencies and inference rules in databases. Modelirovanie i analiz informacionnyh sistem, Tome 29 (2022) no. 3, pp. 210-227. http://geodesic.mathdoc.fr/item/MAIS_2022_29_3_a4/

[1] J. Ullman, Principles of Database Systems, Stanford University - Computer Science Press, 1980 | MR

[2] D. Maier, The Theory of Relational Databases, Computer Science Press, Rockville, 1983 | MR | Zbl

[3] S. Abiteboul, R. Hull, and V. Vianu, Foundations of Databases: The Logical Level, 1st. ed., Addison-Wesley Longman Publishing Co, 1995

[4] M. Casanova, R. Fagin, and C. Papadimitriou, “Inclusion dependencies and their interaction with functional dependencies”, Journal of Computer and System Sciences, 28:1 (1984), 29–59 | DOI | MR | Zbl

[5] H. Köhler and S. Link, “Inclusion dependencies reloaded”, The 24th ACM International on Conference on Information and Knowledge Management (CIKM '15), 2015, 1361–1370 | DOI

[6] V. S. Zykin and S. V. Zykin, “Analysis of Typed Inclusion Dependences with Null Values”, Automatic Control and Computer Sciences, 52:7 (2018), 638–646 | DOI | MR

[7] E. Sciore, “A Complete Axiomatization of Full Join Dependencies”, Journal of the ACM, 29:2 (1982), 373–393 | DOI | Zbl

[8] S. V. Zykin, “Generalization of Derivation Rules for Join Dependencies in Database”, Automatic Control and Computer Sciences, 55:7 (2021), 731–737 | DOI

[9] D. Maier, A. O. Mendelzon, and Y. Sagiv, “Testing implications of data dependencies”, ACM Transactions on Database Systems, 4:4 (1979), 455–469 | DOI

[10] D. Maier, Y. Sagiv, and M. Yannakakis, “On the Complexity of Testing Implications of Functional and Join Dependencies”, Journal of the ACM, 28:4 (1981), 680–695 | DOI | MR | Zbl

[11] P. C. Fischer and D. M. Tsou, “Whether a set of multivalued dependencies implies a join dependency is NP-hard”, SIAM Journal on Computing, 12:2 (1983), 259–266 | DOI | MR | Zbl

[12] C. Beeri and M. Vardi, “Formal Systems for Tuple and Equality Generating Dependencies”, SIAM Journal on Computing, 13:1 (1984), 76–98 | DOI | MR | Zbl

[13] C. Beeri and M. Vardi, “A Proof Procedure for Data Dependencies”, Journal of the ACM, 31:4 (1984), 718–741 | DOI | MR | Zbl

[14] M. Gyssens, “On the complexity of join dependencies”, ACM Transactions on Database Systems, 11:1 (1986), 81–108 | DOI | MR | Zbl

[15] S. Bell and P. Brockhausen, Discovery of Data Dependencies in Relational Databases, University of Dortmund, 1995 | DOI

[16] J. Kivinen and H. Mannila, “Approximate inference of functional dependencies from relations”, Theoretical Computer Science, 149:1 (1995), 129–149 | DOI | MR | Zbl

[17] M. W. Vincent and M. Levene, “Restructuring Partitioned Normal Form Relations without Information Loss”, SIAM Journal on Computing, 29:5 (2000), 1550–1567 | DOI | MR | Zbl

[18] S. V. Zykin, “Formation of Hypercube Representation of Relational Database”, Programming and Computer Software, 32:6 (2006), 348–354 | DOI | Zbl

[19] S. Hartmann, S. Link, and T. Trinh, “Constraint Acquisition You Can Chase but You Cannot Find”, Conferences in Research and Practice in Information Technology Series, 79, 2008, 59–68

[20] F. Marchi, S. Lopes, and J. M. Petit, “Unary and n-ary inclusion dependency discovery in relational databases”, Journal of Intelligent Information Systems, 32 (2009), 53–73 | DOI

[21] X. Hu, M. Qiao, and Y. Tao, “I/O-efficient join dependency testing, Loomis Whitney join, and triangle enumeration”, Journal of Computer and System Sciences, 82:8 (2016), 1300–1315 | DOI | MR | Zbl

[22] F. M. Malvestuto, “A complete axiomatization of full acyclic join dependencies”, Information Processing Letters, 68:3 (1998), 133–139 | DOI | MR | Zbl