This topic explains how to view logs for a batch synchronization task.
Access the log details page
You can view task execution logs from Operation Center or DataStudio.
|
Module |
Description |
|
Operation Center |
Go to the Auto Triggered Instances, Test Instance, or Data Backfill page. Filter for the instance you want to inspect, and then open its log details page. For more information, see View recurring instances, Backfill data and view data backfill instances, and Run a test and view test instances. |
|
DataStudio |
On the Operation History page, you can view the execution logs for tasks that ran in the last three days. |
Read batch synchronization logs
The following figure shows a summary log for a task. You can also click the links in Area ① or Area ⑤ to view detailed logs for each stage.
|
Area |
Parameter |
Description |
|
Submit instance (Area ①) |
SUBMIT: The scheduling system has submitted the synchronization task to a resource group for Data Integration. This indicates that the system has processed the task definition. |
The scheduling system dispatches the task to a resource group for execution. Area ① shows the Data Integration resource group that the task is using. The log output varies based on the resource group type:
Note
You can also click Detail log url in this area to view detailed logs for each execution stage. |
|
Request resources (Area ②) |
WAIT: The synchronization task is waiting for Data Integration execution resources to become available. |
If a task remains in the WAIT state for an extended period, other tasks may be occupying the resource group's resources. You can resolve this issue in the following ways:
|
|
Start synchronization (Area ③) |
RUN: The synchronization task is in progress. |
A batch synchronization task has four execution stages:
|
|
Execution completed (Area ④) |
There are two completion statuses:
|
Note
|
|
Detailed log link (Area ⑤) |
A link to the detailed log. |
Click the link to view detailed logs for each execution stage. |
Appendix: Shard key configuration
-
We recommend that you use the table's primary key as the splitPk value. Primary keys are typically evenly distributed, which helps prevent data hot spots in the resulting shards.
-
The splitPk parameter supports only integer data types. It does not support strings, floating-point numbers, or dates. If you configure splitPk with an unsupported data type, DataWorks ignores the setting and uses a single channel for data synchronization.
-
If you do not specify splitPk, that is, you do not provide splitPk or the value of splitPk is empty, the table data is synchronized by using a single channel.