How Index Access Paths Can Change Without New Statistics
In a production environment, an execution path for queries often changes, even in the absence of any related changes. You confirm that no new statistics were collected (in fact, you might even have locked the statistics to prevent changes in execution plans). Prior to Oracle Database 11g and the cardinality feedback feature and automatic query tuning capabilities, if nothing truly changed (i.e. stats, instance parameters, etc.), and something such as bind peeking with histograms present wasn't in play, then plans pretty much stayed the same. However, even if you're absolutely positive that the optimizer shouldn't change any execution plans, it does. How's this possible? Well, most databases ...
Get Expert Indexing in Oracle Database 11g: Maximum Performance for Your Database now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.