You may have come across numerous presentations showcasing MySQL HeatWave as a Query Accelerator for MySQL. However, if you have not yet had the opportunity to test it yourself (if you have, you already know the answer), allow us to conduct a test using actual data to determine the potential benefits of utilizing a MySQL HeatWave Cluster.

Data & Queries

The data is simple, some arduinos with a DHT22 sensor sending temperature and humidity.

So first let’s have a look at the amount of collected data:

Data size

Let’s run some queries to have a reference:

Query 1

And another one:

Query 2

HeatWave Cluster

Now let’s enable HeatWave Cluster on OCI Console:

OCI Console - HeatWave

OCI Console - HeatWave 2

OCI Console - HeatWave 3

When ready, we can verify that everything is fine and that the cluster is ready:

Check for HW cluster status

Then, we need to load the data to HeatWave:

Load data to HeatWave

Testing the queries with HeatWave

It took less than 3 minutes to load the data to HeatWave, now it’s time to test again our queries:

Query 1 on HW

And the second one:

Query 2 on HW

This is a huge improvement:

Initial Query Time Query Time with HeatWave Cluster
6 min 39.1304 sec 4.0097 sec
8 min 14.3943 sec 4.4113 sec

Could it be faster ?

We have increased the amount of HeatWave Cluster nodes:

Add HW Cluster nodes

We can verify it:

2 nodes cluster

And let’s attempt the queries once more:

Query 1 on HW with 2 nodes

And for query 2:

Query 2 on HW with 2 nodes

Having more HeatWave nodes helps improving even more the query response time.

Conclusion

In conclusion, the answer to the question “Is MySQL HeatWave really faster?” is certainlt YES!

MySQL HeatWave exhibits remarkable speed and efficiency, surpassing expectations and delivering exceptional performance.

As we’ve seen, the HeatWave cluster can turbocharge all your queries. The more complex your query, the faster it’ll be! And guess what? Adding multiple HeatWave nodes can enhance your queries even more. So why wait? Go ahead and make your queries lightning-fast!

Enjoy fast queries on MySQL HeatWave !