Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Pinned Objects Locking Problem
I run a script to grant privileges on database objects to developers and it
normally completes in a few minutes. Lately, the script started hanging and
getting ORA 4021 after 5 minutes. Discovered the problem is a "pin lock."
The sessions holding the locks are not even active, they had accessed a
related object sometime earlier in their session.
I ended up killing the sessions because I could not find a better way, but there must be cleaner way to release these pin locks? And why is this happening now in 9i? Never had this problem before...
Thanks,
Debi
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Deborah Lorraine
INET: dlorraine_at_ucdavis.edu
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------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 Tue Sep 03 2002 - 18:54:05 CDT
![]() |
![]() |