application is seeing times outs due to ORA-04021

ajaybelde
ajaybelde used Ask the Experts™
on
we are seeing ORA-04021 and some objects in my schema A object is being locked by other schema Bwhich doesnt have any privs on A. how could be that possible.
where a user doesnt have privs to read/write/update the object in schema can lock that schema??
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2011
Top Expert 2012
Commented:
If B calls a procedure or function owned by A or other schema that has privileges to modify/lock A's objects then B can lock A through those.
Most Valuable Expert 2012
Distinguished Expert 2018

Commented:
Is it possible that B has a privileged role like say, DBA, that might allow access?

Author

Commented:
Sdstuber,

how can i check if B is trying to access A by any Proc or function

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial