MySQL HeatWave User Guide

10.1.3 HEATWAVE_RELOAD

Reloads all tables. Available as of MySQL 8.4.0.

mysql> CALL sys.HEATWAVE_RELOAD(options);

options: {JSON_OBJECT(keyvalue[, keyvalue]...)|NULL}
keyvalue:
{
  "only_user_loaded_tables",{true|false}
  |"output",{"normal"|"silent"}
}

Use key-value pairs in JSON format to specify options. MySQL HeatWave uses the default setting if there is no defined option. Use NULL to specify no arguments.

The options include:

Syntax Examples

  • Reload tables with default routine option values:

    mysql> CALL sys.HEATWAVE_RELOAD(NULL);
    
    mysql> CALL sys.HEATWAVE_RELOAD(JSON_OBJECT());
    
  • Reload all user-loaded and automatically-loaded tables:

    mysql> CALL sys.HEATWAVE_RELOAD(JSON_OBJECT("only_user_loaded_tables",false));
    
  • Reload user-loaded tables with the output option set to silent:

    mysql> CALL sys.HEATWAVE_RELOAD(JSON_OBJECT("output","silent"));
    
  • Reload all user-loaded and automatically-loaded tables with the output option set to silent:

    mysql> CALL sys.HEATWAVE_RELOAD(JSON_OBJECT("only_user_loaded_tables",false,"output","silent"));
    

To learn more about user-loaded and automatically-loaded tables, see Automatic Loading and Unloading of DB System Tables and Partitions.