Use Oradebug direct_access to directly read data from x$tables
SQL> oradebug help direct_access
DIRECT_ACCESS <set/enable/disable command | select query> Fixed table access
oradebug direct_access [enable/disable] trace - to start/stop writing data to trace file
Select Sample - getting information about library cache:
SQL> oradebug setmypid
Statement processed.
SQL> oradebug direct_access SELECT * FROM X$KSMLRU
ADDR = D28F85C
INDX = 0
INST_ID = 1
KSMLRIDX = 1
KSMLRDUR = 0
KSMLRSHRPOOL = 1
KSMLRCOM =
KSMLRSIZ = 0
KSMLRNUM = 0
KSMLRHON =
KSMLROHV = 0
KSMLRSES = 0
KSMLRADU = 0
KSMLRNID = 0
KSMLRNSD = 0
KSMLRNCD = 0
KSMLRNED = 0
"Where" clause is not supported:
SQL> oradebug direct_access SELECT * FROM X$KSMLRU WHERE KSMLRSIZ > 0
ORA-00933: SQL command not properly ended
No comments:
Post a Comment