MySQL Forums
Forum List  »  Optimizer & Parser

Re: Why MySQL does not use an index?
Posted by: Rick James
Date: February 11, 2012 10:48PM

Note that your newer version picked "index merge". This is a feature that has long been rarely invoked. Perhaps the newer version has some fixes in that area.

Still index merge is not as efficient as a good compound index. Please add one of these:
INDEX(type, device_ip, created_at)
INDEX(device_ip, type, created_at)

Options: ReplyQuote


Subject
Views
Written By
Posted
1267
January 19, 2012 12:25AM
1166
February 10, 2012 09:50AM
Re: Why MySQL does not use an index?
1275
February 11, 2012 10:48PM


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.