The analytics engineering glossary.
Plain-English definitions of the terms that actually come up on the job — no textbook filler. Written by a working analytics engineer.
Accumulating snapshot fact table
A fact table with one row per instance of a process that has a defined start and end, such as an order or an insurance claim. The row has a date for each milestone and is updated in place as the process moves from one step to the next.
Additive fact
A measure that gives a correct result when summed across any dimension of its fact table, such as quantity sold. Semi-additive facts, such as balances, can be summed across some dimensions and not others, and non-additive facts, such as ratios, cannot be summed at all.
Bridge table
A table that sits between a fact table and a dimension when one fact row relates to several rows of that dimension, such as a sale credited to two sales reps. It holds one row per member of each group, often with a weighting factor that splits the measure among them.
Conformed dimension
A dimension that means the same thing in every fact table that uses it: the same column names holding the same values. Conformed dimensions are what let results from separate fact tables be lined up in one report.
Data mart
A curated, business-facing set of tables built for a specific team or subject area — finance, marketing, product — that analysts and BI tools query directly.
Degenerate dimension
A dimension key stored in the fact table with no dimension table behind it, such as an order number or invoice number. It identifies the transaction a row belongs to, and everything else about that transaction already lives in other dimensions.
Dimension table
A table of descriptive attributes — customers, products, dates — that you join to a fact table to slice and label its measures. One row per entity, identified by a surrogate key.
Dimensional modeling
The discipline of structuring warehouse data into facts and dimensions (usually star schemas) optimized for analytical querying and human comprehension, popularized by Ralph Kimball.
Fact table
The central table in a star schema that stores measurable business events — one row per event (an order, a click, a payment) — with numeric measures and foreign keys to dimension tables.
Factless fact table
A fact table with foreign keys to its dimensions and no numeric measures. Each row records that something happened, such as a student attending a class, or that a condition applied, such as a product being on promotion.
Galaxy schema
A warehouse design with two or more fact tables that share conformed dimensions, such as orders and refunds both joined to the same customer, product, and date tables. Also called a fact constellation.
Grain
The precise definition of what a single row in a table represents. Declaring the grain — e.g. “one row per order line per day” — is the first and most important step in modeling a fact table.
Junk dimension
A single dimension table that combines several unrelated flags and indicators, each with only a few possible values, into one row per combination. The fact table stores one key to it instead of a column or a tiny dimension for every flag.
Late-arriving dimension
Dimension data that reaches the warehouse after the fact rows that refer to it, such as an order for a customer whose record has not loaded yet. The usual handling is a placeholder dimension row that is filled in when the real record arrives.
Natural key
An identifier that already exists in the source data and means something to the business, such as an email address, a SKU, or an order number.
Read the full guide →One big table (OBT)
A single wide, denormalized table with the facts and their descriptive attributes already joined, built so that queries need no joins.
Read the full guide →Periodic snapshot fact table
A fact table with one row per entity for each regular period, such as one row per account per month. Each row summarizes the period's activity or records a level at its end, and a row is written even when nothing happened.
Role-playing dimension
A single physical dimension that one fact table references several times, each time with a different meaning. The standard case is a date dimension joined once as the order date and again as the ship date.
SCD Type 1
A slowly changing dimension technique that overwrites an attribute with its new value. The dimension keeps one row per entity and no history, so every report, including reports on past periods, shows the current value.
SCD Type 2
A slowly changing dimension technique that adds a new row for each change, with effective dates and a current-row flag, so reports can show what was true at the time.
Read the full guide →SCD Type 3
A slowly changing dimension technique that adds a column for the previous value of an attribute. Each entity keeps one row holding the current and the prior value, so reports can group by either one.
SCD Type 4
A slowly changing dimension technique that moves a group of rapidly changing attributes out of a large dimension into a separate mini-dimension, with the fact table holding a key to each. Other references use the same name for keeping current rows in one table and past versions in a history table.
SCD Type 6
A slowly changing dimension technique that keeps a full history of rows for an attribute and also carries the attribute's current value on every one of those rows. Facts can then be grouped by the value in effect at the time or by the value today.
Slowly changing dimension (SCD)
A pattern for handling dimension attributes that change over time. Type 1 overwrites the old value; Type 2 keeps history by adding a new row with valid-from/valid-to dates.
Snowflake schema
A dimensional model in which dimension tables are normalized: each level of a hierarchy, such as city and region, is moved into its own table and linked by a key. The name comes from the branching shape of the diagram and has nothing to do with the Snowflake data platform.
Star schema
A dimensional model with one central fact table joined to several dimension tables — drawn out, it looks like a star. The default warehouse design for fast, understandable analytics.
Surrogate key
A warehouse-generated unique identifier for a dimension row — independent of any source system ID. It keeps joins stable when natural keys are messy, reused, or change.
Third normal form (3NF)
A relational design in which every non-key column depends only on the table's key, which removes repeated data and is the usual shape of an application database.
Read the full guide →Transaction fact table
A fact table with one row for each individual business event, such as a payment, an order line, or a click, recorded at the moment it happens. A row exists only if the event took place.
Change data capture (CDC)
A way of loading only the rows that were inserted, updated, or deleted in a source since the last load, instead of copying the whole table again.
Read the full guide →Data lineage
The record of where a table or column came from and what depends on it, at table level or column level.
Read the full guide →ELT
Extract, load, transform: raw data is loaded into the warehouse first and transformed there with SQL, where ETL transforms it before loading.
Read the full guide →Idempotency
The property that running a pipeline (or rebuilding a model) multiple times produces the same result as running it once — no duplicates, no drift. A core requirement for reliable data.
Medallion architecture
A lakehouse layout that moves data through bronze (raw), silver (cleaned), and gold (business-ready) layers.
Read the full guide →
dbt model
A single SQL SELECT statement in a dbt project that defines one transformed table or view. dbt handles the DDL, dependencies, and materialization so you just write the SELECT.
dbt Semantic Layer
The part of dbt where a metric is defined once in YAML on top of models. MetricFlow turns a request for that metric into SQL, so every tool reports the same number.
Read the full guide →dbt snapshot
A dbt resource that records how the rows of a source table change over time by adding a dated row for each change, which produces a Type 2 history.
Read the full guide →dbt test
A check that dbt runs against a model. A data test is a query that passes when it returns no rows; a unit test checks a model's logic against fixed inputs.
Read the full guide →Incremental model
A dbt materialization that, after the first full build, only processes and appends new or changed rows on each run — used to keep large fact tables affordable and fast to refresh.
Materialization
How dbt persists a model in the warehouse — as a view, a table, an incremental table, or ephemeral (inlined CTE). Chosen per model to balance freshness, cost, and query speed.
ref() and source()
The two dbt functions that name a model's inputs: ref() points to another model and source() points to a raw table declared in YAML. dbt builds its dependency graph from them.
Read the full guide →Staging model
The first dbt layer: one staging model per source table that does light cleanup — renaming columns, casting types, basic standardization — with no joins or business logic.
Common table expression (CTE)
A named, temporary result set defined with a WITH clause that you reference later in the same query — the primary tool for writing readable, layered, reviewable SQL.
QUALIFY
A SQL clause in warehouses such as Snowflake, BigQuery, Databricks, and DuckDB that filters rows on the result of a window function, the way HAVING filters on an aggregate.
Read the full guide →Window function
A SQL function that computes across a set of rows related to the current row — running totals, rankings, period-over-period — without collapsing them into one row like GROUP BY does.
The Analytics Engineering Interview Kit
Common SQL, dbt, modeling, portfolio, and behavioral questions, with worked answers and evaluation criteria. Free, straight to your inbox.
No spam. Unsubscribe anytime.
