MySQL Forums
Forum List  »  Optimizer & Parser

Re: optimize query?
Posted by: Rick James
Date: April 17, 2011 10:59PM

If eid is always a number, make it INT instead of VARCHAR(10).

And if eid is unique, make it
PRIMARY KEY(eid)
(instead of just a INDEX)

Options: ReplyQuote


Subject
Views
Written By
Posted
3140
April 16, 2011 09:41PM
Re: optimize query?
1034
April 17, 2011 10:59PM


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.