Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Question with lock script - phantom objects
Hi all,
I am using following script to see locks in the DB. Do you see any problems with it?
Btu here is the problem ... once in a while (aka many times a day) when we run this script, we see objects as locked by some user which should NEVER be even accessed. We have one schema that deals with out affiliates, and it is practically independent of other schema in the database. Still sometimes we see objects within the affiliate schema beign accesses by other users who have nothing to do (or the code they execute has nothing to do) with the objects displayed in the list.
One peculier thing I have noted, is affiliate schema used private synonyms and the objects listed in the lock scripts are _always_ private synonyms pointing to objects in the affiliate schema and the private synonym belongs to the user who is _not_ the locking user.
e.g.
ABC1 47,820 BROWNBRE BRS02 TX-Trans Enq SYSTEM_NETWORK_HIST MURPHYM Excl
here locking user ius brownbre locking system_network_hist owned by murphym. Actually the table is owned by affiliate and murphym has a private synonym to the table.
Any clues? DB is 9202 RAC.
TIA
Raj
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jamadagni, Rajendra INET: Rajendra.Jamadagni_at_espn.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Oct 06 2003 - 10:29:30 CDT
- text/plain attachment: ESPN_Disclaimer.txt