Hasso-Plattner-Institut
Prof. Dr. Felix Naumann
  
 

11.06.2019

Paper Accepted by Journal of Intelligent Information Systems

We are happy to announce that our paper "Holistic Primary Key and Foreign Key Detection" has been accepted by Journal of Intelligent Information Systems (JIIS).

Authors: Lan Jiang, Felix Naumann

Abstract: Primary keys (PKs) and foreign keys (FKs) are important elements of relational schemata in various applications, such as query optimization and data integration. However, in many cases, these constraints are unknown or not documented. Detecting them manually is time-consuming and even infeasible in large-scale datasets. We study the problem of discovering primary keys and foreign keys automatically and propose an algorithm to detect both, namely Holistic Primary Key and Foreign Key Detection (HoPF).

PKs and FKs are subsets of the sets of unique column combinations (UCCs) and inclusion dependencies (INDs), respectively, for which efficient discovery algorithms are known. Using score functions, our approach is able to effectively extract the true PKs and FKs from the vast sets of valid UCCs and INDs. Several pruning rules are employed to speed up the procedure. We evaluate precision and recall on three benchmarks and two real-world datasets. The results show that our method is able to retrieve on average 88% of all primary keys, and 91% of all foreign keys. We compare the performance of \algor with two baseline approaches that both assume the existence of primary keys.