English

Approximate Keys and Functional Dependencies in Incomplete Databases With Limited Domains-Algorithmic Perspective

Databases 2024-02-09 v1

Abstract

A possible world of an incomplete database table is obtained by imputing values from the attributes (infinite) domain to the place of \texttt{NULL} s. A table satisfies a possible key or possible functional dependency constraint if there exists a possible world of the table that satisfies the given key or functional dependency constraint. A certain key or functional dependency is satisfied by a table if all of its possible worlds satisfy the constraint. Recently, an intermediate concept was introduced. A strongly possible key or functional dependency is satisfied by a table if there exists a strongly possible world that satisfies the key or functional dependency. A strongly possible world is obtained by imputing values from the active domain of the attributes, that is from the values appearing in the table. In the present paper, we study approximation measures of strongly possible keys and FDs. Measure g3g_3 is the ratio of the minimum number of tuples to be removed in order that the remaining table satisfies the constraint. We introduce a new measure g5g_5, the ratio of the minimum number of tuples to be added to the table so the result satisfies the constraint. g5g_5 is meaningful because the addition of tuples may extend the active domains. We prove that if g5g_5 can be defined for a table and a constraint, then the g3g_3 value is always an upper bound of the g5g_5 value. However, the two measures are independent of each other in the sense that for any rational number 0pq<10\le\frac{p}{q}<1 there are tables of an arbitrarily large number of rows and a constant number of columns that satisfy g3g5=pqg_3-g_5=\frac{p}{q}. A possible world is obtained usually by adding many new values not occurring in the table before. The measure g5g_5 measures the smallest possible distortion of the active domains. We study complexity of determining these approximate measures.

Keywords

Cite

@article{arxiv.2402.05161,
  title  = {Approximate Keys and Functional Dependencies in Incomplete Databases With Limited Domains-Algorithmic Perspective},
  author = {Munqath Al-atar and Attila Sali},
  journal= {arXiv preprint arXiv:2402.05161},
  year   = {2024}
}

Comments

arXiv admin note: substantial text overlap with arXiv:2402.05057

R2 v1 2026-06-28T14:42:05.778Z