Uncorp
Log In
Data Engineering4 min readUpdated 2026-10-27

Data Modeling for Data Engineers in 2026: Kimball Star Schema vs Snowflake Schema vs One Big Table (OBT) in Cloud Lakehouses

Why writing PySpark and dbt code without mastering Grain, Fact tables, Conformed Dimensions, and SCD Type 2 fails every Data Engineering System Design interview.

Naitik Tailor & Uncorp Engineering Faculty
Dimensional Data Modeling Star Schema vs One Big Table in Medallion Lakehouse Architecture
TL;DR — Key Engineering & Career Takeaways
  • In every Tier-1 Data Engineering interview, you will be given a real business scenario (e.g., Uber rides, Swiggy orders, or fintech transactions) and asked to design the Silver and Gold layer schemas on a whiteboard.
  • Before naming a single column, always Follow Kimball's 4-Step Process: (1) Select the business process, (2) Declare the exact **Grain** (what does 1 row represent?), (3) Identify the Dimensions (`who, what, where, when`), and (4) Identify the numeric Facts.
  • In 2026 cloud lakehouses (Databricks Delta Lake & Snowflake), the industry standard is a **Conformed Kimball Star Schema in the Silver/Core Gold layer**, paired with selective **One Big Table (OBT)** denormalized marts for ultra-fast BI dashboards.

1. Why Declaring the 'Grain' First Saves You from Fan-Out Bugs

The #1 mistake candidates make in Data Modeling interviews is jumping straight into drawing tables without declaring the **Grain**—the exact atomic business event represented by a single row in a Fact table. For example, in an e-commerce checkout, is one row in `fact_orders` an entire customer shopping cart (`order_id`), or an individual line item (`order_line_item_id`)?

If you mix header-level shipping fees with line-item quantities in the same table without declaring the grain, every `SUM(shipping_fee)` query in Power BI or Tableau will multiply shipping costs by the number of items in the cart (a classic fan-out bug).

Whiteboard Interview Opener

Always tell your interviewer: 'First, I will define the atomic grain of our Fact table at the lowest level of business measurement—one row per completed order line item—so we can roll up to any dimension without double-counting.'

2. Star Schema vs Snowflake Schema vs One Big Table (OBT) in Modern Lakehouses

With columnar storage (Parquet/Delta Lake/Iceberg) and vectorized cloud engines, should we still use Kimball Star Schemas or flatten everything into One Big Table (OBT)? Compare the trade-offs:

Cloud Data Warehouse & Lakehouse Modeling Paradigms (2026)
Modeling PatternStructure & JoinsStrengths in Cloud LakehousesWhen It Breaks / Costs Too Much
Kimball Star Schema (`fct_*` + `dim_*`)Central numeric Fact table surrounded by denormalized 1-hop Dimension tables joined on surrogate keys (`_sk`)Gold standard for governance, SCD Type 2 history, Conformed Dimensions across departments, and ad-hoc SQL clarityRequires 2–5 dimension joins at query time (fast on Photon/Snowflake, but slightly more SQL for self-serve BI users)
3NF / Snowflake SchemaDimensions are further normalized into sub-dimensions (`dim_product` → `dim_category` → `dim_department`)Minimal storage duplication in OLTP/operational systemsPoor fit for analytical OLAP: deep multi-hop joins slow down columnar scans and confuse BI analysts
One Big Table (OBT)Pre-joins Fact + all Dimension attributes into a single wide columnar table in the final Gold BI layerZero joins for BI tools; extreme scan speed with Parquet column pruning and Z-Ordering / Liquid ClusteringExpensive to backfill when a dimension attribute changes across 5 billion historical fact rows

3. Must-Know Fact & Dimension Patterns for Senior Interviews

Keep these three modeling patterns ready for follow-up questions:

  • 1. Transaction vs Periodic Snapshot vs Accumulating Snapshot Facts: Use a **Transaction Fact** for point-in-time events (`fct_payments`), a **Periodic Snapshot** for daily/monthly balances (`fct_daily_account_balance`), and an **Accumulating Snapshot** for workflows with milestone timestamps (`order_placed_at`, `packed_at`, `shipped_at`, `delivered_at`).
  • 2. Surrogate Keys vs Natural Business Keys: Never join Facts to Dimensions on mutable source system IDs alone. Generate a deterministic hash surrogate key (`dbt_utils.generate_surrogate_key(['customer_id', 'dbt_valid_from'])`) to support SCD Type 2 historical tracking.
  • 3. Late-Arriving Dimensions (Inferred Members): When a streaming Kafka fact event arrives before the corresponding customer dimension batch sync, insert a placeholder dimension row (`customer_sk = hash(id), name = 'Unknown (Pending)'`) rather than dropping the financial transaction.

Frequently Asked Questions

How do Star Schema and One Big Table (OBT) fit into the Medallion Architecture?

In a production dbt + Databricks/Snowflake lakehouse, Bronze holds raw append-only payloads, Silver (or Core Gold) models clean Conformed Dimensions (`dim_customer`, `dim_product` with SCD Type 2) and atomic Fact tables (`fct_order_items`), and the consumption Gold mart layer exposes either Star Schema views or pre-joined OBT tables tailored to specific BI dashboards.

Where can I practice Dimensional Modeling and dbt + Lakehouse pipelines hands-on?

Uncorp covers SQL & Data Warehousing foundations in Data Engineering Module 1 (`₹1,490`) and advanced dbt, Airflow, Spark, and Medallion Lakehouse modeling in Module 3 (`₹1,990`) and the 120-hour Master Program (`₹2,990`).

Written & Reviewed By Uncorp Engineering Faculty

Naitik Tailor & Uncorp Engineering Faculty

Founder & Principal Engineering Mentors (12+ Yrs Enterprise Experience) · VIT CSE '21 · Symbiosis MBA '24 · Ex-Delhivery & Ex-Aditya Birla Capital

About Uncorp

Continue Reading in This Topic Cluster

All 73 Guides