Find a course

Database Design Basics glossary

34 terms you will meet in the free Database Design Basics course, each explained in one or two sentences.

A

ACID
The transaction guarantees of atomicity, consistency, isolation and durability.
Anomaly
A problem caused by redundancy: an update that leaves contradictions, an insert that is impossible, or a delete that loses unrelated facts.
Attribute
A property of an entity, such as a customer's email; it usually becomes a column.

B

B-tree
A balanced, wide tree structure used by most database indexes; lookups take a number of steps that grows with the logarithm of the row count.
Boyce-Codd normal form (BCNF)
A stricter form of 3NF in which the determinant of every functional dependency is a superkey.

C

Candidate key
A minimal set of columns that could serve as the primary key because it uniquely determines every row.
Cardinality
The maximum number of instances on each side of a relationship: one-to-one, one-to-many or many-to-many.
Composite key
A key made of two or more columns together, such as (order_id, book_id).
Constraint
A rule declared in the schema and enforced by the database, such as NOT NULL, UNIQUE, CHECK or FOREIGN KEY.
Crow's foot notation
An ER diagram style that marks "many" with a three-pronged symbol, "one" with a bar and "zero" with a circle.

D

Database management system (DBMS)
Software that stores data, enforces its rules, handles concurrent access and answers queries, such as PostgreSQL or MySQL.
Denormalization
Deliberately storing redundant data to speed up reads, with a plan to keep the copies consistent.

E

Entity
A kind of thing the organization needs to store data about, such as Customer or Book; it usually becomes a table.
ER diagram
A diagram of entities, attributes and relationships used for conceptual database design.

F

First normal form (1NF)
Every cell holds a single atomic value, there are no repeating groups, and rows are uniquely identified.
Foreign key
A column whose values must match a key in another table, used to represent a relationship.
Functional dependency
A rule A → B meaning each value of A is associated with exactly one value of B.

I

Index
A separate sorted structure that lets the database find rows by a column value without scanning the whole table.

J

Join
A query operation that combines rows from two tables based on matching values, usually a foreign key and a primary key.
Junction table
A table that resolves a many-to-many relationship by holding foreign keys to both sides; also called a bridge or associative table.

N

Natural key
An identifier that exists in the real world, such as an ISBN or a country code.
NULL
A marker for a missing or unknown value; it is not zero or an empty string, and comparisons with it are unknown.

P

Partial dependency
A non-key column that depends on only part of a composite key; removed by second normal form.
Participation
Whether an entity must take part in a relationship (mandatory) or may not (optional); also called optionality.
Primary key
A column or set of columns whose value uniquely identifies each row; it must be unique and not null.

R

Referential integrity
The guarantee that every foreign key value refers to an existing row.
Relational model
A way of organizing data in tables (relations) of rows and columns, linked by matching key values.
Relationship
A meaningful association between entities, such as a customer placing an order.

S

Second normal form (2NF)
1NF plus every non-key column depends on the whole primary key.
Surrogate key
An artificial identifier generated by the database, such as an auto-incrementing integer, with no meaning outside the system.

T

Table
A set of rows that all describe the same kind of thing, with the same named, typed columns.
Third normal form (3NF)
2NF plus no non-key column depends on another non-key column.
Transaction
A group of statements executed as one unit that either fully commits or is fully rolled back.
Transitive dependency
A non-key column that depends on another non-key column rather than directly on the key; removed by third normal form.

Put these terms to work

The Database Design Basics course uses every one of these terms in short lessons with instant-feedback questions. It takes about 165 minutes and ends with a free certificate of completion.

Start the course Course overview