Re: Whether Multiple index on Single table is necessary!??
Posted by:
Rick James
Date: October 24, 2015 08:25PM
Yes, INDEX(col1,col6,col10,col20,col13) would work well for both queries. And it is better to have one index, not two.
However, long indexes get to the point of "diminishing returns". 5 columns is about the limit of usefulness.
Also, it is not good to have more than, say, a dozen indexes.
Subject
Views
Written By
Posted
1347
October 21, 2015 01:19AM
869
October 21, 2015 11:18AM
Re: Whether Multiple index on Single table is necessary!??
777
October 24, 2015 08:25PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.