Re: Index suggestion needed for performance improvement
Posted by:
Rick James
Date: October 04, 2015 01:22PM
> also is there any drawbacks if i create too many indexes ?
Yes, but generally the drawbacks are outweighed by the benefits.
Drawbacks (all minor):
* More work on INSERT (especially for UNIQUE).
* If you UPDATE a column that is in an index, a 'row' must be deleted from one spot in the index and re-inserted in another spot.
* The Optimizer considers all indexes, so is slowed down.
* You are likely to be adding indexes that will never be used. (I don't see any 'redundant' indexes in your table now.)
Subject
Views
Written By
Posted
1787
September 23, 2015 11:49AM
806
October 02, 2015 09:14PM
844
October 03, 2015 12:14AM
925
October 03, 2015 12:40AM
893
October 03, 2015 02:10AM
888
October 04, 2015 01:15PM
925
October 04, 2015 09:18PM
Re: Index suggestion needed for performance improvement
936
October 04, 2015 01:22PM
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.