skip to content

Dimensional Modeling

Kimball-style dimensional modeling: splitting the world into measurable business events and the descriptive context you slice them by. Interviewers hand you a business process and expect a star schema with a defensible grain within minutes.

on this pageshow

explore

questions

page 2 of 2

Three teams already ship marts with their own customer dimensions - how do you conform them?

level: principalimportance: should knowfreq 33%

basics

~20 s

Map the existing marts onto a bus matrix, pick the highest-leverage dimension, agree one durable business key and a master attribute set with a single owning team, then retrofit mart by mart - adding the conformed key alongside the local one before retiring the local one.

open as a page

When would you publish a fact table only at a summarized grain rather than the atomic grain?

level: principalimportance: should knowfreq 30%

basics

~10 s

Almost never by choice. Publish only summaries when atomic rows are legally restricted, unavailable from the source, or genuinely unaffordable. Accept that any question below the summary grain becomes unanswerable until history is reloaded.

open as a page

Order-to-cash could be modelled as transaction, periodic snapshot or accumulating snapshot facts — how do you choose?

level: principalimportance: should knowfreq 40%

basics

~20 s

Build the atomic transaction facts first — they are the audit record everything else derives from — then add a periodic snapshot only when state questions are otherwise expensive, and an accumulating snapshot only when cycle time and work-in-progress are recurring questions.

open as a page

How do you set a house standard for dimension denormalization — star or snowflake — across dozens of marts?

level: principalimportance: should knowfreq 32%

basics

~20 s

Make flat star dimensions the published default, allow normalization only in the layer beneath, and write the exceptions as testable criteria rather than taste. Enforce through review and automated model tests, and measure adoption instead of assuming compliance.

open as a page

How does an aggregate fact table differ from a periodic snapshot fact table?

level: middleimportance: nice to knowfreq 30%

basics

~20 s

An aggregate fact table is derived — re-summing the atomic transaction rows reproduces it exactly. A periodic snapshot measures state at set intervals, such as month-end balances, which transactions alone cannot reproduce, and its measures are usually semi-additive.

open as a page

What is an outrigger dimension, and when is attaching one to another dimension justified?

level: middleimportance: nice to knowfreq 24%

basics

~20 s

An outrigger is a dimension table referenced by a foreign key from another dimension table, such as a store dimension pointing at the shared date dimension for its opening date. It is a sanctioned, sparing exception to the flat star.

open as a page

In a dimensional model, does unit_price belong in the fact table or the product dimension?

level: middleimportance: nice to knowfreq 38%

basics

~20 s

It depends on use. A price measured by the event and aggregated with other measures is a fact; a stable descriptor used to filter and group is a dimension attribute. In practice both are often stored, for different purposes.

open as a page

What is a factless fact table, and what kinds of questions does it answer?

level: middleimportance: nice to knowfreq 42%

basics

~20 s

A factless fact table records that something happened or that a condition applied, using only dimension keys and no numeric measures. It comes in two flavours: event tracking, such as student attendance, and coverage, such as which products were on promotion.

open as a page

What is a fact constellation (galaxy) schema, and when does a model become one?

level: middleimportance: nice to knowfreq 38%

basics

~20 s

A fact constellation, also called a galaxy schema, is several fact tables sharing the same dimension tables. Models become one as soon as a second business process is added — sales and inventory both pointing at the same date and product dimensions.

open as a page

What is a shrunken conformed dimension, and what rule must it obey?

level: seniorimportance: nice to knowfreq 28%

basics

~20 s

A shrunken conformed dimension is a coarser version of a base dimension - fewer rows and fewer attributes - serving a fact table at a higher grain. It conforms only if its attributes are a strict subset of the base dimension's, carrying identical names and identical values.

open as a page

How do you choose between a bridge table, an exploded fact grain and a primary-value column for a multi-valued dimension?

level: principalimportance: nice to knowfreq 26%

basics

~20 s

Decide by what must stay summable. A bridge preserves the fact total and pays in fan-out and consumer complexity; an exploded grain is simple to query but destroys additivity of the original measure; a primary-value column is simplest and silently discards the other members.

open as a page

showing 31–41 of 41