MySQL Forums
Forum List  »  Optimizer & Parser

Re: why the two query has a different execute plan?
Posted by: Rick James
Date: August 26, 2016 02:29PM

Corollary to Øystein's answer: Spell out the columns you need instead of simply saying "*".

You will want utf8mb4; there are Chinese characters missing from utf8.

Why have `id` when `user_id` looks like a perfectly good column for the PRIMARY KEY? Ditto for `customer_id` on the other table.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: why the two query has a different execute plan?
707
August 26, 2016 02: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.