| object | | |
Code | string | The HTTP status code returned. | 200 |
Message | string | The returned message.
Note
If the request was successful, Successful is returned. If the request failed, an error message such as an error code is returned.
| Successful |
RequestId | string | | B6D17591-B48B-4D31-9CD6-9B9796B2**** |
Success | string | Indicates whether the request was successful. Valid values:
| true |
Data | object | The detailed information, including the error codes and the number of entries that are returned. | |
PageNo | integer | | 1 |
PageSize | integer | The number of entries per page. | 10 |
Total | long | The total number of entries returned. | 2 |
List | object [] | The detailed information of the stress testing task. | |
DtsJobName | string | The name of the Data Transmission Service (DTS) migration task. | RDS_TO_RDS_MIGRATION |
ErrorMessage | string | The error message returned if the task failed. | DTS-070211: Connect Source DB failed. cause by [com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:Could not create connection to database server. Attempted reconnect 3 times. Giving up.][com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure\n\nThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.][java.net.ConnectException:Connection timed out (Connection timed out)] About more information in [https://yq.aliyun.com/articles/499178]. |
External | string | The additional information. | Null |
BackupType | string | The backup type. Valid values:
- TIMESTAMP: Data is restored to the state at a specific point in time.
- BACKUPID: Data is restored from a backup set that is identified by an ID.
| TIMESTAMP |
UserId | string | The Alibaba Cloud account ID. | 1091411816252**** |
DstType | string | The type of the identifier that is used to indicate the destination instance. Valid values:
- Instance (default): the instance ID.
- ConnectionString: the endpoint of the instance.
| Instance |
EcsInstanceId | string | The ID of the Elastic Compute Service (ECS) instance. | i-bp1ecr5go2go1**** |
DstInstanceUuid | string | The UUID of the destination instance. | hdm_d887b5ccf99fa0dc9a1e5aaac368**** |
TaskType | string | The type of the stress testing task. Valid values:
- pressure test (default): A task of this type replays the traffic that is captured from the source instance on the destination instance at the maximum playback rate that is supported by the destination instance.
- smart pressure test: A task of this type analyzes the traffic that is captured from the source instance over a short period of time and generates traffic on the destination instance for continuous stress testing. The business model based on which the traffic is generated on the destination instance and the traffic distribution are consistent with those on the source instance. Stress testing tasks of this type can help you reduce the amount of time that is consumed to collect data from the source instance and reduce storage costs and performance overheads.
| pressure test |
BenchStep | string | The substep in the stress testing task. Valid values:
- NEW: Initialize the stress testing task.
- WAIT_BUY_ECS: Purchase an ECS instance.
- WAIT_START_ECS: Start the ECS instance.
- WAIT_INSTALL_JDK: Install the Java Development Kit (JDK).
- WAIT_INSTALL_DBGATEWAY: Install the database gateway (DBGateway).
- ADD_SECURITY_IPS_STEP: Configure the whitelist of the security group.
- ARCHIVE: Archive the file that stores the analysis results of full SQL statistics.
- DOWNLOAD: Download the file that stores the analysis result of full SQL statistics.
- PROCEED: Preprocess the file that stores the analysis result of full SQL statistics.
- PRE_LOAD: Preload the file that stores the analysis result of full SQL statistics.
- VALIDATE: Verify the functionality of stress testing.
- PRESSURE: Start the stress testing task.
| PROCEED |
Version | string | The version of the stress testing task. Valid values:
| V3.0 |
EndState | string | The state that indicates the last operation performed for the stress testing task. Valid values:
- WAIT_TARGET: prepares the destination instance.
- WAIT_DBGATEWAY: prepares the DBGateway.
- WAIT_SQL: prepares the full SQL statistics.
- WAIT_LOGIC: prepares to replay the traffic.
Note
When the state of a stress testing task changes to the state that is specified by the EndState parameter, the stress testing task is complete.
| WAIT_TARGET |
SrcInstanceUuid | string | The UUID of the source instance. | hdm_3063db6792965c080a4bcb6e6304**** |
ClientType | string | The type of the stress testing client. Valid values:
- ECS: indicates that you must prepare the DBGateway.
- DAS_ECS: indicates that DAS automatically purchases and deploys an ECS instance for stress testing.
| ECS |
State | string | The state that indicates the operation performed for the stress testing task. Valid values:
- WAIT_TARGET: prepares the destination instance.
- WAIT_DBGATEWAY: prepares the DBGateway.
- WAIT_SQL: prepares the full SQL statistics.
- WAIT_LOGIC: prepares to replay the traffic.
| WAIT_TARGET |
DstIp | string | | None |
SrcPublicIp | string | | None |
BackupId | string | The ID of the backup set. You can call the DescribeBackups operation to query the ID of the backup set. | 229132 |
SqlCompleteReuse | string | The reused information about the analysis result of full SQL statistics. | {"sqlUuid":"task_a37d2f07-45cb-4413-a2a6-c66c68****","metaUuid":"task_211e2561-5c0c-486b-864c-56b511****","sqlFile":"cl-1620057600000-1800626.sc","metaFile":"cl-1620057600000-1800626.meta"} |
SmartPressureTime | integer | The duration of the stress testing task of the smart pressure test type. Unit: millisecond. | 86400000 |
ArchiveState | integer | The archiving status of the file that stores the analysis result of full SQL statistics. Valid values:
- 0: The file archiving is not started.
- 1: The file is archived.
- 2: An error occurred.
- 3: The file is being archived.
- 4: The archived file does not need to be downloaded.
| 1 |
Status | string | The status of the stress testing task. Valid values:
- SUCCESS: The task was successful.
- IGNORED: The task was ignored.
- RUNNING: The task is running.
- EXCEPTION: The task is abnormal.
| RUNNING |
WorkDir | string | The path of the temporary directory that is generated for stress testing. | /tmp/bench/ |
ArchiveOssTableName | string | The name of the table that was archived to Object Storage Service (OSS). | custins15546355_161604665**** |
DtsJobId | string | The ID of the DTS migration task. | i03e3zty16i**** |
DtsJobState | integer | The status of the DTS migration task. Valid values:
- NOT_STARTED: The task is not started.
- PRE_CHECKING: The task is in precheck.
- PRE_CHECK_FAILED: The precheck failed.
- CHECKING: The task is being checked.
- MIGRATING: The data is being migrated.
- CATCHED: The data is migrated from the source instance to the destination instance.
- SUSPENDING: The task is suspended.
- MIGRATION_FAILED: The data failed to be migrated.
- FINISHED: The task is complete.
- INITIALIZING: The synchronization is being initialized.
- INITIALIZE_FAILED: The synchronization failed to be initialized.
- SYNCHRONIZING: The data is being synchronized.
- MODIFYING: The roles of the instances are being changed.
- SWITCHING: The roles of the instances are being switched.
- FAILED: The task failed.
| CHECKING |
DstPort | integer | The port number of the destination instance. | 3306 |
DtsJobClass | string | The specification of the DTS instance.
| medium |
ClientGatewayId | string | The DBGateway ID of the stress testing client. | 58598b2af48a0193dfc16fc6964ef**** |
Description | string | The description of the stress testing task. | test-das-bench-0501 |
ErrorCode | string | The error code returned for the substep of the stress testing task. | 10109 |
TableSchema | string | The name of the table that is used for stress testing. | [{"TABLE_NAME":"customer1","TABLE_SCHEMA":"tpcc"}] |
DtsJobStatus | string | The status of the DTS migration task. Valid values:
- NOT_STARTED: The task is not started.
- PRE_CHECKING: The task is in precheck.
- PRE_CHECK_FAILED: The precheck failed.
- CHECKING: The task is being checked.
- MIGRATING: The data is being migrated.
- CATCHED: The data is migrated from the source instance to the destination instance.
- SUSPENDING: The task is suspended.
- MIGRATION_FAILED: The data failed to be migrated.
- FINISHED: The task is complete.
- INITIALIZING: The synchronization is being initialized.
- INITIALIZE_FAILED: The synchronization failed to be initialized.
- SYNCHRONIZING: The data is being synchronized.
- MODIFYING: The roles of the instances are being changed.
- SWITCHING: The roles of the instances are being switched.
- FAILED: The task failed.
| PRE_CHECK_FAILED |
SrcInstanceArea | string | The database engine of the source instance. Valid values: | RDS |
BenchStepStatus | string | The status that indicates the substep performed for the stress testing task. Valid values:
- NEW: The task is being initialized.
- RUNNING: The task is running.
- FAILED: The task failed.
- FINISHED: The task is complete.
- Terminated: The task is terminated.
- Deleted: The task is deleted.
| FINISHED |
Source | string | The source of the task. Valid values:
| DAS |
ArchiveJobId | string | | '202105211430070112231480820340758**** |
Topic | string | The topic that contains the consumed data. This topic is a topic in Message Queue for Apache Kafka. | das |
RequestDuration | long | The duration of the stress testing task. Unit: millisecond. | 86400000 |
TaskId | string | | e5cec704-0518-430f-8263-76f4dcds**** |
Rate | integer | The rate at which the stress testing task replayed the traffic. This value is a positive integer. Valid values: 0 to 30. Default value: 1. | 1 |