Research Library · Idea
Relational model
The relational model is a way of describing stored data as relations, sets of n-tuples over named domains (columns), so that programs state what data they want and not how it is laid out in storage. E. F. Codd proposed it in "A Relational Model of Data for Large Shared Data Banks", Communications of the ACM 13(6), June 1970.1
Codd's stated aim was that users of large data banks be protected from having to know how data is organised in the machine. He named three dependencies of programs on representation in the systems of the day: ordering dependence, indexing dependence and access-path dependence, the last arising when data must be declared as a tree or network. A relation is a set, so rows have no inherent order and no duplicates. A primary key is a domain or combination of domains whose values uniquely identify each tuple. A foreign key is a domain whose values are values of the primary key of some relation. In current SQL a foreign key constraint can cover a group of columns.3 Codd's own "normal form" removes nonsimple domains, meaning relations nested inside relations, by copying parent keys into subordinate relations; the stronger normal forms used in teaching are later work.1
The paper also defines operations on relations such as projection and join, treats redundancy and consistency (a state is consistent if it satisfies a stated set of constraints), and describes the "connection trap", the error of assuming that following pointer paths yields the same result as relational composition.1 The paper states that implementations are not discussed. Hadley Wickham's tidy-data rules, one variable per column, one observation per row and one observational unit per table, are presented in his paper as Codd's third normal form recast in statistical language, an analogy and not a test of functional dependencies.2
The model is the basis of SQL databases and of most schema design for analytical data.
Source · A Relational Model of Data for Large Shared Data Banks (opens in a new tab) · E. F. Codd, Communications of the ACM 13(6), pp. 377-387, June 1970
References
- A Relational Model of Data for Large Shared Data Banks (opens in a new tab) · Communications of the ACM 13(6) · June 1, 1970 ↩ ↩ ↩
- Tidy Data (opens in a new tab) · Journal of Statistical Software 59(10) · August 1, 2014 ↩
- PostgreSQL documentation: Foreign Keys (opens in a new tab) · PostgreSQL Global Development Group ↩
Research articles
- Where the data lives, and what it gives away: a reader in data engineering from the relational model to differential privacy · Data science & statistics
See what connects to it on the map of ideas →

SecSIG