Authors: Carlos Ordonez, Javier García-García
Tags: 2007, conceptual modeling
Referential integrity is an essential global constraint in a relational database, that maintains it in a complete and consistent state. In this work, we assume the database may violate referential integrity and relations may be denormalized. We propose a set of quality metrics, defined at four granularity levels: database, relation, attribute and value, that measure referential completeness and consistency. Quality metrics are efficiently computed with standard SQL queries, that incorporate two query optimizations: left outer joins on foreign keys and early foreign key grouping. Experiments evaluate our proposed metrics and SQL query optimizations on real and synthetic databases, showing they can help in detecting and explaining referential errors
Read the full paper here: https://pdf.sciencedirectassets.com/271653/1-s2.0-S0167923607X0174X/1-s2.0-S0167923607000887/main.pdf?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEIP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJIMEYCIQCMsQPFg6SZhTTv9HKY7NVjc5q8a2HayYi3BLxszJm%2BqAIhANgouzigKzSPJN8FelVv8PTl25EMB0ZkMNsJJYKAjgt0KrQDCHsQAxoMMDU5MDAzNTQ2ODY1IgxK9PSRbZwpPCzijskqkQM0fLoLverVzPGvgqnDMeyZI8biZ9bID0TH2sB84sUpfxH2pcadMljEqPXH2sOx6EuEuoo00lbxLVt3JME76I15dY6QkLpL7NOzsm0yFugOwyqyOKXsXKj1M9%2B4vxRE7KftomK11QkEVSAOj%2Ba3oyIiRPimoxfZ%2BK3m6TIKZUFKQcEb%2Bc4UNiMcTynCdqcypdYtzti%2FX3wlZu%2Fa5LU9A10XCDbB%2Bx7S8%2FyLGRBDYwkKgBg7EF%2FK2swBdqxxqLRuLd9OK%2Fp9QiWyLq3OVEDpGjmZgx4RKwtkUfUUwPYbBimDGVIxA%2FKZO1aHS03NkTjh6AatRy0fUBbP1EaVjLfT7GrGLqE6zb%2Bh7gvuw9fFSRYzq04Snuv%2BP%2BAJx%2B2T7cAdVg7A576ummZuUO16eRfPBRISRfrZcxpcVmXvOUfMgF9O%2BmHS1yOOtelvWSPG8nhvN7hV9uUfC6cIO8B7pG90qceG3uj%2FdKNuhn9JMvvMbKc8YLtdUHV81gs%2Bd02%2F86zvBOG%2FOtsNR1P20o%2Fz6oUTXq9zbjCmn7r6BTrqASMI2%2F42BMpAI50mIuFYHfVDLWwmtRLSgNLRQubmANeelxc%2B4Pviy5fbkp1amauo%2F45jMvD9UDIxzk5F4EjsqCHDPRNZBFaUmF0zn3Nz7S5z6faJAoTGAmzxj2%2BsqthK%2FzLnpaWPoASif3qNytDMQ5TY6mE2XC2m64KWjU4paYOU0t55CFWe%2BgV2LeyC1N%2FqpIa%2B7GQuhms8yHwN3l62kNTU5VgUzK0GDJmcyugOMugjlTO%2FsjssDYgfJFhb2nQI3PZGfYy%2FQx1jHzu73Qn6rkUZUVRIvZnDLBANdTll%2B7ezuQ%2F5lxkEjXQNbA%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20200901T191255Z&X-Amz-SignedHeaders=host&X-Amz-Expires=300&X-Amz-Credential=ASIAQ3PHCVTY723TL7EG%2F20200901%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=26a21fb6c11b7f7022388312bafbb8d59be337452a8043439490a7e1d565e4b7&hash=6610ac03e91eb14d160e2931c56d8cdebdda144012c0244bc0354dc05cfe5bbe&host=68042c943591013ac2b2430a89b270f6af2c76d8dfd086a07176afe7c76c2c61&pii=S0167923607000887&tid=spdf-7c02bb27-0cdf-43a1-ab02-18e5c66196c3&sid=5197408c7fd491488449d4c875e97cc5949bgxrqa&type=client