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

Troubleshooting HeatWave — Common Issues, Causes & Fixes

   Mariusz Antonik    MySQL Heatwave    2 min read    299 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.

About the Author
Mariusz Antonik

Oracle Cloud Infrastructure expert and consultant specializing in database management and automation.

All Tags
#Advanced #alerts #Bash #bash cpu monitoring script #bash monitoring #bash scripting #Beginner #Best Practices #block volume backup #Capacity Planning #cloud backup strategy #cpu bottleneck #CPU Monitoring #cpu monitoring linux #cpu monitoring script linux #cpu trends #cpu usage trends #cpu usage trends linux #create oracle db system in oci #cron cpu monitoring #cron cpu monitoring linux #cron jobs #database monitoring #database performance #detect slow queries mysql #devops #disk capacity planning server #disk forecasting linux #disk growth trend linux #Disk Monitoring #disk usage #disk usage script linux #disk usage trends #Early Detection #easy infrastructure monitoring #free-tier #Guide #health dashboards #Health Reporting #historical server monitoring #how to monitor cpu usage linux #infrastructure #infrastructure health #infrastructure health dashboard #infrastructure health reporting #infrastructure monitoring #infrastructure monitoring report #infrastructure trends monitoring #Infrastructure Visibility #lightweight linux monitoring #lightweight monitoring #linux #linux administration #linux cpu monitoring #linux cpu usage #linux disk capacity planning #linux disk usage #Linux monitoring #linux monitoring setup #linux monitoring tools #linux performance #linux performance monitoring #linux server #linux server monitoring #linux servers #linux storage #linux tools #low maintenance monitoring #monitor cpu usage over time linux #monitor linux server health #monitor server trends #monitor small production server #monitoring without complexity #MySQL #mysql health reporting #MySQL monitoring #mysql optimization #MySQL Performance #mysql performance degradation #mysql performance monitoring #mysql performance trends #mysql query performance issues #mysql server monitoring #mysql slow queries #mysql slow query analysis #mysql slow query monitoring #mysql trends #mysql-health #networking #nsg #OCI #oci backup #oci bastion tutorial #oci block volume #oci infrastructure as code #OCI monitoring #oci networking #oci oracle database private subnet setup #oci oracle database tutorial #oci security #oci setup guide #oci terraform tutorial #oci tutorial for beginners #oci vcn terraform #oci virtual machine db system guide #oracle base database service tutorial #oracle cloud bastion #oracle cloud free tier tutorial #oracle cloud infrastructure step by step #oracle cloud infrastructure tutorial #oracle cloud storage #oracle database on oci setup #oracle-cloud #Performance #Performance Degradation #performance monitoring #performance trend monitoring #performance trends #plan disk growth server #practical server monitoring #predict disk usage growth #private instance access #query optimization #Security #security lists #server health #server health reporting #server health weekly report #server monitoring #Server Performance #server trend analysis #server-trends #simple cpu monitoring linux #simple linux monitoring #simple monitoring small business #simple monitoring system #simple ops monitoring #slow queries #slow query reporting mysql #small business infrastructure #small business IT #small business servers #small infrastructure monitoring #small server monitoring #ssh bastion #storage capacity planning linux #storage monitoring #subnets #system health reporting #terraform oci compute #terraform oracle cloud infrastructure #Trend Monitoring #trend-analysis #trends #Tutorial #vcn