Updated on 2025-01-26 GMT+08:00

Querying Incremental Component Details

Function

This API is used to query details about incremental components for an incremental or full+incremental task. For details, see Querying the Synchronization Progress.

Constraints

  • This API is only available for synchronization from Oracle to GaussDB Distributed, Oracle to GaussDB Centralized, GaussDB Distributed to GaussDB Distributed, GaussDB Distributed to MySQL, GaussDB Distributed to GaussDB Centralized, GaussDB Distributed to GaussDB(DWS), GaussDB Distributed to Oracle, GaussDB Centralized to GaussDB Centralized, GaussDB Centralized to GaussDB Distributed, GaussDB Centralized to GaussDB(DWS), GaussDB Centralized to Oracle, Oracle to GaussDB(DWS), and Oracle to MySQL.
  • This API can be used only in certain regions. For details, see Endpoints.

URI

GET /v5/{project_id}/jobs/{job_id}/increment-components-detail

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID of a tenant in a region.

For details, see Obtaining a Project ID.

job_id

Yes

String

Task ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

Content-Type

Yes

String

MIME type of the request body. Use the default value application/json. For APIs used to upload objects or images, the value varies depending on the flow type.

The default value is application/json.

X-Auth-Token

Yes

String

User token obtained from IAM. It is a response to the API for obtaining a user token. After a request is processed, the value of X-Subject-Token in the header is the token value.

X-Language

No

String

Request language type.

Default value: en-us

Enumerated values:

  • en-us
  • zh-cn

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

update_time

String

Update time.

increment_components_list

Array of objects

Incremental component details.

For details, see Table 4.

Table 4 increment_components_list parameters

Parameter

Type

Description

type

String

Component type. The value can be:

  • capture: capture component.
  • apply: replay component.

Enumerated values:

  • capture
  • apply

status

String

Status.

  • STOPPED: The component is stopped.
  • STARTED: The component is in progress.
  • STOPPING: The component is being stopped.
  • STARTING: The component is being started.

start_time

String

Start time.

start_point

String

Start position.

current_point

String

Current position.

resolution_time

String

Parsing time.

delay

String

Delay, in seconds.

Example Request

Querying the incremental component details

https://{enpoint}/v5/246765b9f59445c3919fce121ea801f4/jobs/429b9210-118d-4711-87cb-be8e2dejb201/increment-components-detail

Example Response

Status code: 200

OK

{
  "increment_components_list" : [ {
    "type" : "capture",
    "status" : "STARTED",
    "start_time" : "2023-07-19T03:09:25Z",
    "start_point" : "0;0|0",
    "current_point" : "0;0|0",
    "resolution_time" : "2023-07-19T03:09:25Z",
    "delay" : "2"
  }, {
    "type" : "apply",
    "status" : "STARTED",
    "start_time" : "2023-07-19T03:09:25Z",
    "start_point" : "-1",
    "current_point" : "0;0|0",
    "resolution_time" : "2023-07-19T03:09:25Z",
    "delay" : "3"
  } ],
  "update_time" : "2023-07-19T03:09:25Z"
}

Status Code

Status Code

Description

200

OK

Error Code

For details, see Error Code.