imports:setup#

#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.

Options#

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
  • HIGHMEM_X64_L
See Compute Pools for more information on engine sizes.

Example#

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

#$ 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:

## 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:

## 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.

See Also#