This topic describes how to view and modify the parameters of a data verification task in OceanBase Migration Service (OMS).
Limitations
OMS allows you to modify the verification parameters for a data verification task in the Not Started, Stopped, or Failed state.
View parameters
Log in to the OMS console.
In the left-side navigation pane, click Data Validation.
On the Data Verification page, click ... > View Parameters for the target task.
You can also click the name of the target task to go to its details page, and then click ... > View Parameters in the upper-right corner.
In the View Parameters panel, view the configurations of the current task.
Modify parameters
Log in to the OMS console.
In the left-side navigation pane, click Data Validation.
On the Data Validation page, click ... > Modify Parameters for the target task.
You can also click the name of the target task to go to its details page, and then click ... > Modify Parameters in the upper-right corner.
In the panel for modifying the verification type, make the necessary changes based on your business requirements.
Full verification
The following parameters are displayed only if you selected Full Validation in the Select Type & Objects step when creating a data verification task.
ParameterDescriptionSource Concurrency Configuration/Target Concurrency Configuration Minimum value: 1. Maximum value: 512. Default value: 4. Verification Mode Valid values: Adaptive Mode and IN Mode. - Adaptive Mode: Retrieves data within the same range from the source and target in batches for precise comparison.
- IN Mode: Retrieves data within a specified range from the source in batches. Then, queries the target for data with unique keys in the source range using an IN condition to check for consistency. Note that this mode cannot verify scenarios where the target contains data not present in the source, and verification performance is somewhat degraded. It is recommended to use this mode only when the target has expected excess data that does not need verification, or in database/table consolidation migration scenarios.
Limit BPS Rate? Unit: MiB/s. Maximum value: 1024. If you enable this option, please set the minimum rate for either the source or target. Verify Based on Hidden Column To ensure data consistency during migration, hidden columns are added to tables without non-null unique keys on the target side, and unique keys are created. Data migration can then perform full verification based on this unique key. For details, see Hidden column mechanism description in data migration service.
This parameter is displayed only for migrations from OceanBase MySQL Mode to OceanBase MySQL Mode or OceanBase Oracle Mode, from OceanBase Oracle Mode to OceanBase MySQL Mode, OceanBase Oracle Mode, or Oracle, from Oracle to OceanBase MySQL Mode or OceanBase Oracle Mode, from DM to OceanBase MySQL Mode, or from DM to OceanBase Oracle Mode.Note
Before selecting Yes, confirm that the corresponding hidden columns have been created and unique keys established in the target table during data migration. Enabling this parameter will not automatically perform the missing construction; verification will fail if it is absent.
Row count verification
The following parameters are displayed only if you selected Row Count Validation in the Select Type & Objects step when creating a data verification task.
ParameterDescriptionConcurrent Verification Table Count Minimum value: 1. Maximum value: 100. Default value: 10. This configuration applies to both the source and target. Query Timeout Unit: minutes. Minimum value: 1. Maximum value: 1440. Default value: 10. This configuration applies to both the source and target. Row count verification supports configuring Row Filters for table objects. Row filter conditions are object-specific settings for each table and are not provided in the Modify Parameters panel. To configure them, hover over the target table in the Specify Objects list in the Select Type & Objects step of creating a data verification task, click Settings, enter the conditions, click Validate Syntax to pass syntax validation, and then click Save. After the task is created, you can adjust row filter conditions in View and modify verification objects or configure them in bulk via text. For details, see Import verification object configuration.
Note
Row count verification will only submit the Pushdown Filter Conditions to the database for row count query execution after valid row filter conditions are configured. If no row filter conditions are configured, the pushdown parameters are not submitted. The Pushdown Filter Conditions feature is enabled by default and cannot be disabled. Ensure appropriate indexes exist in the database for the row filter conditions to achieve optimal verification performance.
Incremental verification
The following parameters are displayed only if you selected Incremental Validation in the Select Type & Objects step when creating a data verification task.
ParameterDescriptionIncremental Verification Start Point The starting point for incremental verification. The default is the task start time. Only incremental change data after this point is verified. Incremental Verification End Point The end point for incremental verification. You can set it to any time after the start time. Verification ends when the incremental change data at the set point is verified on both the source and target. Initial Verification Configuration Performs data verification based on the incremental change data at the source and target. If inconsistencies are found during initial verification, a recheck is initiated. The initial verification configuration includes: - Hot Data Cooldown Period: When the same data is frequently changed at the source, this setting allows waiting for the data to cool down before verifying the last change. Unit: seconds. Minimum value: 1. Maximum value: 3600. Default value: 5.
- Mismatch Detection Delay: After incremental data inconsistency is detected between the source and target, if repeated verification within the specified time still shows inconsistency, an inconsistent message is returned.
Unit: seconds. Minimum value: 1. Maximum value: 86400. Default value: 30.
Recheck Configuration If inconsistent data is detected during initial verification, a recheck is initiated, comparing the latest data from the source and target databases. If multiple rechecks remain inconsistent, the verification task ends with a final inconsistent result. The recheck configuration includes: - Recheck Concurrency: The maximum concurrent number of data queries allowed to the source and target during recheck. Minimum value: 1. Maximum value: 512. Default value: 16.
- Recheck Timeout: The maximum duration for recheck execution. If data remains inconsistent after the set time, the verification task ends with a final inconsistent result. Unit: minutes. Minimum value: 1. Maximum value: 720. Default value: 30.
- Limit BPS: Limits the maximum traffic per second for queries to the source and target. Unit: MiB/s. Maximum value: 1024.
Verify Based on Hidden Columns Specifies whether to perform verification based on hidden columns. During data migration, hidden columns are added to tables without non-null unique keys at the target and unique keys are created to ensure data consistency. Data migration can leverage this unique key to perform incremental verification. For details, see Hidden column mechanism description in Data Migration Service.
This parameter is displayed only for migrations from OceanBase MySQL Mode to OceanBase MySQL Mode, or from OceanBase Oracle Mode to OceanBase Oracle Mode/Oracle, and from Oracle to OceanBase MySQL Mode/OceanBase Oracle Mode.
After modifications are complete, click Save.
In the Are you sure you want to modify the parameters? dialog box, confirm the risk level and description of modifying the configuration parameters, then click OK and wait for the parameter modification to succeed.