MySQL Forums
Forum List  »  Performance

Re: Query slow on Windows, fast on Ubuntu
Posted by: Øystein Grøvlen
Date: January 23, 2018 07:42AM

Do you have the same setting for innodb_buffer_pool_size ?

It could very well be the performance is different between Linux and Windows, especially if your query is disk-bound. However, the difference is much larger than expected. Do the execution time change if you run it multiple times in a row?

How does it perform if you move all predicates from HAVING to WHERE and write "select straight_join ..." ?

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

Options: ReplyQuote


Subject
Views
Written By
Posted
663
January 22, 2018 09:24AM
Re: Query slow on Windows, fast on Ubuntu
222
January 23, 2018 07:42AM


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.