Skip to content

relationalai.api.resume_engine()

resume_engine(name STRING)

A procedure that resumes the specified RelationalAI (RAI) engine if it is suspended and blocks until the engine is ready to accept transactions. Requires the eng_admin application role.

NameTypeDescription
nameSTRINGThe name of the engine to resume (case-sensitive).

A table with the following columns:

ColumnTypeDescription
NAMESTRINGThe name of the engine.
MESSAGESTRINGA message indicating the result of the operation.

Use the api.resume_engine() procedure to resume a suspended engine:

-- Resume the engine 'my_rai_engine' if it is suspended.
CALL relationalai.api.resume_engine('my_rai_engine');
/*+-----------------+----------------------+
| NAME | MESSAGE |
+-----------------+----------------------+
| my_rai_engine | resumed successfully |
+-----------------+----------------------+ */

Refer to the Compute Resources guide for more information on managing engines.