MySQL Forums
Forum List  »  Performance

Re: how to force index usage with a small local dev database
Posted by: Øystein Grøvlen
Date: February 19, 2018 03:47AM

Hi,

MySQL has a cost-based optimizer. Based on statistics about the current data, it will decide whether it is useful to use an index or not. Hence, which index will be used will depend on the content of the database.

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

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: how to force index usage with a small local dev database
404
February 19, 2018 03:47AM


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.