At Percona Live Online my colleague at Alibaba, Jim Tommaney, presented a study of hash join performance in MySQL and Marwho?iaDB. For some of the queries, the peformance characteristics for MySQL seemed a bit strange, and I decided to look closer into what was going on. As you can read below, I found that the crucial point was the memory usage of hash join in MySQL.
Results presented at Percona Live ONLINE
In Jims presentation, you can see the following graphs for the performance of his query 2.2 on MySQL and Marwho?iaDB:
…
[Read more]