Quote:
Originally posted by slimdave
sure I can -- you said it was very unlikely, and that seems plain wrong.
I would like to see some prof?
In presnt case atleast, there is a range of dates & i belive inserted every day/or month which will be closely packed.
Quote:
Originally posted by slimdave
Of course it's estimated -- Oracle won't know for sure till it executes the query, but the point the point i am making is that it explains the FTS. "5-6% of rows" translates to this many blocks in Oracle's estimation, based on the clustering factor of the index.
Let him get the results of the specified queries so we will know how exactly the rows are spread.
Quote:
Originally posted by slimdave
"Reorg tables and indexes"? Another waste of time - what's that supposed to do?.
heavy dml on the tables ( especially deletes frequently will make void space in the blocks which may not be reused due many reasons )
check the number of change in blocks required before and after reorg of table/index, you will know why.
Quote:
Originally posted by slimdave
And you've saved the easiest thing for last -- tweaking the otpimizer to promote the use of the index. Surely that's the simplest, fastest thing to do? But don't change to RBO, just promote the use of the index with an index() hint, and compare performance with the FTS.
I would use hint in very first place & check the stats ( i would assume he would have tried it ), so keeping in mind hints(and many other workarounds to use index) didnt work i would go as said above
Abhay.