Quote Originally Posted by OldTimer View Post
One of the Oracle databases I work with has an index on a table that spans 6 attributes. Someone now wants to create another index on the same table that is comprised of 3 of the attributes that are part of the first index.

Does that make any sense? How can that be helpful, couldn't the db simply use the first index to get the performance benefit they are looking for? I'm puzzled by this but don't want to object if there is actually a good reason for doing this.
It all depends on the order of the columns, and the position of the three columns of the proposed second index on the existing first one.

Existing index: (ColA, ColB, ColC, ColD, ColE, ColF)

Proposed index #1:
(ColC, ColF, ColA) <== It makes sense to create the index

Proposed index #2:
(ColA, ColB, ColC) <== Most probably it doesn't make sense to create the index.