I created a unique index to get a query to run faster. The explain plan is fine in most databases after the index is created. Query goes from two minutes to 1 second.
However, the database I really need it to work in will not use the index without the /*+ rule */ hint in the Select. We are looking for a DB solution so we do not have to change the C code.
I computed statistics. Still Oracle will not use the index by default. I have actually never seen this happen before. Anyone have any ideas? Please.
However, the database I really need it to work in will not use the index without the /*+ rule */ hint in the Select. We are looking for a DB solution so we do not have to change the C code.
I computed statistics. Still Oracle will not use the index by default. I have actually never seen this happen before. Anyone have any ideas? Please.