Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: ORA-01722 until shared pool is flushed

RE: ORA-01722 until shared pool is flushed

From: <>
Date: Fri, 31 Mar 2006 13:51:02 -0500
Message-ID: <>

Thanks Dennis,


Several people have responded privately, including a few who experienced
similar problems but everyone either upgraded or retired the database.
One person had a resolution for the infrequent database link error that
we experience (setting an event on the 9i side) but since I haven't seen
that error in over 6 months I'm not going to bother implementing it.


I pinned the package two days ago and added it to our startup package
pinning routine so I'll see if that helps.  We don't usually get the
error more than once every week or two so it will be a while before I
can see if it helped and the database won't be restarted for another 6
weeks for it be pinned on startup (which I greatly prefer to pinning a
package after the database has been open for a long time).


What I find most interesting from the article you linked to is "It
generally happens in SQL only 
(during a query) not in plsql (plsql throws a different exception for
error).  " since it's definitely happening from a pl/sql package.




Jay Miller

Sr. Oracle DBA



-----Original Message-----
From: Dennis Williams [] 
Sent: Friday, March 31, 2006 11:33 AM
To: Miller, Jay
Subject: Re: ORA-01722 until shared pool is flushed




I don't see where anyone responded to your posting, so I'll give less
than expert opinion.

So you're getting an "invalid number" error? Review this AskTom
discussion. Apparently this ORA-01772 can occur in some strange ways.

Since you say that flushing the shared pool seems to alleviate the
problem for awhile, this problem might somehow be related to the shared
pool getting fragmented. You might consider pinning this stored
procedure in memory. 


Dennis Williams

This message is confidential and sent by TD Waterhouse solely for
use by the intended recipient. If you are not the intended
recipient, you are hereby notified that any use, distribution or
copying of this communication is strictly prohibited. This should
not be deemed as an offer or solicitation, to buy or sell any
product. Any 3rd party information contained herein was prepared by
sources deemed reliable, but is not guaranteed. TD Waterhouse does
not accept electronic instructions that would require an original
signature. Information received by or sent from TD Waterhouse is
stored, subject to review, and may be produced to regulatory
authorities or others with a legal right to such.

Received on Fri Mar 31 2006 - 12:51:02 CST

Original text of this message