Back to Blog
Troubleshooting HeatWave — Common Issues, Causes & Fixes

Troubleshooting HeatWave — Common Issues, Causes & Fixes

   Mariusz Antonik    MySQL Heatwave    2 min read    4 views

Introduction

Even though HeatWave is highly stable, DBAs occasionally encounter load failures, memory issues, or cluster instability. This article covers the most common HeatWave problems and how to fix them.


1. HeatWave Load Failures

Common Causes

  1. Unsupported column types

  2. Corrupted InnoDB data

  3. Exceeded memory limits

  4. Large JSON fields

Solutions

Run:

 
SELECT * FROM sys.heatwave_load_errors;

Then fix:

  • Convert JSON → Generated columns

  • Reduce precision on large DECIMAL(65,30)

  • Normalize string columns

  • Increase HeatWave cluster size


2. HeatWave Cluster Node Failures

Nodes may enter ERROR state.

Check reason

 
SELECT * FROM performance_schema.heatwave_nodes;

Fix

  • Cluster auto-recovers if possible

  • If not → Restart HeatWave cluster:

 
CALL sys.heatwave_stop(); CALL sys.heatwave_start();

3. Memory Allocation Issues

Cause:
Data segments exceed node RAM.

Fixes:

  • Add more worker nodes

  • Drop unneeded columns from HeatWave load list

  • Use sys.heatwave_advisor to optimize data types


4. Query Not Using HeatWave

Symptoms

EXPLAIN shows MySQL using InnoDB instead of HeatWave.

Check reason

 
SELECT * FROM performance_schema.heatwave_query_info;

Common causes

  • Unsupported functions

  • Joins missing primary key

  • ON clause mismatch

  • Complex subqueries not rewriteable

Solutions

  • Rewrite query

  • Add primary keys

  • Apply required CAST/CONVERT functions


5. Table Out of Sync with HeatWave

Cause:
DML operations happen frequently.

Fix:
Reload:

 
CALL sys.heatwave_reload();

Conclusion

Most HeatWave issues are fixable using built-in advisor tools, proper monitoring, and query adjustments. Understanding internals dramatically reduces troubleshooting time.