The database is 10.2.0.4 the operating system is aix, when executing expdp to export multiple scheme objects times ORA-39014, ORA-39029, ORA-31671, ORA-39079, ORA-06512, ORA-0403
The database is 10.2.0.4 the operating system is aix, when executing expdp to export multiple scheme objects times ORA-39014, ORA-39029, ORA-31671, ORA-39079, ORA-06512, ORA-0403
Database is 10.2.0.4 operating system is aix, when executing expdp export multiple scheme objects times ORA-39014, ORA-39029, ORA-31671, ORA-39079, ORA-06512, ORA-04031: error message is as follows:
Export: Release 10.2.0.4.0-64bit Production on Monday, 17 February, 2014 9:46:52
Copyright (c) 2003,200 7, Oracle. All rights reserved.
;;;
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0-64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYSTEM". "SYS_EXPORT_SCHEMA_01": system/******** directory = dump_RLZY dumpfile = ybcwfull_140217_0946.dmp logfile = zhangschemas = ZW
1001, ZW1002, ZW1003, ZW1004, ZW1005, ZW1006, ZW1101, ZW1102, Zhejiang, ZW1206, ZW1301, ZW1302, ZW1303, ZW1304, ZW13
05, ZW1306, ZW2001, ZW2002, ZW2003, ZW2004, ZW2005, ZW2006, ZW3001, Jun, ZW4002, Jun, ZW4004, ZW4005, ZW4006, ZW5001, ZW5002, ZW5003
, Weight, ZW5005, ZW5006, ZW6001, ZW6002, ZW6003, ZW6004, ZW6005, ZW6006, ZW7001, ZW7002, weight, ZW8005, ZW8006, ZW9001, Z
W9002, ZW9003, ZW9004, ZW9005, ZW9006, ZW9999
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 997.3 MB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE
Processing object type SCHEMA_EXPORT/TABLE/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
Processing object type SCHEMA_EXPORT/FUNCTION
Processing object type SCHEMA_EXPORT/PROCEDURE
Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_PACKAGE_SPEC
Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
Processing object type SCHEMA_EXPORT/VIEW
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
..................
.. Exported "ZW9005". "GLSP_KMYS_TEMP" 0 KB 0 rows
.. Exported "ZW9005". "GLSP_KMZJS_TEMP" 0 KB 0 rows
.. Exported "ZW9005". "GLSP_KMZXFX_TEMP" 0 KB 0 rows
.. Exported "ZW9005". "GLSP_PZYJZ_TEMP1" 0 KB 0 rows
.. Exported "ZW9005". "GLSP_PZYJZ_TEMP2" 0 KB 0 rows
.. Exported "ZW9005". "GLSP_PZYJZ_TEMP3" 0 KB 0 rows
.. Exported "ZW9005". "GLSP_PZYJZ_TEMP4" 0 KB 0 rows
.. Exported "ZW9005". "GLSP_PZYJZ_TEMP5" 0 KB 0 rows
.. Exported "ZW9005". "GLSP_PZYJZ_TEMP6" 0 KB 0 rows
ORA-39014: One or more workers have prematurely exited.
ORA-39029: worker 1 with process name "DW01" prematurely terminated
ORA-31671: Worker process DW01 had an unhandled exception.
ORA-39079: unable to enqueue message DG, KUPC $ c_000020140217094653, KUPC $ a_000020140217094654, MCP, 50443, Y
ORA-06512: at "SYS. DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS. KUPC $ QUE_INT", line 924
ORA-04031: unable to allocate 2072 bytes of shared memory ("streams pool", "unknown object", "streams pool", "kod1_h3 image ")
ORA-06512: at "SYS. KUPW $ WORKER", line 1397
ORA-06512: at line 2
Job "SYSTEM". "SYS_EXPORT_SCHEMA_01" stopped due to fatal error at 10:28:18
ORA-04031: unable to allocate 2072 bytes of shared memory ("streams pool", "unknown object", "streams pool", "kod1_h3 image ")
Literally, it is caused by an error in allocating memory to the streams pool. There is a file on the MOS.
DataPump Export (EXPDP) Fails With Error ORA-4031 ("streams pool",...) (Doc ID 457724.1)
In this Document
Symptoms
Cause
Solution
References
--------------------------------------------------------------------------------
Applies:
Oracle Database-Enterprise Edition-Version 10.1.0.2 and later
Information in this document applies to any platform.
* ** Checked for relevance on 16-MAY-2012 ***
Symptoms
DataPump export (EXPDP) reports the following errors:
ORA-31626: job does not exist
ORA-31637: cannot create job SYS_EXPORT_FULL_01 for user SYSTEM
ORA-06512: at "SYS. DBMS_SYS_ERROR", line 95
ORA-06512: at & quot; SYS. KUPV $ FT_INT & quot;, line 600
ORA-39080: failed to create queues "KUPC $ c_000020070823095248" and "KUPC $ s_000020070
823095248 "for Data Pump job
ORA-06512: at "SYS. DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS. KUPC $ QUE_INT", line 1580
ORA-04031: unable to allocate 4194344 bytes of shared memory ("streams pool", "unknown object", "streams pool", "fixed allocation callback
Cause
The problem seems initially caused by having set the STREAMS_POOL_SIZE instance parameter to 0.
The first argument of the ORA-4031 error message also indicates a problem with the Streams pool.
The streams pool is used exclusively by Oracle Streams, see # CNCPT1235
Also, Data Pump export and import operations initialize the Oracle Streams pool because these operations use buffered queues.
For information about the streams pool, refer to # STREP202
The size of the streams pool grows dynamically as required by Oracle Streams.
The (initial) size also depends on usage of ASMM, AMM or manual (minimum) settings.
That means that the parameter STREAMS_POOL_SIZE = 0 is not the real root cause but the memory management cannot provide the automatic increase for the DataPump action at this time.
Setting STREAMS_POOL_SIZE> 0 will guarantee a minimum size for the streams pool when using ASMM or AMM, hence avoiding the ORA-4031.
Solution
Set the STREAMS_POOL_SIZE instance parameter to at least 48 MB to guarantuee a minimum size using:
SQL> connect/as sysdba
SQL> show parameter stream
NAME TYPE VALUE
----------------------------------------------------------------------------
Streams_pool_size big integer 0
SQL> alter system set streams_pool_size = 48 m scope = both