MySQL Forums
Forum List  »  Optimizer & Parser

Re: MySQL 5.1 does not seem to be using the index that I expect it to.
Posted by: Rick James
Date: April 02, 2011 11:56AM

What version of MySQL?

`status` int(11) DEFAULT NULL,

And, if recipient_id is never NULL, make it NOT NULL.
(Ditto for other fields.)

Options: ReplyQuote

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.