Study FAQ
How do Direct Lake guardrails differ from memory pressure?
Also asked as 2
- Why can a Direct Lake model fail a guardrail check even though memory is available?
- What happens when Direct Lake exceeds capacity guardrails or repeatedly evicts columns?
Answer
Guardrails are supported limits on characteristics such as Parquet files, row groups, rows per table, and model size. Memory pressure is a resource condition that can cause columns to be repeatedly loaded and evicted even when hard guardrails are satisfied.
Use the current Microsoft capacity table for the actual SKU instead of assuming one number applies to every capacity. The model-size guardrail is model-wide; other checks have query-specific implications, and different Direct Lake architectures respond differently.
- With Direct Lake on OneLake, a guardrail breach can fail refresh and prevent queries until the Delta tables comply.
- With Direct Lake on SQL, allowed fallback can let refresh succeed with a warning and queries continue through DirectQuery, potentially more slowly.
- In either architecture, repeated column loading under memory pressure can increase latency without proving a hard guardrail was exceeded.
Check the relevant Delta file and row-group layout, table row counts, model size, selected columns, cardinality, concurrent workloads, and the actual query path. Coordinate source-layout optimization with its owner and rerun the original workload under comparable cold and warm conditions.
Scale capacity only after distinguishing a genuine limit or sustained resource demand from avoidable data layout and query work. A healthy query result alone doesn't prove the guardrails or expected in-memory path were satisfied.
Capacity guardrails and memory limits. Column eviction and fallback.
Full explanation
DP-600: Direct Lake Architecture, Refresh, Fallback, and Security
Study guide · DP-600
Read the full explanation