Unoptimized execution plan due to unusable index partition
Hello All!
I have a partitioned table with local partitioned no unique indexes on its columns.
Data load in this table make some index partition unusable during loading. In this time another users make select from this table. Because of using bind variables, during select, optimizer choose to skip index with unusable partition and make table full scan. The execution plan become unoptimized. I try to use skip_unusable_indexes=false parameter to force using index but receive error “ORA-01502: index "string.string" or partition of such index is in unusable state” after select from this table.
Why this error occur? Select statement use only those table partition on which index partition is in usable state.