Skip to content

imports:setup

Terminal window
rai imports:setup [OPTIONS]

Manages the RelationalAI (RAI) Native App’s CDC Service. You can use this command to enable or disable CDC, configure the CDC engine size, or view the current configuration details. Requires the cdc_admin application role.

OptionTypeRequiredDescription
--resumeFlagNoEnables the CDC service.
--suspendFlagNoDisables the CDC service.
--engine_sizeTextNoThe size of the CDC engine. May be one of:
  • HIGHMEM_X64_S
  • HIGHMEM_X64_M
See Compute Pools for more information on engine sizes.

Use the imports:setup command to view configuration details for the RAI Native App’s CDC Service:

Terminal window
$ rai imports:setup
---------------------------------------------------
▰▰▰▰ Imports setup fetched
To suspend imports, use 'rai imports:setup --suspend'
Field Value
───────────────────────────────────────────
engine CDC_MANAGED_ENGINE
engine_size M
engine_status N/A
status STARTED
enabled True
createdOn 2024-10-31 06:40:44
lastSuspendedOn N/A
lastSuspendedReason N/A
---------------------------------------------------

To enable or disable the CDC service, use the --resume or --suspend options:

Terminal window
# Enable the CDC service
rai imports:setup --resume
# Disable the CDC service
rai imports:setup --suspend

Use the --engine_size option to configure the CDC engine size:

Terminal window
# Configure the CDC engine size to HIGHMEM_X64_M
rai imports:setup --engine_size HIGHMEM_X64_M

See Data Management for more information on the CDC Service and the CDC engine.