MySQL Forums
Forum List  »  Optimizer & Parser

Re: how to tune for optimizer_search_depth?
Posted by: Øystein Grøvlen
Date: December 08, 2014 05:32AM

Hi,

Do your queries contain join of very many tables? If not, changing optimizer_search_depth will not help. If yes, which MySQL version are you using?
MySQL 5.6 contains improvements in this area. (See http://jorgenloland.blogspot.co.uk/2012/04/improvements-for-many-table-joins-in.html)

Another source of long optimization times in earlier versions have been long IN lists. This is also improved in MySQL 5.6.

Hope this helps,

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

Options: ReplyQuote


Subject
Views
Written By
Posted
2373
December 03, 2014 12:13AM
Re: how to tune for optimizer_search_depth?
1462
December 08, 2014 05:32AM


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.