Re: How to determine sessions with invalid package states
- From: Rumpi Gravenstein <rgravens@xxxxxxxxx>
- To: oracle-l-freelists <oracle-l@xxxxxxxxxxxxx>
- Date: Thu, 7 May 2009 10:35:34 -0400
I received a couple of responses on this -- the responses were around looking at locks. That will not help. I'm attempting to find packages that have invalid session state. The scenario is like so Session one calls package TEST that creates session state A Session two recompiles package TEST. If session one had a lock, this would not be possible. At this point session one's package state is invalid. Session one calls package TEST and receives something along the lines of: ORA-*04068: existing state of packagesstringstringstring has been discarded * On Wed, May 6, 2009 at 1:27 PM, Rumpi Gravenstein <rgravens@xxxxxxxxx>wrote: > All, > > Is it possible to write a query to identify sessions that are holding > invalidated package states? We are looking at issues around code > migrations. The goal is to only recycle sessions that we know will have > problems. Any ideas? > > -- > Rumpi Gravenstein > -- Rumpi Gravenstein
- Follow-Ups:
- Re: How to determine sessions with invalid package states
- From: Toon Koppelaars
- Re: How to determine sessions with invalid package states
- From: Rajeev Prabhakar
- RE: How to determine sessions with invalid package states
- From: Tanel Poder
- Re: How to determine sessions with invalid package states
- References:
- How to determine sessions with invalid package states
- From: Rumpi Gravenstein
- How to determine sessions with invalid package states
Other related posts:
- » How to determine sessions with invalid package states - Rumpi Gravenstein
- » RE: How to determine sessions with invalid package states - SHEEHAN, JEREMY
- » RE: How to determine sessions with invalid package states - Goulet, Richard
- » Re: How to determine sessions with invalid package states - Rumpi Gravenstein
- » Re: How to determine sessions with invalid package states - Toon Koppelaars
- » RE: How to determine sessions with invalid package states - Bobak, Mark
- » Re: How to determine sessions with invalid package states - Rajeev Prabhakar
- » RE: How to determine sessions with invalid package states - Tanel Poder
- » Re: How to determine sessions with invalid package states - Jared Still
- » RE: How to determine sessions with invalid package states - Goulet, Richard
- » Re: How to determine sessions with invalid package states - Rumpi Gravenstein
- » Re: How to determine sessions with invalid package states - Riyaj Shamsudeen
- » RE: How to determine sessions with invalid package states - Tanel Poder