8.2 Upgrade or Downgrade Oracle Machine Learning for SQL
Upgrade and downgrade Oracle Machine Learning for SQL by following the steps listed.
- Pre-Upgrade Steps
Pre-upgrade considerations. - Upgrade Oracle Machine Learning for SQL
You can upgrade your database by using the Database Upgrade Assistant (DBUA) or you can perform a manual upgrade using export/import utilities. - Post Upgrade Steps
Perform steps to view the upgraded database. - Downgrade Oracle Machine Learning for SQL
Before downgrading the Oracle database back to the previous version, ensure that no models are present.
Parent topic: Administrative Tasks for Oracle Machine Learning for SQL
8.2.1 Pre-Upgrade Steps
Pre-upgrade considerations.
Parent topic: Upgrade or Downgrade Oracle Machine Learning for SQL
8.2.2 Upgrade Oracle Machine Learning for SQL
You can upgrade your database by using the Database Upgrade Assistant (DBUA) or you can perform a manual upgrade using export/import utilities.
All models and machine learning metadata are fully integrated with the Oracle Database upgrade process whether you are upgrading from 19c or from earlier releases.
Upgraded models continue to work as they did in prior releases. Both upgraded models and new models that you create in the upgraded environment can make use of the new machine learning functionality introduced in the new release.
- Use Database Upgrade Assistant to Upgrade Oracle Machine Learning for SQL
Oracle Database Upgrade Assistant provides a graphical user interface that guides you interactively through the upgrade process. - Use Export/Import to Upgrade Machine Learning Models
Use Export and Import functions of the Oracle Database to export the previously created models and import the models in an instance of Oracle Database version.
Related Topics
Parent topic: Upgrade or Downgrade Oracle Machine Learning for SQL
8.2.2.1 Use Database Upgrade Assistant to Upgrade Oracle Machine Learning for SQL
Oracle Database Upgrade Assistant provides a graphical user interface that guides you interactively through the upgrade process.
On Windows platforms, follow these steps to start the Upgrade Assistant:
-
Go to the Windows Start menu and choose the Oracle home directory.
-
Choose the Configuration and Migration Tools menu.
-
Launch the Upgrade Assistant.
On Linux platforms, run the DBUA
utility to upgrade Oracle Database.
Related Topics
Parent topic: Upgrade Oracle Machine Learning for SQL
8.2.2.2 Use Export/Import to Upgrade Machine Learning Models
Use Export and Import functions of the Oracle Database to export the previously created models and import the models in an instance of Oracle Database version.
- Export/Import Oracle Machine Learning for SQL Models
Use the export and import functions of the Oracle Database to export the previously created models and import the models in an instance of Oracle Database version.
Parent topic: Upgrade Oracle Machine Learning for SQL
8.2.2.2.1 Export/Import Oracle Machine Learning for SQL Models
Use the export and import functions of the Oracle Database to export the previously created models and import the models in an instance of Oracle Database version.
If required, you can use a less automated approach to upgrading machine learning models. You can export the models created in a previous version of Oracle Database and import them into an instance of the Oracle Database version.
To export models from an instance of a previous release of Oracle Database to a dump file, follow the instructions in Export and Import Oracle Machine Learning for SQL Models.
Parent topic: Use Export/Import to Upgrade Machine Learning Models
8.2.3 Post Upgrade Steps
Perform steps to view the upgraded database.
After
upgrading the database, check the DBA_MINING_MODELS
view in the
upgraded database. The newly upgraded machine learning models
must be listed in this view.
After you have verified the upgrade and confirmed that
there is no need to downgrade, you must set the initialization parameter
COMPATIBLE
to 23.0.0
. In Oracle Database 23ai,
when the COMPATIBLE
initialization parameter is not set in your
parameter file, the COMPATIBLE
parameter value defaults to
23.0.0
.
Related Topics
Parent topic: Upgrade or Downgrade Oracle Machine Learning for SQL
8.2.4 Downgrade Oracle Machine Learning for SQL
Before downgrading the Oracle database back to the previous version, ensure that no models are present.
Parent topic: Upgrade or Downgrade Oracle Machine Learning for SQL