本人的oracle之前是从11.2.0.4升到12.2.0.1版本,在进行使用备份集(oracle 12c之后的功能)的方式进行表空间传时,出现以下提示: RMAN> backup ascompressed backupset to platform 'Microsoft Windows x86 64-bit' 2> format '/home/oracle/HYCS.bak' 3> datapump format '/home/oracle/HYCS.dmp'tablespace HYCS; Starting backup at 07-APR-20 using channel ORA_DISK_1 RMAN-00571:=========================================================== RMAN-00569: =============== ERROR MESSAGESTACK FOLLOWS =============== RMAN-00571:=========================================================== RMAN-03002: failure of backup command at04/07/2020 10:22:26 RMAN-06596: CROSS PLATFORM BACKUP requirestarget database compatibility 12.0.0, currently set to 11.2.0.4.0
提示说使用备份集,数据库的兼容版本需要至少是12.0.0,而我的是11.2.0.4.0,需要设置我的数据库兼容版本
查看当前数据库的兼容版本信息
SQL> showparameter compatible NAME TYPE VALUE ----------------------------------------------- ------------------------------ compatible string 11.2.0.4.0 noncdb_compatible boolean FALSE plsql_v2_compatibility boolean FALSE 那就是需要将compatible参数进行调整 因compatible是个静态参数,不能直接修改,修改时,需要写入到spfile中,则命令如下: SQL> alter system setcompatible='12.0.0' scope=spfile;
System altered.
注意一点的是compatible参数只能上调,不能下调。
|