deactivate()#
relationalai.app
#deactivate()
Deactivates the RelationalAI (RAI) Native App to reduce costs while you are not using it.
Requires the app_admin
application role.
Note that models built with the relationalai
Python package can’t execute queries while your RAI Native App is deactivated.
Example#
Use the deactivate()
procedure to deactivate the RAI Native App and reduce costs when you are not using it:
#CALL relationalai.app.deactivate();
When you deactivate the app:
- The CDC service is suspended.
- All currently running queries are terminated.
- All existing RAI engines are deleted.