News for hackers. Stuff that matters.
Re:How to assert that your SQL does not do full table scans by Femur on Friday March 26, 2010 @11:15AM (#1221202)
Excellent demonstration of Oracle's inner workings!

The modern Oracle uses a Cost-Based approach wherein the query optimizer will attempt to perform the lowest-cost opration to satisfy the query. If that means performing a full-table scan as opposed to utilizing an index, then this is what will be done. Statistics, data histograms, parameters (such as OPTIMIZER_ INDEX_COST_ADJ) all come into play.

There are no comments on this comment yet.