arrow
Return

SQL schema design: foundations, normal forms, and normalization

delete2018-07-01
delete30
delete
OA
AI
H
Henning Köhler
S
Sebastian Link *
DOI:10.1016/j.is.2018.04.001delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Normalization helps us find a database schema at design time that can process the most frequent updates efficiently at run time. Unfortunately, relational normalization only works for idealized database instances in which duplicates and null markers are not present. On one hand, these features occur frequently in real-world data compliant with the industry standard SQL, and especially in modern application domains. On the other hand, the features impose challenges that make it difficult to extend the existing forty year old normalization framework to SQL, and any current extensions are fairly limited. We introduce a new class of functional dependencies and show that they provide the right notion for SQL schema design. Axiomatic and linear-time algorithmic characterizations of the associated implication problem are established. These foundations enable us to propose a Boyce-Codd normal form for SQL. We justify the normal form by showing that it permits precisely those SQL instances which are free from data redundancy. Unlike the relational case, there are SQL schemata that cannot be converted into Boyce-Codd normal form. Nevertheless, for an expressive sub-class of our functional dependencies we establish a normalization algorithm that always produces a schema in Value-Redundancy free normal form. This normal form permits precisely those instances which are free from any redundant data value occurrences other than the null marker. Experiments show that our functional dependencies occur frequently in real-world data and that they are effective in eliminating redundant values from these data sets without loss of information. (C) 2018 Elsevier Ltd. All rights reserved.
Keywords:
Axioms
Armstrong database
Boyce-Codd normal form
Database schema design
Data redundancy
Functional dependency
Normalization
Reasoning
Update anomaly
errShare
errSave
Cardinality constraints and functional dependencies in SQL: Taming data redundancy in logical database design
err2023-05-01
err3
PREAI
errLink, Sebastian; Koehler, Henning; Gandhi, Aniruddh; Hartmann, Sven; Thalheim, Bernhard
errShare
errSave
errShare
errSave
errShare
errSave
errShare
errSave

Journal

Enterprise Information Systems cover
Enterprise Information Systems
IF:
3.9
Papers:
2.9K
Citations:
2.8K

Organization

M
Massey University
Scholars:
383
Papers: 200
Citations: 4.7K
U
university of auckland
Scholars:
1.3K
Papers: 568
Citations: 1.7W
Cited Papers

Cited Papers

errShare
errSave
errShare
errSave
Effects of a blend of essential oils, chitosan or monensin on nutrient intake and digestibility of lactating dairy cows
err2016-04-01
err0
PREAI
errT.H.A. Vendramini; C.S. Takiya; T.H. Silva; F. Zanferari; M.F. Rentas; J.C. Bertoni; C.E.C. Consentini; R. Gardinal; T.S. Acedo; F.P. Rennó
errShare
errSave
Specific Features of Material Recognition by the Multi-Energy X-Ray Method
err2019-06-24
err0
errOAAI
errS. P. Osipov; E. Yu. Usachev; S. V. Chakhlov; S. A. Shchetinkin; O. S. Osipov
errShare
errSave
errShare
errSave
Estimation of aneuploidy levels for 8, 15, 18, X and Y chromosomes in 97 human sperm samples using fluorescence in situ hybridization
err1997-06-01
err0
errOAAI
errFrédéric Morel; Sylvie Mercier; Christophe Roux; Marie Claire Clavequin; Jean-Luc Bresson
errShare
errSave
researcher View more