|
Library cache lock and ,lib cache pin,kglhandle
Hi,
All.I was confused by the library cache concept for:libarary cache pin lock ,library cache pin,kglhandle ,and latch.
In my opinion,libarary cache pin lock ,library cache pin is chlid unit of latch in the libaray cache,and the lock mode
Yesterday,I do a test to prove library cache lock is in shared mode when being copiled,and then set to null,
I found v$session_wait view has library cache cache wait event appear,and then when I do a log execution on a procedure,and in another session do an operation of renaming a reference table,and then I captured library cache pin appear,so I proved than libarary cache pin appear when library cache lock is done,and protect the reference objects being pharsed,executed,copiled.
Am I right?Please give me som suggestion.Thanks! |
|