Skip to content

Relational database

Also called: relational databases, relational model, RDBMS, relational database management system

Published:

Where did the relational model come from?

It goes back to Edgar F. Codd, a mathematician at IBM's San Jose Research Lab. His 1970 paper, "A Relational Model of Data for Large Shared Data Banks," set out a way for users to reach information without knowing how the database was physically laid out [1]. Don Chamberlin, quoted by IBM, sums up the core idea: relationships between data items should be based on the items' values [1]. The System R project, started in 1973, built an industrial-strength implementation and led to IBM products including DB2 [1].

How are tables organised?

The PostgreSQL documentation explains that a relational database management system stores data in relations, which are essentially tables. A table is a named collection of rows, every row has the same set of named columns, and each column has a specific data type [2]. Columns have a fixed order, but SQL does not guarantee the order in which rows come back, so any ordering has to be requested explicitly [2].

What does a relationship look like in practice?

Imagine a customers table and an orders table. Each order carries a customer number. There is no physical link between the two tables; the relationship exists because the customer number in both holds the same value. That is the convenience Codd's model brought: a single query can build a new table from one or more existing ones [1]. To list every order a given customer has placed, you join the two tables on that shared value.

Frequently asked questions

What does RDBMS mean?

RDBMS stands for relational database management system. PostgreSQL is one example.

Sources

  1. The relational database — IBM
  2. 2.2. Concepts — PostgreSQL Documentation