Breakpoint Resumption Migration Method of Two-Level Sharding for Single Table with Billion Data
With the arrival of the big data era, tens of billions of single-table big data generation, the increasing data scale shows how to efficiently and quickly big data migration has become a key challenge. Current traditional big data migration methods have the problem of slow migration speed, and the risk of abnormal interruptions. This paper proposes a method for breakpoint resumption migration of secondary sharding for single-table data at the billion-scale level. Dividing primary shards into secondary shards, and employing a dynamic load balancing strategy to migrate to multiple databases enhance the independence and controllability of data migration, consequently reducing overall migration time. Additionally, in case of any anomalies during the migration process, simply rolling back and re-migrating the affected data shards ensure minimal impact on other shards or the overall migration process. To evaluate the efficacy of this method, our study conducted experiments on migrating Oracle database to other databases. The findings confirmed that the proposed approach supports migration to diverse databases, and as the number of nodes increases, migration efficiency grows exponentially. Additionally, comparative experiments were conducted between the data migration tool developed by this method and both DataX and the DaMeng Transfer Service (DTS), with equivalent data volumes. The experimental results indicate that this method performs comparably well to the leading DTS in terms of migration efficiency. However, this method’s advantage lies in its support for distributed deployment, resulting in the highest overall migration efficiency. Furthermore, unlike other migration tools, it also supports migration to multiple database platforms.
Authors
- Zesan Liu (ORCID: https://orcid.org/0009-0000-1697-1918)
- Tian Tian (ORCID: https://orcid.org/0000-0002-5082-0918)
- Wensheng Tang (ORCID: https://orcid.org/0000-0002-4259-3321)
- Y. Wang (ORCID: https://orcid.org/0009-0002-4193-083X)
Institutions
- State Grid Corporation of China (China) (CN)
Publication Details
- Journal
- International Journal of Pattern Recognition and Artificial Intelligence
- Published
- 2025-05-23
- DOI
- https://doi.org/10.1142/s0218001425540102
- Primary Topic
- Data Management and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00