Acme Marketing Architecture

9. Serving layer: Gold star schema through Direct Lake on OneLake

9. Serving layer: Gold star schema through Direct Lake on OneLake

Date: 2026-10-26

Status

Accepted


Problem

Gold must serve reporting (Power BI), ad-hoc analysis (SQL) and downstream pulls. Power BI storage modes differ in where capacity is burned and in failure behaviour: Import copies the data and burns capacity at refresh; DirectQuery burns capacity on every visual; Direct Lake on the SQL endpoint silently falls back to DirectQuery when views, SQL-endpoint security or guardrails trip; Direct Lake on OneLake never falls back and fails loudly instead.


Decision

We will serve Gold as follows.


Considered Options

Option Summary Pros Cons
✅ Direct Lake on OneLake Model pins a Delta version, pages columns on demand No copy, no refresh window, seconds to reframe; fails loudly Guardrails (file and row-group counts) must be respected; security must live in the model
Direct Lake on SQL endpoint Same, with SQL endpoint in the path Can use SQL views and endpoint security Silent fallback to DirectQuery under views or security, burning SQL-endpoint capacity per visual
Import Full copy in VertiPaq Works with any source; complex DAX friendly Refresh cost and double memory during refresh; stale between refreshes; refresh scheduling becomes an ops task
DirectQuery Every visual a query Always live Capacity per click; concurrency caps; slowest user experience. Never for this workload.
Warehouse as Gold with Direct Lake T-SQL Gold Multi-table transactions; familiar to SQL teams Second write engine; no benefit for a notebook-built star schema. Revisit if analysts need DML.

Consequences

Positive:

Negative / Trade-offs:

Risks: | Risk ID | Description | Impact (E/H/M/L) | Mitigation | |---------|-------------|------------------|------------| | R1 | Gold grows past the SKU memory limit | M | Aggregate facts; partition pruning; scale SKU for the reporting capacity only | | R2 | A developer adds a SQL view to "fix" a report and trips fallback | M | Views are not permitted on lh_gold; release checklist runs the fallback check |