upgrade()#
relationalai.app
#upgrade()
A procedure that upgrades the RelationalAI (RAI) engines to the latest version.
Requires the app_admin
application role.
Parameters#
None.
Returns#
STRING
Example#
Use the app.upgrade()
procedure to manually upgrade the outdated engines to the latest version:
#CALL relationalai.app.upgrade();
/*+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Upgrade started. Monitor the upgrade status using the app.upgrade_status view to verify that all engines have been upgraded and use the app.finalize_upgrade() procedure to complete the upgrade process. |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ */
IMPORTANT
While an engine is upgrading, in-progress transactions are cancelled and queries from RAI Python models using the engine will fail. Upgraded engines are available for use as soon as their upgrade is complete. See Get Engine Details for information on viewing an engine’s status.
The first time you use an upgraded engine, you may be required to update the model’s libraries.
For more information on upgrading the RAI Native App, see Upgrades.