qviqvi

Oracle 迁移 postgreSQL ,有什么经验分享

  •  
  •   qviqvi · Dec 18, 2024 · 3932 views
    This topic created in 702 days ago, the information mentioned may be changed or developed.

    马上要迁移数据了,不过代码和原 oracle 数据库都是祖传的,缺乏文档,不知道怎么迁移比较好,求经验分享

    4 replies  •  2024-12-18 16:53:58 +08:00
    netnr
    netnr
    Dec 18, 2024
    1
    只是表的话用工具转换过去,有存储过程、函数包这些要重写

    数据库转换工具 https://fishcodelib.com/DBMigration.htm
    number 类型可能要过一遍,调整一下,因为全部转成 decimal 了,还有这个工具迁移数据很慢,建议只用作迁移表架构

    数据迁移是自己写的工具 NDX https://github.com/netnr/np/releases/tag/dist

    以上经验是 Oracle 、SQLServer 、MySQL 、PG 、DM 这些数据库之间的迁移实践,数据量不大,最大的只有几百万
    defunct9
    defunct9
    Dec 18, 2024
    2
    这个我有经验,阿里云有个 PolarDB ,实际是 postgres ,完全支持 Oracle 的。
    crazyq
    crazyq
    Dec 18, 2024
    3
    没有 dblink , 权限也和 oracle 大不同,我们迁的卡住了。
    dog82
    dog82
    Dec 18, 2024
    4
    pgloader
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2635 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 04:22 · PVG 12:22 · LAX 20:22 · JFK 23:22
    ♥ Do have faith in what you're doing.