When to use No Index
Mansi Raval, March 10, 2017 - 7:16 am UTC
I have one table X with column A,B,C.
Data inserted into X on the bases of column A(We used seq to generate value of A).
A is PK and index too.
Index is also there on C.
Is it wise to use index in below select query.
Select A,B where C in(value,value,value...);
This query is taking so much IO,Is it because of Index on C.
March 11, 2017 - 1:49 am UTC
Maybe....maybe not :-)
There's a simple way to work it out
a) try it with the index
b) try it without the index
A reader, March 15, 2017 - 10:31 am UTC
Great Thanks tom ot is very much useful