Skip to content

아직 한국어로 제공되지 않습니다. 한국어로 제공되는 모든 내용 보기

Stockertim Dictionary · Technology

Relational database

Also called relational database management system, RDBMS, relational databases

In short

A database that keeps data in tables of rows and columns and connects those tables through shared key values, so each fact is stored once and combined on demand.

  • Beginner
  • Technology
  • Checked

In detail

A relational database organises information as a set of tables. Each table describes one kind of thing, such as customers, products or invoices; each row is one instance of that thing and each column is one attribute of it, with a declared data type such as integer, decimal, text or date. The idea comes from the relational model of data, which treats a table as a mathematical relation and defines operations for combining relations.

Tables are tied together by keys. A primary key identifies every row of a table uniquely, and a foreign key in another table holds copies of those identifiers to say which row it refers to. An invoice row therefore carries a customer number rather than the customer's name and address, and the address lives only in the customers table. Queries written in SQL reassemble the pieces when someone asks a question.

The engine that runs the database enforces rules declared with the tables: a column may be required, a value may have to be unique, and a foreign key may be forbidden from pointing at a row that does not exist. Transactions group several changes so that they all succeed or all fail together, which keeps balances and stock levels consistent when two users write at the same moment.

The design pays off as data grows. A change of address is made once and every report sees it, and millions of rows can be filtered quickly with indexes. The costs are an up-front design effort and the need to join tables back together, which is where many reporting mistakes start when keys are duplicated or missing.

Worked example

A small courier firm in Accra moves its records from one long spreadsheet into a relational database with three tables: customers, parcels and drivers.

  1. The old sheet repeated each customer's address on every parcel row: 400 customers sent 6,000 parcels in a year.
  2. In the new design each address is stored once in the customers table and each parcel row holds only a customer number.
  3. Address cells to maintain fall from 6,000 to 400, a drop of 6,000 − 400 = 5,600.

When a customer moves, one row changes and every parcel report shows the new address.

In practice

Accounting systems, payroll, online shops, booking systems and most business software store their records in relational databases. Analysts usually meet them through read-only access and SQL, or through exports that flatten several tables into one file for a spreadsheet or a pandas DataFrame.

Watch out

  • An export that flattens joined tables repeats values on many rows; totals taken from such a file can count the same amount several times.
  • A database is only as good as its constraints: if keys are not declared, the engine cannot stop orphan or duplicate rows.

Learn it properly

Official sources

Facts last checked on 9 November 2026.

Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.

English