MySQL Forums
Forum List  »  Optimizer & Parser

Re: why the two query has a different execute plan?
Posted by: Øystein Grøvlen
Date: August 22, 2016 05:08AM

Hi,

Index is used in the first case because all columns needed from us table is part of index. In the second case, query requests columns that are not part of the index.

Øystein Grøvlen,
Senior Principal Software Engineer,
MySQL Group, Oracle,
Trondheim, Norway

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: why the two query has a different execute plan?
748
August 22, 2016 05:08AM


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.