ORA-03117: two-task save area overflow

在用到package dbms_metadata的时候发现问题

SQL> desc dbms_metadata
ERROR:
ORA-03117: two-task save area overflow

From metalink :

Subject: Describe of DBMS_METADATA Raises 'ORA-3117: two-task save area overflow'
Doc ID: 362447.1 Type: PROBLEM
Modified Date : 22-MAY-2007 Status: PUBLISHED

Applies to:
Oracle Server - Enterprise Edition - Version: 10.2
This problem can occur on any platform.
Symptoms
From 10.2 SQL*Plus, an attempt is made to describe a large PL/SQL object like DBMS_METADATA or DBMS_AQ:
SQL> desc dbms_metadata
ERROR:
ORA-03117: two-task save area overflow

Cause
This problem was originally raised in:

Bug 2576474 ORA-3117 WHEN DESCRIBE PACKAGE WITH PARAMETERS OF TYPE IS RECORD

The bug is marked as fixed in 10.2, however on some platforms the problem is still present in 10.2
- The problem has been reported in:

Bug 4727556 Bug 2576474 NOT FIXED IN 10.2.0.1 SOLARIS 64 BIT. ORA-3117 ON DESCRIBE DBMS_AQ
Solution
The fix for Bug 4727556 will be included in the 10.2.0.3 patchset and onwards.

Possible workarounds are:

1. Definition the object in the source code, eg. for DBMS_METADATA, find the package definition in $ORACLE_HOME/rdbms/admin/dbmsmeta.sql
2. Retrieve the source from the data dictionary, eg. use the DBMS_METADATA package:
SQL> set array 1 long 100000
SQL> spool package.txt
SQL> select dbms_metadata.get_ddl('PACKAGE', 'DBMS_METADATA', 'SYS') from dual;

References
Bug 4727556 - BUG 2576474 NOT FIXED IN 10.2.0.1 SOLARIS 64 BIT. ORA-3117 ON DESCRIBE DBMS_AQ
Bug 5114165 - DESCRIBE OF DBMS_METADATA RAISES AN ORA-3117: TWO-TASK SAVE AREA OVERFLOW
Keywords
DBMS_METADATA; DBMS_AQ;

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10897379/viewspace-1017022/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10897379/viewspace-1017022/

你可能感兴趣的:(ORA-03117: two-task save area overflow)