Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Expdp parallel parallel error reporting solution under rac

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

In fact, this is a very common problem, write it down as a souvenir.

Description:

After 11GR2, the WORKER process of EXPDP and IMDP starts on multiple INSTANCE when setting the parallel parameter, so the DIRECTORY must be on the shared disk. If the shared disk is not set, you need to specify cluster=no to prevent errors.

Tonight is a tough day. We need to synchronize data with ogg tomorrow. Because there is a large amount of data, it will be exported at night, and then imported to other databases at work tomorrow. Therefore, we choose expdp as the synchronization tool. Please refer to the following blog post:

Https://blog.51cto.com/1937519/2177360

Https://blog.51cto.com/1937519/2177352

Configuration at the beginning of export:

[oracle@scm02db01 ~] $cat aaa.txt

Dumpfile = app20180919_%U.dmp

Logfile = wms20180919.log

Directory = orabackup

Schemas=wms

Parallel=4

Include=table: "in (select name from system.exp_table)"

Include=FUNCTION

Include=PROCEDURE

Include=view

Include=TRIGGER

Include=SEQUENCE

Include=SYNONYM

Flashback_scn=6093937115518

The following error is reported:

[oracle@scm02db01 ~] $expdp system parfile=aaa.txt

Export: Release 11.2.0.4.0-Production on Wed Sep 19 21:12:41 2018

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

Password:

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0-64bit Production

With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP

Data Mining and Real Application Testing options

FLASHBACK automatically enabled to preserve database integrity.

Starting "SYSTEM". "SYS_EXPORT_SCHEMA_01": system/**** parfile=aaa.txt

Estimate in progress using BLOCKS method...

Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA

Total estimation using BLOCKS method: 143.8 GB

Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE

Processing object type SCHEMA_EXPORT/SEQUENCE/GRANT/OWNER_GRANT/OBJECT_GRANT

Processing object type SCHEMA_EXPORT/TABLE/PROCACT_INSTANCE

Processing object type SCHEMA_EXPORT/TABLE/TABLE

Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT

ORA-31693: Table data object "app". "T_WH_AAP" failed to load/unload and is being skipped due to error:

ORA-31617: unable to open dump file "/ u01/dump_dir/wms20180919_03.dmp" for write

ORA-19505: failed to identify file "/ u01/dump_dir/wms20180919_03.dmp"

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 3

ORA-27090: Unable to reserve kernel resources for asynchronous disk I/O

Additional information: 3

Additional information: 128

Additional i

ORA-31693: Table data object "app". "T_WH_AAP" failed to load/unload and is being skipped due to error:

ORA-31617: unable to open dump file "/ u01/dump_dir/app20180919_04.dmp" for write

ORA-19505: failed to identify file "/ u01/dump_dir/app20180919_04.dmp"

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 3

ORA-27090: Unable to reserve kernel resources for asynchronous disk I/O

Additional information: 3

Additional information: 128

Addition

Processing object type SCHEMA_EXPORT/TABLE/COMMENT

Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION

Processing object type SCHEMA_EXPORT/FUNCTION/GRANT/OWNER_GRANT/OBJECT_GRANT

Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE

Processing object type SCHEMA_EXPORT/PROCEDURE/GRANT/OWNER_GRANT/OBJECT_GRANT

Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION

Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE

ORA-31693: Table data object "app". "T_WH_APPP" failed to load/unload and is being skipped due to error:

ORA-31617: unable to open dump file "/ s01/dump_dir/wms20180919_03.dmp" for write

ORA-19505: failed to identify file "/ s01/dump_dir/wms20180919_03.dmp"

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 3

ORA-27090: Unable to reserve kernel resources for asynchronous disk I/O

Additional information: 3

Additional information: 128

Addition

.. Omit in the middle; omit.

Addition

Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX

Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_INDEX/INDEX

Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT

Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS

Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_INDEX/INDEX_STATISTICS

^ C

Thinking about taking a bath, I forgot that this is a set of rac databases and the exported files are not on shared storage, so press ctrl + c to terminate the export immediately:

Export > kill_job

Are you sure you wish to stop this job ([yes] / no): yes

^ CUDE-00001: user requested cancel of current operation

Then add a sentence to re-export, everything is fine:

Cluster=no

The full details are as follows:

Dumpfile = app20180919_%U.dmp

Logfile = wms20180919.log

Directory = orabackup

Schemas=wms

Parallel=4

Cluster=no

Include=table: "in (select name from system.exp_table)"

Include=FUNCTION

Include=PROCEDURE

Include=view

Include=TRIGGER

Include=SEQUENCE

Include=SYNONYM

Flashback_scn=6093937115518

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report