从Oracle ADG备库导出数据并导入出现ORA-31604: transform NAME 参数 “MODIFY“ 无效, 其对象类型为 POST_TABLE_ACTION, 位于函数 ADD_T

从Oracle ADG备库导出数据并导入出现ORA-31604: transform NAME 参数 “MODIFY” 无效, 其对象类型为 POST_TABLE_ACTION, 位于函数 ADD_T

C:\Windows\system32>impdp \"/ as sysdba\" dumpfile=SCIMSDATA.DMP logfile=impscims9.log schemas=scims REMAP_TABLE=scims.tscim:tscim
3

Import: Release 11.2.0.4.0 - Production on 星期四 5月 8 23:27:16 2025

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31655: 尚未为作业选择数据或元数据对象
ORA-39039: 方案表达式 " IN ('SCIMS')" 不包含有效的方案。
已成功加载/卸载了主表 "SYS"."SYS_IMPORT_SCHEMA_01"
启动 "SYS"."SYS_IMPORT_SCHEMA_01":  "/******** AS SYSDBA" dumpfile=SCIMSDATA.DMP logfile=impscims9.log schemas=scims REMAP_TABLE=s
cims.tscim:tscim3
作业 "SYS"."SYS_IMPORT_SCHEMA_01" 已于 星期四 5月 8 23:27:18 2025 elapsed 0 00:00:01 成功完成


C:\Windows\system32>impdp \"/ as sysdba\" dumpfile=SCIMSDATA.DMP logfile=impscims9.log REMAP_TABLE=scims.tscim:tscim3

Import: Release 11.2.0.4.0 - Production on 星期四 5月 8 23:27:38 2025

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已成功加载/卸载了主表 "SYS"."SYS_IMPORT_FULL_01"
启动 "SYS"."SYS_IMPORT_FULL_01":  "/******** AS SYSDBA" dumpfile=SCIMSDATA.DMP logfile=impscims9.log REMAP_TABLE=scims.tscim:tscim
3
处理对象类型 TABLE_EXPORT/TABLE/PROCACT_INSTANCE
ORA-39126: 在 KUPW$WORKER.LOAD_MD_TRANSFORMS [] 中 Worker 发生意外致命错误
ORA-31604: transform NAME 参数 "MODIFY" 无效, 其对象类型为 PROCACT_INSTANCE, 位于函数 ADD_TRANSFORM 中

ORA-06512: 在 "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: 在 "SYS.KUPW$WORKER", line 9710

----- PL/SQL Call Stack -----
  object      line  object
  handle    number  name
00007FFBEAA94FE8     21979  package body SYS.KUPW$WORKER
00007FFBEAA94FE8      9742  package body SYS.KUPW$WORKER
00007FFBEAA94FE8     15083  package body SYS.KUPW$WORKER
00007FFBEAA94FE8     17516  package body SYS.KUPW$WORKER
00007FFBEAA94FE8      4058  package body SYS.KUPW$WORKER
00007FFBEAA94FE8     10450  package body SYS.KUPW$WORKER
00007FFBEAA94FE8      1824  package body SYS.KUPW$WORKER
00007FFBDF952120         2  anonymous block

ORA-39126: 在 KUPW$WORKER.LOAD_MD_TRANSFORMS [] 中 Worker 发生意外致命错误
ORA-31604: transform NAME 参数 "MODIFY" 无效, 其对象类型为 PROCACT_INSTANCE, 位于函数 ADD_TRANSFORM 中

ORA-06512: 在 "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: 在 "SYS.KUPW$WORKER", line 9710

----- PL/SQL Call Stack -----
  object      line  object
  handle    number  name
00007FFBEAA94FE8     21979  package body SYS.KUPW$WORKER
00007FFBEAA94FE8      9742  package body SYS.KUPW$WORKER
00007FFBEAA94FE8     15083  package body SYS.KUPW$WORKER
00007FFBEAA94FE8     17516  package body SYS.KUPW$WORKER
00007FFBEAA94FE8      4058  package body SYS.KUPW$WORKER
00007FFBEAA94FE8     10450  package body SYS.KUPW$WORKER
00007FFBEAA94FE8      1824  package body SYS.KUPW$WORKER
00007FFBDF952120         2  anonymous block

作业 "SYS"."SYS_IMPORT_FULL_01" 因致命错误于 星期四 5月 8 23:27:39 2025 elapsed 0 00:00:01 停止

解决方法,参考MOS :1596495.1
Impdp Fails With ORA-39126 ORA-31604 Iinvalid Transform NAME Parameter “MODIFY” For Object Type PROCACT_INSTANCE in function ADD_TRANSFORM (Doc ID 1596495.1)

C:\Windows\system32>impdp \"/ as sysdba\" dumpfile=SCIMSDATA2.DMP logfile=impscims9.log REMAP_TABLE=scims.tscim:tscim3 table_exist
s_action=truncate

Import: Release 11.2.0.4.0 - Production on 星期四 5月 8 23:32:28 2025

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已成功加载/卸载了主表 "SYS"."SYS_IMPORT_FULL_04"
启动 "SYS"."SYS_IMPORT_FULL_04":  "/******** AS SYSDBA" dumpfile=SCIMSDATA2.DMP logfile=impscims9.log REMAP_TABLE=scims.tscim:tsci
m3 table_exists_action=truncate
处理对象类型 TABLE_EXPORT/TABLE/TABLE
表 "SCIMS"."TSCIM3" 已存在且已截断。由于截断了 table_exists_action, 将加载数据, 但是将跳过所有相关元数据。
处理对象类型 TABLE_EXPORT/TABLE/TABLE_DATA
. . 导入了 "SCIMS"."TSCIM3"                            29.91 KB     998 行
处理对象类型 TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
处理对象类型 TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
处理对象类型 TABLE_EXPORT/TABLE/POST_TABLE_ACTION
ORA-39126: 在 KUPW$WORKER.LOAD_MD_TRANSFORMS [] 中 Worker 发生意外致命错误
ORA-31604: transform NAME 参数 "MODIFY" 无效, 其对象类型为 POST_TABLE_ACTION, 位于函数 ADD_TRANSFORM 中

ORA-06512: 在 "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: 在 "SYS.KUPW$WORKER", line 9710

----- PL/SQL Call Stack -----
  object      line  object
  handle    number  name
00007FFBEAA94FE8     21979  package body SYS.KUPW$WORKER
00007FFBEAA94FE8      9742  package body SYS.KUPW$WORKER
00007FFBEAA94FE8     15083  package body SYS.KUPW$WORKER
00007FFBEAA94FE8     17516  package body SYS.KUPW$WORKER
00007FFBEAA94FE8      4058  package body SYS.KUPW$WORKER
00007FFBEAA94FE8     10450  package body SYS.KUPW$WORKER
00007FFBEAA94FE8      1824  package body SYS.KUPW$WORKER
00007FFBDF6A8720         2  anonymous block

ORA-39097: 数据泵作业出现意外的错误 -1427
ORA-39065: DISPATCH 中出现意外的主进程异常错误
ORA-01427: 单行子查询返回多个行

作业 "SYS"."SYS_IMPORT_FULL_04" 因致命错误于 星期四 5月 8 23:32:58 2025 elapsed 0 00:00:29 停止


C:\Windows\system32>
Oracle Database 11g Release 11.2.0.4.180116DBPSU

ORACLE DATABASE Patch for Bug# 16551094 for Generic Platforms

This patch is non-RAC Rolling Installable.

This patch is Data Guard Standby-First Installable - Please read My Oracle Support Note 1265700.1 https://support.us.oracle.com/oip/faces/secure/km/DocumentDisplay.jspx?id=1265700.1
Oracle Patch Assurance - Data Guard Standby-First Patch Apply for details on how to remove risk and reduce downtime when applying this patch. 

Released: Tue May 29 05:58:42 2018
  
This document describes how you can install the ORACLE DATABASE overlay patch for bug#  16551094 on your Oracle Database 11g Release 11.2.0.4.180116DBPSU
 

 
(I) Prerequisites
--------------------
Before you install or deinstall the patch, ensure that you meet the following requirements:

Note: In case of an Oracle RAC environment, meet these prerequisites on each of the nodes.

1.	Ensure that the Oracle home on which you are installing the patch or from which you are rolling back the patch is Oracle Database 11g Release 11.2.0.4.180116DBPSU.
 
2.	Ensure that 11g Release 11.2.0.4.180116DBPSU Patch Set Update (PSU) 26925576 is already applied on the Oracle Database.

3.      Ensure that you have OPatch 11g Release 11.2.0.3.5 or higher. Oracle recommends that you use the latest version available for  11g Release 11.2.0.3.5. 
	
	Note:
	If you do not have OPatch 11g Release 11.2.0.3.5 or the latest version available for 11g Release 11.2.0.3.5, then download it from patch# 6880880 for  11.2.0.3.5.

	For information about OPatch documentation, including any known issues, see My Oracle Support Document 293369.1 OPatch documentation list:
	https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=224346.1

4.	Ensure that you set (as the home user) the ORACLE_HOME environment variable to the Oracle home.

5.	Ensure that the $PATH definition has the following executables: make, ar, ld and nm. The location of these executables depends on your operating system. On many operating systems, they are located in /usr/ccs/bin.	

6.	Ensure that you verify the Oracle Inventory because OPatch accesses it to install the patches. To verify the inventory, run the following command.
       $ opatch lsinventory 
	Note:
	-	If this command succeeds, it will list the Top-Level Oracle Products and one-off patches if any that are installed in the Oralce Home.
			- Save the output so you have the status prior to the patch apply.
	-	If the command displays some errors, then contact Oracle Support and resolve the issue first before proceeding further.

7.	(Only for Installation) Maintain a location for storing the contents of the patch ZIP file. In the rest of the document, this location (absolute path) is referred to as . Extract the contents of the patch ZIP file to the location (PATCH_TOP_DIR) you have created above. To do so, run the following command:
	$ unzip -d   p16551094_11204180116_Generic.zip 


8.	(Only for Installation) Determine whether any currently installed interim patches conflict with this patch 16551094 as shown below:
	$ cd /16551094
	$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./
	
	The report will indicate the patches that conflict with this patch and the patches for which the current 16551094 is a superset.
	
	Note:
	When OPatch starts, it validates the patch and ensures that there are no conflicts with the software already installed in the ORACLE_HOME. OPatch categorizes conflicts into the following types: 
	-	Conflicts with a patch already applied to the ORACLE_HOME that is a subset of the patch you are trying to apply  - In this case, continue with the patch installation because the new patch contains all the fixes from the existing patch in the ORACLE_HOME. The subset patch will automatically be rolled back prior to the installation of the new patch.
	-	Conflicts with a patch already applied to the ORACLE_HOME - In this case, stop the patch installation and contact Oracle Support Services.




(II) Installation  
-----------------
To install the patch, follow these steps:

1.	Set your current directory to the directory where the patch is located and then run the OPatch utility by entering the following commands:

	$ cd /16551094

	$ opatch apply

2.	Verify whether the patch has been successfully installed by running the following command:

	$ opatch lsinventory

 



(III) Postinstallation
---------------------- 


The following steps load modified SQL files into the database. For a RAC environment, perform these steps on only one node.

1.	For each database instance running on the Oracle home being patched, connect to the database using SQL*Plus. Connect as SYSDBA and run the below script as follows:

	$ sqlplus /nolog
	SQL> CONNECT / AS SYSDBA
	SQL> @?/sqlpatch/16551094/postinstall.sql
	
2.	Check the output for any errors.



(IV) Deinstallation
----------------------
Ensure to follow the Prerequsites (Section I). To deinstall the patch, follow these steps:


1.	Deinstall the patch by running the following command:

	$ opatch rollback -id 16551094
 
2.	Ensure that you verify the Oracle Inventory and compare the output with the one run before the patch installation and re-apply any patches that were rolled back as part of this patch apply. To verify the inventory, run the following command:

	$ opatch lsinventory




(V) Postdeinstallation
-----------------------

1.	For each database instance running on the Oracle home being patched, connect to the database using SQL*Plus. Connect as SYSDBA and run the below script as follows:

	$ sqlplus /nolog
	SQL> CONNECT / AS SYSDBA
	SQL> @?/sqlpatch/16551094/postdeinstall.sql

2.	Check the output for any errors.






(VI) Bugs Fixed by This Patch
---------------------------------
The following are the bugs fixed by this patch:
  16551094: DATAPUMP IMPORT REMAP_TABLE FAILS WITH ORA-39126, ORA-31604


--------------------------------------------------------------------------
Copyright 2018, Oracle and/or its affiliates. All rights reserved.
--------------------------------------------------------------------------


经过查询如果需要打补丁解决,需要先安装DBPSU。查询了26925576PSU 竟然没有Windows版本的。

  1. Ensure that 11g Release 11.2.0.4.180116DBPSU Patch Set Update (PSU) 26925576 is already applied on the Oracle Database.

从Oracle ADG备库导出数据并导入出现ORA-31604: transform NAME 参数 “MODIFY“ 无效, 其对象类型为 POST_TABLE_ACTION, 位于函数 ADD_T_第1张图片

你可能感兴趣的:(数据库运维案例分享,oracle,数据库,OGG,expdp,impdp)