Data Modelling
Glossary
Every Data Modelling term in plain words, with the module that teaches it. Inside modules, any word with a dotted underline explains itself.
Data Modelling · 85 terms
- Access pattern
- A specific question an application asks of its data, such as 'a customer's orders, newest first'. NoSQL designs are built around them.
- Learn it in “Modelling for NoSQL” →
- Accumulating snapshot
- A fact table with one row per instance of a process (an order, a claim), holding a date for each milestone and updated as it progresses.
- Learn it in “Types of fact table” →
- Additive fact
- A fact that can be summed across every dimension, such as sales amount.
- Learn it in “Types of fact table” →
- Analytical data
- Data organised to understand the business: summarising lots of history to spot trends, compare periods and answer questions.
- Learn it in “Why model data?” →
- Anomaly (update, insert, delete)
- A problem caused by redundant data: a repeated fact updated in only some places, a fact that can't be stored on its own, or one lost when another is deleted.
- Learn it in “Normalisation” →
- Atomic grain
- The lowest level of detail a business process captures. Starting there lets any later question be answered.
- Learn it in “The four-step design process” →
- Attribute
- A single fact recorded about an entity, such as a customer's name or an order's date. Usually a column.
- Learn it in “Why model data?” →
- Bitemporal
- Keeping both valid time and transaction time, so you can ask what was true at a date and what the system believed at a date.
- Learn it in “Modelling time” →
- Boyce–Codd normal form (BCNF)
- A slightly stricter third normal form (1974): every column that determines another must be a candidate key.
- Learn it in “Normalisation” →
- Bus matrix
- A grid with business processes as rows and dimensions as columns, marking which dimensions each process uses. Used to plan a warehouse one process at a time.
- Learn it in “Conformed dimensions and the bus matrix” →
- Business process
- An operational activity that produces measurements, such as taking an order or processing a claim. Each fact table usually models one.
- Learn it in “The four-step design process” →
- Candidate key
- Any smallest set of columns that uniquely identifies each row. One is chosen as the primary key.
- Learn it in “Keys and relationships” →
- Cardinality
- How many of one thing can relate to another: one-to-one, one-to-many or many-to-many.
- Learn it in “Conceptual, logical and physical” →
- Columnar storage
- Storing each column's values together rather than each row's, so a query reads only the columns it uses and repeated values compress well.
- Learn it in “One big table” →
- Composite key
- A key made of more than one column, such as (order_id, product_no).
- Learn it in “Keys and relationships” →
- Conceptual model
- The highest-level model: the things a business cares about and how they relate, in its own words, with no technical detail.
- Learn it in “Conceptual, logical and physical” →
- Conformed dimension
- A dimension shared by several fact tables with identical column names and values, so their results can be combined on one report.
- Learn it in “Conformed dimensions and the bus matrix” →
- Corporate Information Factory (CIF)
- Bill Inmon's architecture: a normalised, atomic enterprise warehouse loaded first, which then feeds departmental data marts.
- Learn it in “Inmon, Kimball and the enterprise warehouse” →
- Crow's foot notation
- A style of ER diagram where a three-pronged 'foot' at the end of a line means 'many' and a bar means 'one'.
- Learn it in “Conceptual, logical and physical” →
- Data catalog
- A searchable inventory of datasets with their descriptions, owners and lineage, such as Unity Catalog, DataHub or OpenMetadata.
- Learn it in “Naming, documentation and change” →
- Data mart
- A smaller set of analytical tables for one department or subject area, often dimensional.
- Learn it in “Inmon, Kimball and the enterprise warehouse” →
- Data model
- An agreed description of what data a system holds: the things it records, what is known about each, how they connect, and the rules they follow.
- Learn it in “Why model data?” →
- Data test
- An assertion checked against a model's data on every run, such as a column being unique, never null, or pointing at existing rows.
- Learn it in “Layered modelling with dbt” →
- Data Vault
- A warehouse modelling method by Dan Linstedt that splits data into hubs (business keys), links (relationships) and satellites (descriptive history), loaded append-only with full audit details.
- Learn it in “Data Vault” →
- dbt
- A tool for transforming data inside a warehouse: each model is a SQL select statement, and dbt builds them in dependency order with tests, documentation and version control.
- Learn it in “Layered modelling with dbt” →
- Degenerate dimension
- A dimension key with no table of its own, such as a receipt or order number stored directly on the fact row.
- Learn it in “The four-step design process” →
- Denormalisation
- Deliberately repeating data, such as copying a product's category onto every sale, so reads need fewer joins. Writes then have more copies to keep in step.
- Learn it in “Transactions vs analytics” →
- Deprecation
- Announcing that something will be removed by a given date, so its users have time to move.
- Learn it in “Naming, documentation and change” →
- Dimension table
- A table describing the context of events (who, what, where, when), usually wide and flat with descriptive text used to filter and group.
- Learn it in “Facts, dimensions and the star schema” →
- Drill across
- Combining fact tables by querying each one separately, grouped by the same conformed attributes, then merging the answers.
- Learn it in “Conformed dimensions and the bus matrix” →
- Embedding
- Storing related data inside one document, such as an order's items inside the order, so it is read in a single operation.
- Learn it in “Modelling for NoSQL” →
- Enterprise data warehouse (EDW)
- A warehouse that integrates data from across a whole organisation, with history, for reporting and analysis.
- Learn it in “Inmon, Kimball and the enterprise warehouse” →
- Entity
- A kind of thing a model records information about, such as a customer, product or order.
- Learn it in “Why model data?” →
- Entity-relationship diagram
- A drawing of a data model with entities as boxes and relationships as lines between them. Introduced by Peter Chen in 1976.
- Learn it in “Conceptual, logical and physical” →
- ETL / ELT
- Extract, transform, load: copying data out of source systems, reshaping it and loading it into an analytical store. ELT loads first and transforms inside the warehouse.
- Learn it in “Transactions vs analytics” →
- Fact
- A number measured by a business event, such as quantity sold or sale amount. Facts are usually added up.
- Learn it in “Facts, dimensions and the star schema” →
- Fact table
- The central table of a dimensional model: one row per measured event, holding numeric facts and a foreign key to each dimension.
- Learn it in “Facts, dimensions and the star schema” →
- Factless fact table
- A fact table whose rows record only that dimensions met, such as a student attending a class, with no numeric measures.
- Learn it in “Types of fact table” →
- Foreign key
- A column whose values must match a key in another table, linking each row to the row it refers to.
- Learn it in “Keys and relationships” →
- Functional dependency
- When knowing one value fixes another: knowing the product tells you its price.
- Learn it in “Normalisation” →
- Grain
- Exactly what one row of a fact table represents, such as one item scanned on a receipt. Declared before choosing dimensions or facts.
- Learn it in “The four-step design process” →
- Hub
- A Data Vault table holding one row per unique business key, such as a customer number, with its load date and source.
- Learn it in “Data Vault” →
- Junction table
- A table that resolves a many-to-many relationship, holding a foreign key to each side. Also called an associative, link or bridge table.
- Learn it in “Keys and relationships” →
- Junk dimension
- A single dimension that bundles miscellaneous low-cardinality flags and indicators, holding only the combinations that occur.
- Learn it in “Dimension patterns” →
- Lineage
- The graph of which models and sources each table is built from, so you can trace any number back to where it came from.
- Learn it in “Layered modelling with dbt” →
- Link
- A Data Vault table recording a relationship or transaction between hubs, such as which customer placed which order.
- Learn it in “Data Vault” →
- Logical model
- A detailed model listing every entity, attribute, key and relationship, without tying it to a particular database product.
- Learn it in “Conceptual, logical and physical” →
- Mart
- A finished model representing a business entity at a clear grain, such as orders or customers, ready for people and tools to query.
- Learn it in “Layered modelling with dbt” →
- Metric
- A named, agreed calculation such as revenue or active customers, including its aggregation and filters.
- Learn it in “Metrics and semantic layers” →
- Mini-dimension (SCD type 4)
- A small separate dimension for attributes that change often, such as age or credit band, so the main dimension doesn't grow a new row each time.
- Learn it in “Slowly changing dimensions” →
- Model contract
- A declared promise about a model's shape (column names and data types) that the build checks, failing if the model no longer matches.
- Learn it in “Naming, documentation and change” →
- Model version
- A new version of a model that can run alongside the old one, so breaking changes can be adopted gradually.
- Learn it in “Naming, documentation and change” →
- Natural key
- A key that comes from the real world and means something, such as an ISBN, an email address or a product code.
- Learn it in “Keys and relationships” →
- Nested and repeated fields
- Columns that hold structures (STRUCT) or lists (ARRAY), letting a row carry its children, such as an order with its lines.
- Learn it in “One big table” →
- Node
- A thing in a graph, such as a person or account, with labels and properties.
- Learn it in “Graph models” →
- Normal form
- One of a series of rules a table can satisfy (first, second, third, Boyce–Codd…), each removing a kind of redundancy.
- Learn it in “Normalisation” →
- Normalisation
- Arranging tables so each fact is stored in one place, following a series of normal forms, to stop repeated data drifting out of step.
- Learn it in “Normalisation” →
- OLAP
- Online analytical processing: systems built to group and summarise large amounts of data from many angles. The term was coined by E. F. Codd and colleagues in 1993.
- Learn it in “Transactions vs analytics” →
- OLTP
- Online transaction processing: systems that record and update individual transactions, such as orders and payments, quickly and reliably.
- Learn it in “Transactions vs analytics” →
- One big table (OBT)
- A single wide, denormalised table holding the facts plus every dimension attribute on each row, so queries need no joins.
- Learn it in “One big table” →
- Operational data
- Data used to run the business day to day: recording and changing individual orders, payments or bookings as they happen.
- Learn it in “Why model data?” →
- Outrigger
- A dimension that references another dimension, such as a customer pointing to the date they joined. Allowed but used sparingly.
- Learn it in “Dimension patterns” →
- Periodic snapshot
- A fact table with one row per thing per period (day, week, month), such as a balance or stock level, even when nothing happened.
- Learn it in “Types of fact table” →
- Physical model
- The model as built in one database: tables, column types, constraints, indexes and other product-specific choices.
- Learn it in “Conceptual, logical and physical” →
- Primary key
- The column or columns that uniquely identify each row of a table. Values must be unique and never empty; a table has at most one.
- Learn it in “Keys and relationships” →
- Property graph
- A graph model where nodes and relationships both carry labels or types and key-value properties. Used by Neo4j and the ISO GQL standard.
- Learn it in “Graph models” →
- RDF
- Resource Description Framework: a W3C standard that represents data as subject–predicate–object triples using web identifiers.
- Learn it in “Graph models” →
- Referencing
- Storing only an id that points to data kept in another collection, as with a foreign key.
- Learn it in “Modelling for NoSQL” →
- Referential integrity
- The guarantee that every foreign key points to a row that actually exists, so there are no orphaned references.
- Learn it in “Keys and relationships” →
- Relationship (edge)
- A directed, typed connection between two nodes in a graph, which can carry its own properties.
- Learn it in “Graph models” →
- Role-playing dimension
- One dimension used several times by a fact table in different roles, such as order date and ship date, each through its own view.
- Learn it in “Dimension patterns” →
- Satellite
- A Data Vault table holding descriptive attributes of a hub or link, with a new row for every change.
- Learn it in “Data Vault” →
- SCD type 1
- Handling a change by overwriting the old value. Always current, but history is lost.
- Learn it in “Slowly changing dimensions” →
- SCD type 2
- Handling a change by adding a new dimension row with its own surrogate key and validity dates, so facts keep the version in effect when they happened.
- Learn it in “Slowly changing dimensions” →
- Semantic layer
- A shared place where business metrics, dimensions and joins are defined once, so every tool that asks for, say, revenue by month gets SQL from the same definition.
- Learn it in “Metrics and semantic layers” →
- Semi-additive fact
- A fact that can be summed across some dimensions but not others; balances add across accounts but not across time.
- Learn it in “Types of fact table” →
- Single-table design
- A DynamoDB pattern that stores several entity types in one table, with partition and sort keys chosen so each access pattern is one request.
- Learn it in “Modelling for NoSQL” →
- Slowly changing dimension (SCD)
- Kimball's numbered techniques (type 0 to type 7) for handling dimension attributes that change over time, such as a customer's city.
- Learn it in “Slowly changing dimensions” →
- Snowflake schema
- A star schema whose dimension hierarchies are normalised into chains of smaller tables. Kimball advises flattening them instead.
- Learn it in “Dimension patterns” →
- Staging model
- A dbt model that cleans one source table: renaming columns and casting types, one-to-one with the source.
- Learn it in “Layered modelling with dbt” →
- Star schema
- A dimensional model in a relational database: a fact table in the centre joined by keys to the dimension tables around it.
- Learn it in “Facts, dimensions and the star schema” →
- Surrogate key
- A meaningless generated identifier, usually an increasing integer, used instead of a natural key.
- Learn it in “Keys and relationships” →
- Transaction fact table
- A fact table with one row per measurement event, added when it happens and never changed.
- Learn it in “Types of fact table” →
- Transaction time
- When the database recorded a fact, such as the day a price change was entered. Also called recorded or system time.
- Learn it in “Modelling time” →
- Valid time
- When a fact was true in the real world, such as the date a price actually changed. Also called effective or application time.
- Learn it in “Modelling time” →
A
B
C
D
E
F
G
H
J
L
M
N
O
P
R
S
T
V
General terms · shared by every track
- ACID
- Four guarantees for transactions: Atomic (all or nothing), Consistent (rules hold), Isolated (concurrent work doesn't interfere), Durable (once done, it stays done).
- Learn it in “ACID on object storage” →
- Atomic
- All or nothing. An atomic change either happens completely or not at all, and nobody ever sees it half done.
- Think of it as: Handing over a sealed envelope: the other person has it or doesn't. There's no half-handed envelope.
- Learn it in “Object storage: the ground floor” →
- Batch processing
- Processing data in scheduled chunks, such as every night or every hour.
- Learn it in “Getting data in” →
- CSV
- Comma-separated values: plain text, one row per line. Easy to read, slow and large for analytics, and no schema.
- Learn it in “Rows vs columns: file formats” →
- Idempotent
- Safe to run twice: running the job again gives the same result instead of duplicating data.
- Learn it in “Medallion architecture” →
- JSON
- A text format of nested key-value objects, like {"id": 7}. Common for app events and APIs, and used by Delta's transaction log.
- Learn it in “Rows vs columns: file formats” →
- Metadata
- Data about data: which files exist, their schema, sizes and statistics. Engines read metadata first to plan work.
- Learn it in “What makes a table a table” →
- Schema
- The structure of a table: its column names and types, such as order_id: long, amount: decimal.
- Learn it in “Schema evolution & enforcement” →
- SQL
- The standard language for querying tables: SELECT … FROM … WHERE …
- Learn it in “Hands-on: query in your browser” →
- Streaming
- Processing data continuously as it arrives, within seconds or minutes.
- Learn it in “Getting data in” →
- Transaction
- A group of changes that succeeds or fails as one unit.
- Think of it as: A money transfer: debit one account and credit the other, or do neither.
- Learn it in “ACID on object storage” →
A
B
C
I
J
M
S
T