deactivate()#
relationalai.app
#deactivate()
A procedure that deactivates the RelationalAI (RAI) Native App.
Python users cannot create or query models using the RAI Python API while the app is deactivated.
Requires the app_admin
application role.
Parameters#
None.
Returns#
STRING
Example#
Use the app.deactivate()
procedure to deactivate the RAI Native App and reduce costs when you are not using it:
#CALL relationalai.app.deactivate();
/*+------------------------------------------------+
| RelationalAI service deactivated successfully. |
+------------------------------------------------+ */
When you deactivate the app:
- The CDC service is suspended.
- All currently running queries are terminated.
- All existing RAI engines are deleted.
See App Management for more information on activating and deactivating the RAI Native App.