解决方案 »

  1.   

    我是把linux里10g的数据导入到windows的11g里  不能向下兼容么?
      

  2.   

    --注意低版本是不能导入高版本 比如我的数据库是11gR2 对方是11gr1 需要指定版本号11.1.0.6.0 
    expdp username/password directory=dump_test dumpfile=data.dmp  version=11.1.0.6.0 
      

  3.   

    版本问题,oracle有bug
    Datapump import fails with the following errors when importing into an 11g database from a 10g export:ORA-39006: internal error 
    ORA-39113: Unable to determine database version 
    ORA-04052: error occurred when looking up remote object SYS.DBMS_UTILITY@<tns alias>
    ORA-00604: error occurred at recursive SQL level 3
    ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [], [] 
    ORA-06553: PLS-801: internal error [55916] 
    ORA-02063: preceding 2 lines from <tns alias>
    ORA-39097: Data Pump job encountered unexpected error -4052
    ORA-39006: internal error 
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79 
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3444 
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 5233 
    ORA-06512: at line 2
     CAUSEThis is due to unpublished Bug 4511371 fixed in 11.1 and 10.2.0.2, where an interoperability issue occurs during remote PLSQL lookup of an object between 10g and 11g, as documented in Note:4511371.8.SOLUTIONApply the latest patchset to the 10g database, e.g.: 10.2.0.4 or 10.1.0.5.
      

  4.   

    那怎么在impdp是指定版本呢?  我把10g中的数据导入到11g  需要在哪个地方指定?
      

  5.   

    VERSION
    要导出的对象版本。
    有效的关键字值为: [COMPATIBLE], LATEST 或任何有效的数据库版本。通过帮助查看参数 expdp help=y    impdp help=y
      

  6.   

    直接指定数据库就行了
    C:\Users\Administrator>impdp system/123456 network_link=win_to_linux remap_schema=scott:u1 schemas=scott 
    directory=first_dir  version=10.2.0.1.0  怎么来指定么?
    能说的清楚些么? 不太懂怎么解决版本之间的问题 或者有帖子写过关于这方面的 给个链接  谢谢版主
      

  7.   

    C:\Users\Administrator>impdp system/123456 network_link=win_to_linux remap_schema=scott:u1 schemas=scott 
    directory=first_dir  version=10.2.0.1.0 指定版本后还是报相同的错误  求指教
      

  8.   

    不要用这种方法了, 你先expdp导出,然后在impdp 导入试一下
      

  9.   

    就是不想生成落地文件 想用database link 的  这个oracle的bug 导致不能用这钟方法呗?
    先expdp出来的时候指定版本为10.2.0.1.0
    impdp进去的时候也指定版本为10.2.0.1.0就可以了呗?
      

  10.   


    impdp system/123456@数据库名 network_link=win_to_linux remap_schema=scott:u1 schemas=scott 
     directory=first_dir  version=10.2.0.1.0
      

  11.   


    impdp system/123456@数据库名 network_link=win_to_linux remap_schema=scott:u1 schemas=scott 
     directory=first_dir  version=10.2.0.1.0
    不行 指定了版本也不行 它还是报同样的错误
      

  12.   

    VERSION               要导出的对象的版本, 其中有效关键字为:
                           (COMPATIBLE), LATEST 或任何有效的数据库版本。
                          仅对 NETWORK_LINK 和 SQLFILE 有效。