MySQL Forums
Forum List  »  Optimizer & Parser

setting an index for speed
Posted by: Michael Peters
Date: July 02, 2019 04:56AM

I'm surprised that I ask such a basic question but I'm suddenly not sure.

My tables have all primary keys. When I search them using this primary key as search item, would it speed up the search if I put an additional regular index key on this column, or is the primary key already taking care of that sufficiently?

-Michael

Options: ReplyQuote


Subject
Views
Written By
Posted
setting an index for speed
805
July 02, 2019 04:56AM
457
July 02, 2019 12:29PM


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.