Sriram Sanka

Databases | Cloud | Infrastructure | Security |

Query for Top 10 by Sharable Memory:

Posted by Sriram Sanka on September 13, 2022

set linesize 100
set pagesize 100
SELECT * FROM 
(SELECT substr(sql_text,1,40) sql,
        sharable_mem, executions, hash_value,address
   FROM V$SQLAREA
  WHERE sharable_mem > 1048576
 ORDER BY sharable_mem DESC)
WHERE rownum  <=10
;

Leave a Reply

 

Discover more from Sriram Sanka

Subscribe now to keep reading and get access to the full archive.

Continue reading