MySQL Forums
Forum List  »  Performance

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

Hi,

Do you get the same EXPLAIN output on both versions?

I suggest to move all your HAVING predicates to WHERE. None of them seems to be related to the outcome of aggregation (GROUP BY).

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

Options: ReplyQuote


Subject
Views
Written By
Posted
1006
January 22, 2018 09:24AM
Re: Query slow on Windows, fast on Ubuntu
342
January 23, 2018 03:31AM


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.