Mengkueri informasi berjalan tentang tugas sinkronisasi.
Deskripsi operasi
This API operation is available for all DataWorks editions.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DIJobId |
integer |
Yes |
ID tugas sinkronisasi. |
11265 |
| InstanceId |
integer |
No |
ID instans. |
1234 |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. Nilai maksimum: 100. |
10 |
| SourceDataSourceName |
string |
No |
Nama sumber. |
ds_name |
| SourceDatabaseName |
string |
No |
Nama database di sumber. |
db_name |
| SourceSchemaName |
string |
No |
Nama skema sumber. |
schema_name |
| SourceTableName |
string |
No |
Nama tabel di sumber. |
table_name |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. You can use the ID to query logs and troubleshoot issues. |
691CA452-D37A-4ED0-9441 |
| PagingInfo |
object |
The pagination information. |
|
| TotalCount |
string |
The total number of entries returned. |
131 |
| PageSize |
string |
The number of entries per page. |
10 |
| PageNumber |
string |
The page number. |
1 |
| JobRunInfos |
array<object> |
The running information about the synchronization task. |
|
|
object |
The running information about the synchronization task for a single table. |
||
| SourceDatasourceName |
string |
The name of the source. |
ds_name |
| SourceDatabaseName |
string |
The name of the database in the source. |
db_name |
| SourceSchemaName |
string |
The name of the schema of the source. |
schema_name |
| SourceTableName |
string |
The name of the table in the source. |
table_name |
| DestinationDatasourceName |
string |
The name of the destination. |
dst_name |
| DestinationDatabaseName |
string |
The name of the database in the destination. |
dst_db |
| DestinationSchemaName |
string |
The name of the schema of the destination. |
dst_schema |
| DestinationTableName |
string |
The name of the table in the destination. |
dst_name |
| StructureMigrationStatus |
string |
The synchronization status of the schema. |
Finished |
| StructureMigrationErrorMessage |
string |
The error message that is returned if an error occurs during schema synchronization. If no error occurs, no value is returned for this parameter. |
create table t1 fail. |
| FullMigrationStatus |
string |
The status of full batch synchronization. |
Finished |
| FullMigrationErrorMessage |
string |
The error message that is returned if an error occurs during full batch synchronization. If no error occurs, no value is returned for this parameter. |
sync table t1 fail. |
| OfflineErrorRecords |
integer |
The total number of errors that occur during full synchronization. |
0 |
| OfflineTotalBytes |
integer |
The total number of bytes that are synchronized during full synchronization. |
100 |
| OfflineTotalRecords |
integer |
The total number of data records that are synchronized during full synchronization. |
10 |
| RealtimeMigrationStatus |
string |
The status of real-time synchronization. |
Running |
| RealtimeMigrationErrorMessage |
string |
The error message that is returned if an error occurs during real-time synchronization. If no error occurs, no value is returned for this parameter. |
sync table t1 fail. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "691CA452-D37A-4ED0-9441",
"PagingInfo": {
"TotalCount": "131",
"PageSize": "10",
"PageNumber": "1",
"JobRunInfos": [
{
"SourceDatasourceName": "ds_name",
"SourceDatabaseName": "db_name",
"SourceSchemaName": "schema_name",
"SourceTableName": "table_name",
"DestinationDatasourceName": "dst_name",
"DestinationDatabaseName": "dst_db",
"DestinationSchemaName": "dst_schema",
"DestinationTableName": "dst_name",
"StructureMigrationStatus": "Finished",
"StructureMigrationErrorMessage": "create table t1 fail.",
"FullMigrationStatus": "Finished",
"FullMigrationErrorMessage": "sync table t1 fail.",
"OfflineErrorRecords": 0,
"OfflineTotalBytes": 100,
"OfflineTotalRecords": 10,
"RealtimeMigrationStatus": "Running",
"RealtimeMigrationErrorMessage": "sync table t1 fail.\n"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.