This topic describes how to use the partition settings feature provided by the data migration service.
Limitations
Currently, partition settings are only supported when you migrate data from a Lindorm/HBase database to the HBase API compatible mode of OceanBase Database.
Procedure
Configure the data migration task in the Select Type & Objects step.
For details, see the corresponding type documentation for creating a new data migration task in the data migration module.
In the select scope step, select the target database table.
In the selected tables area, click Modify Filter Conditions on the right side of the target table.
On the partition settings page, select the following configurations.
ParameterDescriptionPartition Method Select the partition method. Currently, only KEY partition is supported. Partition Key The default is K and cannot be modified. Partitions You can enter a value between 1 and 1024. Use Combined Virtual Column Partitioning By default, this option is not selected, meaning KEY partition is used without adding virtual columns. After selecting this option, you need to enter the virtual column definition. Only the SUBSTRING syntax is supported for virtual columns. For example, SUBSTRING(K,1,4). Click OK to save the configuration.
