9.5 ヒントとトラブルシューティング

次の点に注意してください。

  • ソースがAutonomous Databaseの場合、ADVISEコマンドの実行はCPATの使用がサポートされていないため、予測できない可能性があります。

  • PROPERTIESおよびADVISEコマンドでは、接続ユーザーにSELECT ANY DICTIONARY権限が必要です。

    SELECT ANY DICTIONARY権限がない場合は、次のエラーが表示されます。

    SQL> grant connect, resource, unlimited tablespace to jdoe identified by jdoe;
    Grant succeeded.
    
    SQL> connect jdoe/jdoe
    Connected.
    
    SQL> migrateadvisor advise -schemas hr -outfileprefix pre -targettype adws -reportformat json
    
    CPAT-1004: SQL error while initializing premigration application.
    ORA-00942: table or view does not exist
    
    –-Ensure the JDBC connection information is correct. See the log file for more details.
    
    Additional Information: 255: Internal error - please contact support.
    **Exception** : /Users/xyz/pre_premigration_advisor_report.json
    
    Log file contains:
    Caused by: Error : 942, Position : 20, Sql = SELECT VERSION FROM V$INSTANCE, 
    OriginalSql = SELECT VERSION FROM V$INSTANCE, 
    Error Msg = ORA-00942: table or view does not exist