MySQL HeatWave User Guide  /  ...  /  Unloading Models

3.9.4 Unloading Models

The ML_MODEL_UNLOAD routine unloads a model from HeatWave ML. For ML_MODEL_UNLOAD parameter descriptions, see Section 3.10.10, “ML_MODEL_UNLOAD”.

It is permitted to load multiple models but to avoid taking up too much space in memory, limit the number of loaded models to three.

The following example unloads a model:

CALL sys.ML_MODEL_UNLOAD('heatwaveml_bench.census_train_user1_1636729526');

where:

  • heatwaveml_bench.census_train_user1_1636729526 is the model handle.

To look up a model handle, see Section 3.9.8, “Model Handles”.