rkogelhe
asked on
DDL Locks
Sometimes when I compile a package, Toad locks up and eventually times out with ORA-04021: timeout occurred while waiting for a lock on object ...
How do I know what session is blocking the compile? OEM lock manager does not seem to show anything.
Also, this particular package is used infrequently, has no package variables, and when it is used, the action takes only a few seconds and is always committed. It seems strange that there should be any contention for this object. What's happening here?
How do I know what session is blocking the compile? OEM lock manager does not seem to show anything.
Also, this particular package is used infrequently, has no package variables, and when it is used, the action takes only a few seconds and is always committed. It seems strange that there should be any contention for this object. What's happening here?
Try to increase the value of DML_LOCKS in the init.ora and u can get v$session,V$lock.
This errors means that there are some other user accessing that object.
Try looking at v$access for the users (sessions) that access that object.
Try looking at v$access for the users (sessions) that access that object.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.