今天在导数的时候居然遇到一个bug了,导入一张分区表,始终都是报错!
. . imported "BOS"."Z_BP_TMPDATA_1_TB_HIS":"Z_BP_TMPDATA_1_TB_HIS_2009101" 158.8 MB 862423 rows
. . imported "BOS"."Z_BP_TMPDATA_1_TB_HIS":"Z_BP_TMPDATA_1_TB_HIS_2010022" 147.2 MB 800238 rows
. . imported "BOS"."Z_BP_TMPDATA_1_TB_HIS":"Z_BP_TMPDATA_1_TB_HIS_2011021" 140.0 MB 766408 rows
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.LOAD_DATA while calling KUPD$DATA.START_JOB [TABLE_DATA:"BOS"."Z_BP_TMPDATA_1_TB_HIS":"Z_BP_TMPDATA_1_TB_HIS_MAX"]
ORA-24795: Illegal ROLLBACK attempt made
ORA-24795: Illegal ROLLBACK attempt made
ORA-06512: at "SYS.KUPW$WORKER", line 10915
ORA-00600: internal error code, arguments: [kupdls_rdData_01], [ORA-26095: unprocessed stream data exists
], [], [], [], [], [], []
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.KUPW$WORKER", line 6313
----- PL/SQL Call Stack -----
object line object
handle number name
3b53b70f0 15032 package body SYS.KUPW$WORKER
3b53b70f0 6372 package body SYS.KUPW$WORKER
3b53b70f0 3908 package body SYS.KUPW$WORKER
3b53b70f0 6986 package body SYS.KUPW$WORKER
3b53b70f0 1314 package body SYS.KUPW$WORKER
3b4e51a30 2 anonymous block
Job "SYS"."IMPDP_Z0502_PART" stopped due to fatal error at 15:08:58
oracle support上查询了一下
Applies to:
Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 10.2.0.4
This problem can occur on any platform.
Symptoms
Impdp fails ORA-00600: [kupdls_rdData_01]when importing table partition.
Starting "SYS"."NRM_REPLICA_28022009_1": sys/********@db1 AS SYSDBA
DIRECTORY=dp_test DUMPFILE=test.dmp LOGFILE=test.LOG
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "TEST"."TAB":"SYS_P2965" 8.810 MB 105310 rows
. . imported "TEST"."TAB":"SYS_P2966" 8.808 MB 105052 rows
. . imported "TEST"."TAB":"SYS_P2967" 8.823 MB 105536 rows
. . imported "TEST"."TAB":"SYS_P2968" 8.812 MB 105320 rows
. . imported "TEST"."TAB":"SYS_P2969" 8.825 MB 105270 rows
. . imported "TEST"."TAB":"SYS_P2970" 8.799 MB 105194 rows
. . imported "TEST"."TAB":"SYS_P2971" 8.802 MB 105210 rows
. . imported "TEST"."TAB":"SYS_P2972" 8.773 MB 104974 rows
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.LOAD_DATA while
calling KUPD$DATA.START_JOB [TABLE_DATA:"TEST"."TAB":"SYS_P2973"]
ORA-24795: Illegal ROLLBACK attempt made
ORA-24795: Illegal ROLLBACK attempt made
ORA-06512: at "SYS.KUPW$WORKER", line 10804
ORA-00600: internal error code, arguments: [kupdls_rdData_01], [ORA-
26095: unprocessed stream data exists], [], [], [], [], [], []
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.KUPW$WORKER", line 6234
----- PL/SQL Call Stack -----
object line object
handle number name
c000000096673f60 14916 package body SYS.KUPW$WORKER
c000000096673f60 6293 package body SYS.KUPW$WORKER
c000000096673f60 3829 package body SYS.KUPW$WORKER
c000000096673f60 6896 package body SYS.KUPW$WORKER
c000000096673f60 1259 package body SYS.KUPW$WORKER
c000000098eb2240 2 anonymous block
CALL STACK
----------
kpodpls opiodr kpoodr upirtrc kpurcsc kpudpxls_intCtxLoad ...
The issue only occurs on Oracle 10g. Importing the same dumpfile on Oracle 11g succeeds.
Cause
This is identical to Bug:8348698 and was confimed to be a duplicate of unpublished Bug 4778249.
Solution
FIX
The issue is fixed in Oracle RDBMS release 11.1
WORKAROUND
Import data by 2 steps:
-- First, import metadata only
impdp ... content=metadata_only
-- Next, import data only
impdp ... content=data_only
因为我这边导入是有中文的,而有字符集的转换,所以oracle建议,
1,创建一张普通表但是与导入表结构一致,导入时只导入数据;
2,创建一张分区表,将数据库通过insert /*+ append */的方式或者通过在线重定义的方式转换一下表。
这样就可以了。
谢谢