Documentation Home
HeatWave User Guide
Related Documentation Download this Manual
PDF (US Ltr) - 2.2Mb
PDF (A4) - 2.2Mb


HeatWave User Guide  /  ...  /  Unload All Tables

2.5.4 Unload All Tables

HeatWave MySQL can unload all tables.

Press CTRL+C to copy
mysql> CALL sys.heatwave_unload_all ([options]); options: { JSON_OBJECT("key","value"[,"key","value"] ...) "key","value": { ["only_user_loaded_tables",{true|false}] ["output",{"normal"|"silent"}] } }

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

The options include:

  • only_user_loaded_tables: Enabled by default. The procedure only unloads user tables. If false, the procedure unloads user and system tables.

  • output: Defines where to send the output. Permitted values are:

Syntax Examples

  • Unload all tables with default options:

    Press CTRL+C to copy
    mysql> CALL sys.heatwave_unload_all (NULL);
    Press CTRL+C to copy
    mysql> CALL sys.heatwave_unload_all (JSON_OBJECT());
  • Unload all user and system tables:

    Press CTRL+C to copy
    mysql> CALL sys.heatwave_unload_all (JSON_OBJECT("only_user_loaded_tables",false));
  • Unload user tables with the silent option:

    Press CTRL+C to copy
    mysql> CALL sys.heatwave_unload_all (JSON_OBJECT("output","silent"));
  • Unload all user and system tables with the silent option:

    Press CTRL+C to copy
    mysql> CALL sys.heatwave_unload_all (JSON_OBJECT("only_user_loaded_tables",false,"output","silent"));