无忧无卤

java空间

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 阅读(861) 评论(1)  编辑  收藏

评论

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

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


标题  
姓名  
主页
验证码 *  
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
该文被作者在 2008-04-05 10:02 编辑过
 
 
相关链接:
网站导航:




导航

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

统计

常用链接

留言簿(1)

随笔档案

相册

搜索

最新评论

  • 1. re: Mysql迁移到Oracle
  • 不错,看样子支持大多数数据库迁移到oracle,不知道是否支持从oracle转出?
  • --FastUnit

阅读排行榜

评论排行榜