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


HeatWave User Guide  /  ...  /  ML_MODEL_UNLOAD

3.16.11 ML_MODEL_UNLOAD

ML_MODEL_UNLOAD unloads a model from HeatWave AutoML.

As of MySQL 9.0.0, ML_MODEL_UNLOAD does not check whether the model specified is in the model catalog. If it is not, ML_MODEL_UNLOAD will succeed, but will not unload any model. Use ML_MODEL_ACTIVE to check which models are active, and owned by the user.

ML_MODEL_UNLOAD Syntax

mysql> CALL sys.ML_MODEL_UNLOAD(model_handle);

ML_MODEL_UNLOAD parameters:

  • model_handle: Specifies the model handle.

Syntax Examples

  • An ML_MODEL_UNLOAD call that specifies the model handle:

    mysql> CALL sys.ML_MODEL_UNLOAD('ml_data.iris_train_user1_1636729526');
  • An ML_MODEL_UNLOAD call that specifies a session variable containing the model handle:

    mysql> CALL sys.ML_MODEL_UNLOAD(@iris_model);