DB-异构数据库迁移工具

迁移流程

image-20210109164124612

迁移工具

ora2pg

它是一款用于将Oracle|MySQL数据库迁移到PostgreSQL兼容的模式,在github上的开源工具。

通过连接到源端数据库并扫描提取对象的结构和数据,然后生成可以装载到PostgreSQL数据库的SQL脚本文件。

组成

Ora2pg工具主要包含一个perl脚本文件(ora2pg)和Perl 模块文件(Ora2Pg.pm),以及一个设置指定Oracle数据库的DNS配置文件(ora2pg.conf)。

软件下载地址

curl -LO https://github.com/darold/ora2pg/archive/v21.0.zip

它是基于perl开发的,因此,需要依赖perl相关环境依赖

yum install -y perl-Time-HiRes perl perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker perl-Test-Simple 

AWS Schema Conversion Tool (AWS SCT)

它亚马逊支持的将异构数据库(如mssql,oracle等)转换成postgresql或Amazon Aurora mysql

sqluldr2

用于将oracle数据高效导出到特定格式文本(如:TEXT|CSV)的工具。

SQLines Data

SQLines Data 是一款开源(Apache License 2.0),可伸缩,并行高性能的data传输、schema转换工具,可以用作数据库迁移和ETL处理。

软件地址

https://github.com/ChrisYuan/SQLines-Data

curl -LO https://github.com/ChrisYuan/SQLines-Data/blob/master/sqlinesdata31777_x86_64_linux.tar.gz
原文地址:https://www.cnblogs.com/binliubiao/p/14255600.html