Optimizer's choice of Join
Nested Loop Join
- Outer input is small
- Inner input has an index on the join key
- Medium to large inputs
- Sorted inputs and equality operator required
- Large inputs
- Requires equality operator, inputs need not be sorted
MAXDOP Option - 1 (Ensure single processor for execution)
Density - How many distinct values available in a particular column
Multi Column Index
- Index can be used to seek on second column if there is an equality operator on first column
No comments:
Post a Comment