找出在 library cache中所需空间大于100k的PL/SQL对象

select name,sharable_mem,loads from v$db_object_cache
where sharable_mem>102400 and type in
('PACKAGE','PACKAGE BODY','FUNCTION','PROCEDURE')
and kept='NO';

如果loads较高,那么将其keep到library cache中。

找出TOP 5 loads的对象,考虑将其keep到library cache中。

select * from (select name,sharable_mem,type,loads from v$db_object_cache where kept='NO' and type is not null
order by loads desc ) where rownum<6;

 

暂时就这么多....发现了继续补充。

相关文章:

  • 2021-11-15
  • 2022-12-23
  • 2021-07-30
  • 2021-06-07
  • 2021-08-30
  • 2021-06-23
  • 2021-11-12
  • 2021-12-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-11
  • 2021-06-06
相关资源
相似解决方案