Professional Documents
Culture Documents
Excessive T-SQL
resource refactoring for
utilization (CPU, off-model
Memory, IO) statements
Risk of
misestimating
Cardinality
Estimation and
Plan Quality
2
Interleaved Execution
Interleaved
Execution
During the optimization phase if a
multi-statement table valued
functions (MSTVFs) is encountered,
the optimization is paused, the
applicable subtree will be executed,
accurate cardinality estimates will
be captured and then resume
optimization for downstream
operations
Example Not
using
Interleaved
Execution
Example
Using
Interleaved
Execution
3
http://speakerscore.com/cristian170506
@xmldeveloper