Adel,
On your first question:
I see your point, however there is no functionality to allow you to sample on only specific AMPs. All AMPs will be sampled at the same percent.
On your second question:
The stats don't force any particular join types. The estimations derived from statistics are used as an input for cost formulas. It is the costing that determines the join plan. Sampled stats (or any kind of stats) are never ignored.
Adel,
On your first question:
I see your point, however there is no functionality to allow you to sample on only specific AMPs. All AMPs will be sampled at the same percent.
On your second question:
The stats don't force any particular join types. The estimations derived from statistics are used as an input for cost formulas. It is the costing that determines the join plan. Sampled stats (or any kind of stats) are never ignored.
Thanks, -Carrie