Hi,
I am trying to optimize some SQLs. When I saw the plan, it showed me as 'Full Table Scan'. For this I created the index and in the next plan it did not considered index in its plan, but astonishingly it showed me the newly created index along with the other indexes. Again it is showing the complete table scan in the path.
This was done in Quest with DB2 8.1 on Aix 5.1 FP-3. Can anybody point me how I can force the optimizer to take my newly created index for processing the SQL.
Thanks in advance.
gbag
I am trying to optimize some SQLs. When I saw the plan, it showed me as 'Full Table Scan'. For this I created the index and in the next plan it did not considered index in its plan, but astonishingly it showed me the newly created index along with the other indexes. Again it is showing the complete table scan in the path.
This was done in Quest with DB2 8.1 on Aix 5.1 FP-3. Can anybody point me how I can force the optimizer to take my newly created index for processing the SQL.
Thanks in advance.
gbag