使用squirrel的db copy功能:选择多个表 copy paste, 可以跨多种数据库(基本上可以支持jdbc连接的数据库都可以,我只试下oracle postgresql),不错,就是它了,就是不知道速度如何,简单试了下,copy oracle表到 pg中,一切正常!

squirrel的帮助中写到:

This plugin provides the ability to:

Copy database tables between sessions

There are two new menu items available by right-clicking on certain database objects in the object tree. They are “Copy Table” and “Paste Table”. They are accessed as follows:

Open two session windows (same or different database types)

Select a schema/user in the object tree of one session and click on TABLE to expose the tables in that schema.

Select one or more tables in that object tree.

关于squirrel的new allias:

oracle:

example:  jdbcracle:thin10.162.161.5:1521:db92

user/passwd

postgresql:

example:   jdbc:postgresql://10.162.161.6:5432/postgres

user/passwd

最后个疑问了 不知道导出后是170g的dmp文件对应的oralce数据库空间到pg后又是多大,大量表做copy paste时会不会死掉并且执行多长时间?

那个dmp文件,我导入oracle库,花费了4天左右时间。

我的机器是dell power edge 4600,4g内存 系统是BSD,oracle9.2.0.4 (oracle只能使用不超过1.7g的内存 否则启不来) pg8.3

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐