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
Section titled “Options”Option | Type | Required | Description |
---|---|---|---|
--resume | Flag | No | Enables the CDC service. |
--suspend | Flag | No | Disables the CDC service. |
--engine_size | Text | No | The size of the CDC engine. May be one of:
|
Example
Section titled “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 servicerai imports:setup --resume
# Disable the CDC servicerai imports:setup --suspend
Use the --engine_size
option to configure the CDC engine size:
# Configure the CDC engine size to HIGHMEM_X64_Mrai imports:setup --engine_size HIGHMEM_X64_M
See Data Management for more information on the CDC Service and the CDC engine.