Quantifying the Loss of Acyclic Join Dependencies

10/26/2022
by   Batya Kenig, et al.
0

Acyclic schemas possess known benefits for database design, speeding up queries, and reducing space requirements. An acyclic join dependency (AJD) is lossless with respect to a universal relation if joining the projections associated with the schema results in the original universal relation. An intuitive and standard measure of loss entailed by an AJD is the number of redundant tuples generated by the acyclic join. Recent work has shown that the loss of an AJD can also be characterized by an information-theoretic measure. Motivated by the problem of automatically fitting an acyclic schema to a universal relation, we investigate the connection between these two characterizations of loss. We first show that the loss of an AJD is captured using the notion of KL-Divergence. We then show that the KL-divergence can be used to bound the number of redundant tuples. We prove a deterministic lower bound on the percentage of redundant tuples. For an upper bound, we propose a random database model, and establish a bound that holds in expectation over a random choice of relation, which coincides with the lower bound for large relation instances.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset