Skip to content

upgrade()

relationalai.app
upgrade()

A procedure that upgrades the RelationalAI (RAI) engines to the latest version. Requires the app_admin application role.

None.

STRING

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. |
| |
| select * from relationalai.app.upgrade_status; |
+--------------------------------------------------------------------------------------------------------------------------------+ */

While a reasoner is upgrading, in-progress transactions are cancelled and queries from RAI Python models using the reasoner will fail. Upgraded reasoners are available for use as soon as their upgrade is complete. See Get Reasoner Details for information on viewing a reasoner’s status.

For more information on upgrading the RAI Native App, see Upgrades.