Database Tuning (MOSC)

MOSC Banner

DBA_KGLLOCK

edited Jun 15, 2018 5:02AM in Database Tuning (MOSC) 2 commentsAnswered

Pls let me know which DBA view that I can join with dba_kgllock in order to find out which objects is/are pinned in the shared pool:

SQL> desc dba_kgllock

Name                                      Null?    Type

----------------------------------------- -------- ----------------------------

KGLLKUSE                                           RAW(8)

KGLLKHDL                                           RAW(8)

KGLLKMOD                                           NUMBER

KGLLKREQ                                           NUMBER

KGLLKTYPE                                          VARCHAR2(4)

DBA_KGLLOCK

DBA_KGLLOCK lists all the locks and pins held on KGL objects (objects in the Kernel Generic Library cache).

ColumnDatatypeNULLDescription
kgllkuseRAW(4)Address of the user session that holds the lock or pin
kgllkhdlRAW(4)Address of the handle for the KGL object
kgllkmodNUMBERCurrent mode of the lock or pin

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center