无忧无卤

鸟在笼中,恨关羽不能张飞;人处世上,要八戒更需悟空

Mysql迁移到Oracle

今天由于项目需要,需将Mysql数据库迁移到Oracle数据库

准备工具

1.连接Mysql 的jdbc 驱动 mysql-connector-java-5.0.4-bin.jar

2.Oracle公司开发的 SQL Developer 1.2

下面就是配置SQL Developer 1.2

配置环境

选择Tools-Preferences -Database-Third Party JDBC Driver 点击 Add Entry 添加Mysql的jdbc 驱动。

配置Mysql 和 Oracle 的连接

点击Connection 右键选择 New Connection 分别建立Mysql 和Oracle连接。

建立好连接后,你就可以查看你得数据库了。

配置Repository

选择 Migration -> Repository Management -> Create Repository 创建 Repository。

两种迁移数据方式:

1. Capture the source database or tables
2. Convert the captured database or tables
3. Generate DDL for the new Oracle schema objects
4. Run the generated DDL script to create the new user and objects
5. Copy any data from the source database to the new database,select Migration->Migration Data select a converted model.

快速迁移:

选择你要迁移的表或数据库,选择Migration -> Quick Migrate

Powered by Zoundry Raven

posted on 2008-04-05 09:44 beyond 阅读(4396) 评论(2)  编辑  收藏

评论

# re: Mysql迁移到Oracle 2008-04-05 15:43 FastUnit

不错,看样子支持大多数数据库迁移到oracle,不知道是否支持从oracle转出?  回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航:
 

导航

<2008年4月>
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

统计

常用链接

留言簿(1)

随笔档案

相册

搜索

最新评论

  • 1. re: 近期任务
  • 大哥 等着你的drools5翻译呢 drools4把我搞死了 如果你有关于drools4的心得的话请指教 感觉自己使用的不是很好 望赐教 QQ:53816565 谢谢
  • --sunnidy
  • 2. re: Mysql迁移到Oracle
  • 不错,看样子支持大多数数据库迁移到oracle,不知道是否支持从oracle转出?
  • --FastUnit

阅读排行榜

评论排行榜