ALTER OPENFLOW RUNTIME¶
- See also:
CREATE OPENFLOW RUNTIME, DROP OPENFLOW RUNTIME, SHOW OPENFLOW RUNTIMES, DESCRIBE OPENFLOW RUNTIME
Modifies properties or changes the state of a gen 2 runtime.
Syntax¶
Parameters¶
nameSpecifies the identifier for the runtime to alter.
IF EXISTSAlters the runtime only if it exists. If the runtime does not exist, the statement does nothing and returns a success message.
SET ...Updates runtime properties.
NODE_TYPE(SMALL, MEDIUM, or LARGE) cannot be changed. UseNODE_TYPE_TIERto resize within the same node type. RequiresOWNERSHIP.SET NODE_TYPE_TIER = { S1 | S2 | S3 | M4 | M6 | L8 }Resizes the runtime to a different tier within its current node type.
S1,S2, andS3are all SMALL node type;M4andM6are both MEDIUM node type;L8is the only LARGE tier. Resizing is bidirectional within the node type. You cannot change the node type (SMALL, MEDIUM, or LARGE) withALTER; to change the node type, migrate the connector to a new runtime of the target node type. RequiresOWNERSHIP.Example:
UNSET ...Removes runtime properties. Requires
OWNERSHIP.ADD EXTERNAL_ACCESS_INTEGRATIONS = ( eai [ , ... ] )Adds external access integrations to the runtime. Requires
OWNERSHIP.REMOVE EXTERNAL_ACCESS_INTEGRATIONS = ( eai [ , ... ] )Removes external access integrations from the runtime. Requires
OWNERSHIP.RENAME TO new_nameRenames the runtime. Requires
OWNERSHIPandCREATE OPENFLOW RUNTIME.UPGRADE [ RECOVERY | FORCE ]Upgrades to the latest runtime version. Do not upgrade a runtime while its parent deployment is upgrading. Requires
OPERATE.RECOVERYupgrades the runtime in recovery mode. Use this when a runtime is in a failed state and a standard upgrade can’t proceed.FORCEupgrades the runtime even when preflight checks would otherwise block the operation. Use this only when a standard upgrade fails and you’ve confirmed the runtime can safely be upgraded.SUSPENDSuspends the runtime. Requires
OPERATE.{ RESUME | RESTART } [ RECOVERY ]Changes runtime power state. Requires
OPERATE.RECOVERYresumes or restarts the runtime in recovery mode, which starts the runtime without starting its flows. Use recovery mode to regain access to a runtime whose flows prevent it from starting normally.TERMINATE [ CASCADE ]Irreversibly destroys the runtime. Requires
OWNERSHIP.If the runtime contains connectors, plain
TERMINATEfails. UseTERMINATE CASCADEto terminate all connectors in the runtime first, then terminate the runtime.TERMINATE CASCADEis not allowed while the parent deployment is notACTIVE, or while any connector is in a transitional state.
Usage notes¶
- Gen 2 runtime deletion: suspend → terminate → drop (UI or SQL). To terminate connectors and the
runtime in one step from SQL, use
ALTER OPENFLOW RUNTIME … TERMINATE CASCADEafter suspend. See Runtime deletion workflow in Openflow gen 1 and gen 2. In the UI, Delete corresponds toALTER ... TERMINATE; Drop corresponds toDROP OPENFLOW RUNTIME. ALTERis not permitted when the runtime is inCREATING,CREATE_FAILED,TERMINATING, orTERMINATEDstate.- Users need
USAGE,OPERATE, orMONITORon the runtime, andUSAGEon its database and schema, to access it.