I know that indexes are used to speed up the queries. But does to many indexes slow it down instead? As an example I have the following table:
id int(11) auto_increment primary key
groupid int(11) Null
active int(11) Not null
minPH double Not null
maxPH double Not null
minTemp double Not null
maxTemp double Not null
difficulty int(11) Not null
description text Null
I use all columns except description to search, but normally (at least 9 times out of 10) it is only the id that is used. Should I make the other columns indexed as well (except description that is) or will it backfire by doing the queries where I only use id slower?