Advertisement

03.29.2006 at 07:45AM PST, ID: 21793692
[x]
Attachment Details

package locking

Asked by hans_vd in Oracle Database

Tags: package, compile, locking

Today a developer added a column to a very frequently used table in our production environment, which caused a number of packages to get invalid.

One package did not compile, our developer tool hung and after a while we got a time-out message.  We couldn't come up with anything better (and we needed a solution quickly) than killing all processes in the database that were using the package (we got that info from dba_ddl_locks), and then recompile the package successfully.  As our users weren't really amused, we'd like to come up with a better solution in the future, if there is one?

We already blocked access to our production environment for part of the developers, but still this could happen to others.

Does any of you know how to handle this kind of problems in a better way?Start Free Trial
[+][-]03.29.2006 at 07:56AM PST, ID: 16322897

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.29.2006 at 10:54AM PST, ID: 16324864

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Oracle Database
Tags: package, compile, locking
Sign Up Now!
Solution Provided By: markgeer
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.02.2006 at 04:26AM PDT, ID: 16354139

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32