Data Architecture · Knowledge Base

Data Modeling

Zero to advanced, in one place. Relational foundations, dimensional and warehouse design, specialized and modern patterns — and the applied judgment to actually build models instead of just diagramming them.

23 chapters3 levelszero → advanced
Start
01

Foundations

7 chapters
02

Dimensional & Warehouse

8 chapters
08

Dimensional Modeling: Facts & Dimensions

The Kimball core of analytics modeling: facts measure events, dimensions give them context, built around a clear grain.

FactsDimensionsKimballGrainBus matrix
Read chapter →
09

Star vs Snowflake Schemas

The classic tradeoff between a flat star and a normalized snowflake, and exactly when each one is the right call.

StarSnowflakeJoinsNormalizationWhen
Read chapter →
10

Fact Table Design

Additive, semi-additive, and non-additive measures; transaction, snapshot, and accumulating facts; factless and degenerate.

MeasuresTransactionSnapshotFactlessDegenerate
Read chapter →
11

Slowly Changing Dimensions (SCD 0–7)

Track dimension history correctly, from overwrite to history rows to hybrids, the number-one modeling interview topic.

SCD0–7HistoryType 2Effective datesHybrids
Read chapter →
12

Inmon vs Kimball vs Data Vault

The three enterprise modeling philosophies compared, with a clear map of when each approach actually fits.

InmonKimballData VaultCIFWhen
Read chapter →
13

Data Vault 2.0

Hubs, links, and satellites: an auditable, scalable, parallel-loadable pattern for enterprise data warehouses.

HubsLinksSatellitesPIT/BridgeAutomation
Read chapter →
14

Modern Warehouse Modeling

Medallion (bronze/silver/gold), wide tables / One Big Table, partitioning & clustering as the physical model, dbt models, and the semantic / metrics layer.

MedallionOBTPartitioningdbtSemantic layer
Read chapter →
15

Temporal & Historical Modeling

Effective dating, bitemporal models, snapshots, event sourcing, and SQL:2011 temporal tables — ask what was true, what we believed, and query the past natively.

Effective datesBitemporalEvent sourcingSQL:2011Time Travel
Read chapter →
03

Specialized & Applied

8 chapters
16

NoSQL & Access-Pattern Modeling

Document, key-value, and wide-column stores: access-pattern-first design, DynamoDB single-table with GSIs, and Cassandra hard rules.

DocumentKey-valueDynamoDB & GSIsCassandraAccess patterns
Read chapter →
17

Graph Data Modeling

Labeled property graphs and RDF triple stores: Cypher traversals, fraud-ring patterns, and the LPG vs RDF paradigm choice.

Property graphTraversalFraud ringsRDF & SPARQLWhen to graph
Read chapter →
18

Master Data Management (MDM)

Golden records, entity resolution, and reference data: one trusted version of customers, products, and accounts.

Golden recordEntity resolutionReference dataSurvivorshipStewardship
Read chapter →
19

Data Mesh & Domain Ownership

Domain-oriented data products, DDD bounded-context decomposition, and federated governance at organizational scale.

DDD boundariesData productsOwnershipFederationGovernance
Read chapter →
20

ML Feature & Feature-Store Modeling

Model features for machine learning with point-in-time correctness, avoiding leakage and training/serving skew.

FeaturesPoint-in-timeLeakageTrain/serveFeature store
Read chapter →
21

Data Contracts, Schema Evolution & Governance

Four-layer contracts (schema, semantics, SLOs, ownership), semantic breaking changes, expand-and-contract, and governance enforcement.

ContractsSemanticsGovernanceLineageEnforcement
Read chapter →
22

Applied Data Modeling: How To Answer Any Modeling Question

A repeatable requirements-to-model method, OLTP vs OLAP decisions with the why, a four-domain interview cheat sheet, and interview narration.

MethodDomain patternsOLTP/OLAPWorked examplesNarration
Read chapter →
23

Production Data Modeling: Scale, Loading & Behavior

Partitioning, scalability under traffic, insert/update/history load mechanics, CDC as a load pattern, late-arriving data, and tradeoffs with sample queries.

PartitioningScaleLoadingCDC patternLate data
Read chapter →