简体   繁体   English

从SQL Server迁移到Oracle-捕获失败

[英]Migration from SQL server to Oracle - Capture failing

I am trying to migrate a database from SQL server to Oracle. 我正在尝试将数据库从SQL Server迁移到Oracle。 Following the procedure documented here: http://www.oracle.com/technetwork/database/migration/connect-sqlserver-1945229.html 按照此处记录的步骤进行操作: http : //www.oracle.com/technetwork/database/migration/connect-sqlserver-1945229.html

Source DB: SQL Server 2012 Standard Edition with Service Pack 2 (x64) 源数据库:带有Service Pack 2(x64)的SQL Server 2012 Standard Edition

Target DB: Oracle 11g 目标数据库:Oracle 11g

OS: Windows 2012 x64 作业系统:Windows 2012 x64

Following the procedure listed above I have installed SQL Developer, the jdbc driver, the oracle database. 按照上面列出的过程,我已经安装了SQL Developer,jdbc驱动程序和oracle数据库。 I created the migration repository as listed in the procedure. 我创建了过程中列出的迁移存储库。 The connection to the sql server source database via sql developer works. 通过sql developer与sql server源数据库的连接有效。 The connection to the migration repository account in oracle works. 与oracle中的迁移存储库帐户的连接有效。

When I try to perform any meaningful migration there is always an error as a popup window saying: "migration actions have failed check the migration reports for details. : Capture Enterprise Capture Capture failed. Refer to MIGRLOG table in the repository for details" 当我尝试执行任何有意义的迁移时,弹出窗口始终会显示一个错误:“迁移操作失败,请检查迁移报告以了解详细信息。:Capture Enterprise Capture Capture失败。有关详细信息,请参考存储库中的MIGRLOG表”

  • The MIGRLOG table is empty. MIGRLOG表为空。
  • The logs in the output folder are empty in most tries and not helpful in the other tries. 在大多数尝试中,输出文件夹中的日志为空,而在其他尝试中无用。

How can I find out why the capture failed? 我如何找出捕获失败的原因?

The problem can be solved by granting more privileges to the migration repository. 通过为迁移存储库授予更多特权可以解决该问题。 I found this from here: 我从这里找到这个:

sql error on script execution. 执行脚本时出现sql错误。 try deleting repository before creating repository 在创建存储库之前尝试删除存储库

Thanks to Oxalc! 感谢Oxalc!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM