oracle 12C中升級11g資料庫到12c遇到ORA-65139
阿新 • • 發佈:2019-01-28
今天使用dbua升級了原來一個11.2.0.4的資料庫,升級較慢3個多小時,但升級比較順利。 不過在後面將11g的資料庫插入
到12c中出錯
create pluggable database wool using '/home/oracle/xd.xml' nocopy; create pluggable database wool using '/home/oracle/xd.xml' nocopy * ERROR at line 1: ORA-65139: Mismatch between XML metadata file and data file /u01/app/oracle/oradata/tmoo/system01.dbf for value of fcpsb (1920217 in the plug XML file, 1921016 in the data file)
在升級完後,跑完fix指令碼後,以open read only模式開啟資料庫,使用dbms_pdb.describe生成xml檔案後,就不要開啟資料庫了,或者需要開啟,開啟完重新read only 生成xml檔案