历史数据迁移

  • 项目地址:https://gitee.com/xl-echo/dataMigration

历史迁移解决方案。微服务的架构为基础,使用多种设计模式,如:单利、桥接、工厂、模板、策略等。其中涉及的核心技术有,多线程、过滤器等。致力于解决mysql大表迁移的问题。提供多种迁移模式,如:库到库、库到文件再到库等!
Historical migration solution. Based on the architecture of microservices, multiple design patterns are used, such as simple interest, bridge, factory, template, strategy, etc. The core technologies involved include multithreading, filters, etc. It is committed to solving the problem of MySQL large table migration. Provide multiple migration modes, such as library to library, library to file, and then to library

开发环境

工具版本描述
IDEA2019.2
JDK1.8
MySQL5.75.7 +

技术框架

技术描述用途备注
SpringBoot基础框架构建系统架构
MyBatisORM框架构建数据层
JDBC构建外部数据源用于配置迁移
Maven项目管理项目管理
ExecutorService线程池分批执行任务
Bloom Filter布隆过滤器校验数据是否一致

功能模块

在这里插入图片描述

设计模式

  • 桥接
  • 单例
  • 工厂
  • 模板
  • 策略

迁移逻辑图解

Logo

秉承“创新、开放、协作、共享”的开源价值观,致力于为大规模开源开放协同创新助力赋能,打造创新成果孵化和新时代开发者培养的开源创新生态!支持公有云使用、私有化部署以及软硬一体化私有部署。

更多推荐