suspend_cdc()#

relationalai.app
#suspend_cdc()

A procedure that disables the CDC Service for the RAI Native App. Disabling CDC deletes the CDC engine but does not delete data streams. Change tracking data is consumed while the service is disabled but is not processed until the service is resumed. Requires the cdc_admin application role.

Example#

Use suspend_cdc() to suspend the CDC Service for the RAI Native App:

#CALL relationalai.app.suspend_cdc();
/*+-----------------------------------------------------------------------------------------------------------------+
  | CDC functionality on the RelationalAI application has been suspended and its associated engine has been dropped |
  +-----------------------------------------------------------------------------------------------------------------+ */

To resume the CDC Service, use the app.resume_cdc() procedure. See Data Management for more information on data streams and the CDC service.

See Also#