Elsewhere first? Thats not making any sense. I was out of places to look. This was billions of rows, I already partitioned the tables and indexes, used bitmap indexes, even did COMPUTE statistics on this monster table to give it every chance ( all rows i.e. not ESTIMATE ), tried histograms, applied hints only to have the Manager of Software dev say they dont want hints in their code for single predicate queries. I traced the optimizer and discovered the discrepancy in costs and contacted Oracle. They suggested upgrading so I moved it all to a test system and upgraded only it did not work there either.Quote:
Originally posted by grjohnson
I've had only MINOR (if any at all) benefit from tweaking these values. I'd be looking else where first.
So here is a list of where I looked 1st:
Partitioning Tables and Indexes
Bitmap indexes
Compute Statistics
Histograms
Hints
Oracle Upgrade
Trace
Which ones am I missing ?
optimizer_index_cost_adj worked and its a good thing because I had already looked everywhere else.
