|
The first case shows FTS while the second (where you have rownum in the inline view) does not. The key is "STOPKEY" in the plan.
Actually, on second check in Jonathan's CBO book, he was talking about two cases that both have the same cost in the plans and yet the stats are different. That's a real case of a misleading plan, while here we can tell even by looking at the plan cost. I.e., checking stats simply confirms the plan cost.
Yong Huang |
|