环境:
Oracle 11g(11.2.0.2.0) on Linux
故障描述:
某业务用使用TTS做db合并,expdp导出时报错如下:
Starting "SYSTEM"."SYS_EXPORT_TRANSPORTABLE_01": system/******** dumpfile=expdat.dmp directory=dump_dir transport_tablespaces=XX_DAT,XX_IDX transport_full_check=y
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [PLUGTS_BLK]
ORA-00904: "Q"."TABOBJ_NUM": invalid identifier
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8358
在我们的环境里,另外一个采用同样的脚本执行db合并,并没有出错,有些奇怪。
查询MOS,发现是11.2.0.2的一个bug,在没有安装XDB的情况下会出现此类报错,Unpublished Bug 号:10185688。
Oracle宣称此Bug已经在12.1和11.2.0.3中进行了修复。
确认我们环境的组件信息:
SQL> col comp_name format a60
SQL> select comp_name from dba_registry;
COMP_NAME
--------------------------------------------------
Oracle Database Catalog Views
Oracle Database Packages and Types
而实施正常业务的db中是有XDB组件的。
SQL> col comp_name format a60
SQL> select comp_name from dba_registry;
COMP_NAME
------------------------------------------------------------
Oracle Application Express
Oracle Multimedia
Oracle XML Database
Oracle Expression Filter
Oracle Rules Manager
Oracle Workspace Manager
Oracle Database Catalog Views
Oracle Database Packages and Types
JServer JAVA Virtual Machine
Oracle XDK
Oracle Database Java Packages
11 rows selected.
故障解决:
有以下几种途径来解决此bug
1:实施对应的Patch 10185688
下载地址:https://updates.oracle.com/download/10185688.html
2:升级到11.2.0.3或者12.1
3:安装XML Database组件
安装方法:参考 Master Note for Oracle XML Database (XDB) Install / Deinstall (Doc ID 1292089.1)
其中11.2中安装方法如下:
connect / as sysdba
spool xdb_install.log
set echo on
@?/rdbms/admin/catqm.sql
@?/rdbms/admin/utlrp.sql
spool off
下面是我们的安装示例:
@?/rdbms/admin/catqm.sql xdb sysaux temp YES
@?/rdbms/admin/utlrp.sql
4:导出脚本中添加"exclude=xmlschema"将xmlschema排除在外
更多阅读:
Bug 10185688 - TTS export using EXPDP fails if XDB not installed (Doc ID 10185688.8)
Data Pump TTS Export Fails With ORA-39126 & ORA-904 (Doc ID 1273450.1)
Master Note for Oracle XML Database (XDB) Install / Deinstall (Doc ID 1292089.1)
http://www.oradba.ch/2011/09/tablespace-point-in-time-recovery-and-oracle-11-2-0-2/
Oracle 11g(11.2.0.2.0) on Linux
故障描述:
某业务用使用TTS做db合并,expdp导出时报错如下:
Starting "SYSTEM"."SYS_EXPORT_TRANSPORTABLE_01": system/******** dumpfile=expdat.dmp directory=dump_dir transport_tablespaces=XX_DAT,XX_IDX transport_full_check=y
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [PLUGTS_BLK]
ORA-00904: "Q"."TABOBJ_NUM": invalid identifier
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8358
在我们的环境里,另外一个采用同样的脚本执行db合并,并没有出错,有些奇怪。
查询MOS,发现是11.2.0.2的一个bug,在没有安装XDB的情况下会出现此类报错,Unpublished Bug 号:10185688。
Oracle宣称此Bug已经在12.1和11.2.0.3中进行了修复。
确认我们环境的组件信息:
SQL> col comp_name format a60
SQL> select comp_name from dba_registry;
COMP_NAME
--------------------------------------------------
Oracle Database Catalog Views
Oracle Database Packages and Types
而实施正常业务的db中是有XDB组件的。
SQL> col comp_name format a60
SQL> select comp_name from dba_registry;
COMP_NAME
------------------------------------------------------------
Oracle Application Express
Oracle Multimedia
Oracle XML Database
Oracle Expression Filter
Oracle Rules Manager
Oracle Workspace Manager
Oracle Database Catalog Views
Oracle Database Packages and Types
JServer JAVA Virtual Machine
Oracle XDK
Oracle Database Java Packages
11 rows selected.
故障解决:
有以下几种途径来解决此bug
1:实施对应的Patch 10185688
下载地址:https://updates.oracle.com/download/10185688.html
2:升级到11.2.0.3或者12.1
3:安装XML Database组件
安装方法:参考 Master Note for Oracle XML Database (XDB) Install / Deinstall (Doc ID 1292089.1)
其中11.2中安装方法如下:
connect / as sysdba
spool xdb_install.log
set echo on
@?/rdbms/admin/catqm.sql
@?/rdbms/admin/utlrp.sql
spool off
下面是我们的安装示例:
@?/rdbms/admin/catqm.sql xdb sysaux temp YES
@?/rdbms/admin/utlrp.sql
4:导出脚本中添加"exclude=xmlschema"将xmlschema排除在外
更多阅读:
Bug 10185688 - TTS export using EXPDP fails if XDB not installed (Doc ID 10185688.8)
Data Pump TTS Export Fails With ORA-39126 & ORA-904 (Doc ID 1273450.1)
Master Note for Oracle XML Database (XDB) Install / Deinstall (Doc ID 1292089.1)
http://www.oradba.ch/2011/09/tablespace-point-in-time-recovery-and-oracle-11-2-0-2/
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29154652/viewspace-774596/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29154652/viewspace-774596/