Help Center/ ROMA Connect/ Troubleshooting/ Common Data Integration Tasks/ Data May Be Lost When Incremental Data Collection Is Performed from the Source MySQL on an Hourly Basis
Updated on 2022-02-21 GMT+08:00

Data May Be Lost When Incremental Data Collection Is Performed from the Source MySQL on an Hourly Basis

Cause Analysis

The source database uses createtime to record the time when data is inserted and uses updatetime to record the time when data is updated. During task creation, Timestamp is set to updatetime. However, the value of updatetime is earlier than that of createtime in the source database. When the task is executed, the time specified updatetime is not within the incremental collection period. As a result, some data cannot be collected.

Solution

Change the value of updatetime in the source database or use createtime as the timestamp field during task creation.