relationalai.app.disable_warm_engine()
disable_warm_engine(engine_size STRING)A procedure that disables the standby (warm) engine for the specified engine size in the RelationalAI (RAI) Native App.
Requires the app_admin application role.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
engine_size | STRING | The size of the engine to disable as a standby (warm) engine. |
Returns
Section titled “Returns”STRING
Example
Section titled “Example”Use the app.disable_warm_engine() procedure to disable a standby (warm) engine for a specific engine size in the RAI Native App:
-- Disable a warm engine of size HIGHMEM_X64_SCALL relationalai.app.disable_warm_engine('HIGHMEM_X64_S');/*+----------------------------------------------------------+ | Successfully disabled a warm engine of size HIGHMEM_X64_S | +----------------------------------------------------------+ */Only one warm engine can be enabled per engine size. See Warm Engines for more information.