数据库迁移工具-ora2pg
Ora2pg可以用来将Oracle数据库转换成PostgreSQL,采用Perl开发在GPLv3的协议下使用。
Ora2Pg is a Perl module to export an Oracle database schema to a PostgreSQL compatible schema. It connects your Oracle database, extracts its structure, and generates an SQL script that you can load into your PostgreSQL database.
最新版本:12.0
修复了很多 bug,增加了三个新特性:
1. 使用 REORDERING_COLUMNS 指令来对列进行重新排序
2. PG_SUPPORTS_MVIEW 来使用 PG 9.3 新语法导出物化视图
3. USE_TABLESPACE 变量用来导出对象,使之使用原来的表空间
项目主页:http://pgfoundry.org/projects/ora2pg
该文章最后由 阿炯 于 2013-11-18 14:52:16 更新,目前是第 2 版。