-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.

col ksmlridx head IDX for 99
col ksmlrdur head DUR for 99
col ksmlrshrpool head SP for a2


select to_char(sysdate, 'YYYY-MM-DD HH24:MI:SS') current_time from dual;

select
    KSMLRIDX        
  , KSMLRDUR        
  , KSMLRNUM          flushed
  , decode(KSMLRSHRPOOL,1,'Y','N') ksmlrshrpool
  , KSMLRCOM          alloc_comment
  , KSMLRSIZ          alloc_size
  , KSMLRHON          ksmlru_object_name
  , KSMLROHV          hash_value
  , KSMLRSES          ses_addr
--  , KSMLRADU
--  , KSMLRNID
--  , KSMLRNSD
--  , KSMLRNCD
--  , KSMLRNED
from
    x$ksmlru
where
    ksmlrnum > 0
order by
    ksmlrnum desc
/
