After you create a mapping, add the mapping to a mapping task, and configure the advanced properties. Run the associated mapping task to write the changed data to Snowflake.
From the
Actions
menu, click
New Mapping Task
.
The
New Mapping Task
page appears.
In the
Definition
tab, enter the task name and select the configured mapping.
In the
CDC Runtime
tab, specify the required properties for the selected CDC source.
For more information about the
CDC Runtime
properties, see the source properties for the selected CDC source.
In the
Runtime Options
tab, add the following properties in the
Advanced Session Properties
section:
In the
Commit on End of File
field, select the value of the property as
No
.
In the
Commit Type
field, select the value of the property as
Source
.
In the
Recovery Strategy
field, select the value of the property as
Resume from last checkpoint
.
Click
Save
Run
the mapping task.
Alternatively, you can create a schedule that runs the mapping task on a recurring basis without manual intervention. You can define the schedule to minimize the time between mapping task runs. In
Monitor
, you can monitor the status of the logs after you run the task.
To improve performance, specify a higher commit interval for the Maximum Rows Per Commit property in the CDC Runtime page in the mapping task wizard. However, in case of failure, recovery takes more time for a higher commit interval.