A colleague and I are new to Oracle and are analyzing indexes on a table. This is a legacy and indexes currently exist on the table
Mytable
* ID (primary key)
* partId (Id column in part)
* partNum (partNum column in part...partNum can have more than one partId)
* description (description of partNum...can be different for each partNum)
* dateReceived
IDX_PART_ID_PART_NUM(partId, PartNum)
IDX_PART_NUM(partNum)
IDX_DATE_RECEIVED(dateReceived)
It seems like we have redundancy in our indexes. Should we remove partNum from IDX_PART_ID_PART_NUM? Should we remove IDX_PART_NUM? As stated above, a partNum can have more than one id as each part can exist more than once in an object.
Whew....hope that makes sense
Basically, In Oracle, how does an Index work?