1. 最近使用Oracle12c 进行相关的测试工作, 平台linux 和 windows 都有一个问题
备份恢复使用的 compression=all 时导入数据库不管是oracle12c还是 oracle19c 都会报错 如下:
l_flags_bit_mask: 15 BITAND result is: 7 TABLE_DATA:"GSCLOUD2003B4"."TBZZJG" either, parallel: 1 determined method is: 4 determined parallel is: 1 In procedure BUILD_OBJECT_STRINGS - non-base info In procedure LOCATE_DATA_FILTERS Size is 0 so mark as require external In procedure BUILD_OBJECT_STRINGS - non-base info In procedure LOCATE_DATA_FILTERS In procedure DETERMINE_FATAL_ERROR with ORA-01403: 济南小老虎 2020/4/8 10:14:29 ORA-06512: 在 "SYS.KUPW$WORKER", line 31150 ----- PL/SQL Call Stack ----- object line object handle number name 00007FF9C7F43DB0 32239 package body SYS.KUPW$WORKER.WRITE_ERROR_INFORMATION 00007FF9C7F43DB0 12119 package body SYS.KUPW$WORKER.DETERMINE_FATAL_ERROR 00007FF9C7F43DB0 31503 package body SYS.KUPW$WORKER.PREPARE_DATA_IMP 00007FF9C7F43DB0 13199 package body SYS.KUPW$WORKER.DISPATCH_WORK_ITEMS 00007FF9C7F43DB0 2311 package body SYS.KUPW$WORKER.MAIN 00007FF9C7BB41F0 2 anonymous block l_flags_bit_mask: 15 BITAND result is: 7 TABLE_DATA:"GSCLOUD2003B4"."TBZZJG" either, parallel: 1 determined method is: 4 determined parallel is: 1 In procedure BUILD_OBJECT_STRINGS - non-base info In procedure LOCATE_DATA_FILTERS Size is 0 so mark as require external In procedure BUILD_OBJECT_STRINGS - non-base info In procedure LOCATE_DATA_FILTERS In procedure DETERMINE_FATAL_ERROR with ORA-01403: 未找到任何数据 ORA-39126: 在 KUPW$WORKER.PREPARE_DATA_IMP [71] 中 Worker 发生意外致命错误 TABLE_DATA:"GSCLOUD2003B4"."TEMPSELHZDX_MSN" ORA-01403: 未找到任何数据 ORA-06512: 在 "SYS.DBMS_SYS_ERROR", line 116 ORA-06512: 在 "SYS.KUPW$WORKER", line 12105 ORA-06512: 在 "SYS.DBMS_SYS_ERROR", line 116 ORA-06512: 在 "SYS.KUPW$WORKER", line 31150 ----- PL/SQL Call Stack ----- object line object handle number name 00007FF9C7F43DB0 32239 package body SYS.KUPW$WORKER.WRITE_ERROR_INFORMATION 00007FF9C7F43DB0 12119 package body SYS.KUPW$WORKER.DETERMINE_FATAL_ERROR 00007FF9C7F43DB0 31503 package body SYS.KUPW$WORKER.PREPARE_DATA_IMP 00007FF9C7F43DB0 13199 package body SYS.KUPW$WORKER.DISPATCH_WORK_ITEMS 00007FF9C7F43DB0 2311 package body SYS.KUPW$WORKER.MAIN 00007FF9C7BB41F0 2 anonymous block l_flags_bit_mask: 15 BITAND result is: 7 TABLE_DATA:"GSCLOUD2003B4"."TBZZJG" either, parallel: 1 determined method is: 4 determined parallel is: 1 In procedure BUILD_OBJECT_STRINGS - non-base info In procedure LOCATE_DATA_FILTERS Size is 0 so mark as require external In procedure BUILD_OBJECT_STRINGS - non-base info In procedure LOCATE_DATA_FILTERS In procedure DETERMINE_FATAL_ERROR with ORA-01403: 未找到任何数据 作业 "SYSTEM"."SYS_IMPORT_SCHEMA_01" 因致命错误于 星期三 4月 8 10:10:53 2020 ela psed 0 00:08:31 停止
作业进行不下去. 后来与公司的OCP 方神沟通 发现可能是oracle12c的bug (但是据他讲, 如果是更新过补丁可能无这个问题了. )
解决办法就是 压缩时 不能够使用 这个参数了 改用
compression=data_only 的参数来 避免这个错误.
部分错误信息如图示: