Home » SQL & PL/SQL » SQL & PL/SQL » DBMS_OUTPUT (11g)
DBMS_OUTPUT [message #642725] Thu, 17 September 2015 10:39 Go to next message
P1Oracle
Messages: 60
Registered: August 2014
Location: Hyderabad
Member
Hi friends,
I am getting below error:
ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes
even though i did some google and tried to change "set serveroutput on size 1000000"
but getting same problem..Please help me..
Thanq
Re: DBMS_OUTPUT [message #642726 is a reply to message #642725] Thu, 17 September 2015 10:40 Go to previous messageGo to next message
P1Oracle
Messages: 60
Registered: August 2014
Location: Hyderabad
Member
I am getting this error when i tried to call procedure
BEGIN
XEBS_PO_REQUISITIONS_PKG.MAIN;
END;
/
Re: DBMS_OUTPUT [message #642728 is a reply to message #642726] Thu, 17 September 2015 10:46 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
Have you tried setting serveroutput off?
Re: DBMS_OUTPUT [message #642729 is a reply to message #642728] Thu, 17 September 2015 10:50 Go to previous messageGo to next message
P1Oracle
Messages: 60
Registered: August 2014
Location: Hyderabad
Member
Hi thanks for the reply,
I tried to execute set serveroutput off but encountered with :
ORA-04031: unable to allocate 97272 bytes of shared memory ("large pool","unknown object","QERHJ");
Re: DBMS_OUTPUT [message #642730 is a reply to message #642729] Thu, 17 September 2015 10:52 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
What exact command did you issue to get that error?
Copy and paste the session
Re: DBMS_OUTPUT [message #642732 is a reply to message #642730] Thu, 17 September 2015 10:54 Go to previous messageGo to next message
P1Oracle
Messages: 60
Registered: August 2014
Location: Hyderabad
Member
Hi i just tried :
SQL> set serveroutput on size 1000000
Re: DBMS_OUTPUT [message #642733 is a reply to message #642725] Thu, 17 September 2015 10:55 Go to previous messageGo to next message
Solomon Yakobson
Messages: 3273
Registered: January 2010
Location: Connecticut, USA
Senior Member
SET SERVEROUTPUT ON SIZE UNLIMITED

SY.
Re: DBMS_OUTPUT [message #642734 is a reply to message #642733] Thu, 17 September 2015 11:08 Go to previous messageGo to next message
P1Oracle
Messages: 60
Registered: August 2014
Location: Hyderabad
Member
Even though when i tried above statement but still getting error:
for simple select statement also..
ORA-04031: unable to allocate 1048 bytes of shared memory 
Re: DBMS_OUTPUT [message #642736 is a reply to message #642734] Thu, 17 September 2015 11:42 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

So you fill too much the dbms_output buffer for your SGA (although I thought this buffer was in UGA).
What is the COMPLETE error message.
Or better, copy and paste your SQL*Plus session.

[Updated on: Thu, 17 September 2015 11:43]

Report message to a moderator

Re: DBMS_OUTPUT [message #642737 is a reply to message #642734] Thu, 17 September 2015 11:42 Go to previous messageGo to next message
Solomon Yakobson
Messages: 3273
Registered: January 2010
Location: Connecticut, USA
Senior Member
I doubted it comes from dbms_output which uses PGA. Comment dbms_output liners in your package and see if it runs.

SY.
Re: DBMS_OUTPUT [message #642738 is a reply to message #642737] Thu, 17 September 2015 14:07 Go to previous messageGo to next message
P1Oracle
Messages: 60
Registered: August 2014
Location: Hyderabad
Member
It has been resolved as shared memory is increased to 1gb..
Thanks all of us...
Re: DBMS_OUTPUT [message #642740 is a reply to message #642738] Thu, 17 September 2015 14:09 Go to previous message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

A problem is not resolved unless you know its origin.

Previous Topic: SQL to get amounts by type
Next Topic: pl/sql
Goto Forum:
  


Current Time: Fri Apr 19 12:46:05 CDT 2024