原因分析:


大量的硬解析出现,产生大量小的free chunk
突然出现大的sql


 

1.临时方法

alter system flush shared_pool;

2.共享SQL

alter system set cursor_sharing='force';

 

3.

select * from v$db_object_cache where sharable_mem>1000
and (type='PACKAGE' or type='PACKAGE BODY' or type='FUNCTION' or
type='PROCEDURE') and kept='NO';
执行dbms_share_pool.keep('对象名');

4.保留区

select REQUEST_MISSES from v$shared_pool_reserved;

5.增加share pool=的空间

select COMMPONENT,CURRENT_SIZE from V$SGA_DYNAMIC_COMPONENTS;
show parameter sga_target;
show parameter sga_max_size;
alter system set shared_pool_size=150M scope=both;

 

相关文章:

  • 2022-01-09
  • 2021-12-12
  • 2021-10-02
  • 2021-09-27
  • 2021-09-29
  • 2021-08-19
  • 2022-01-26
猜你喜欢
  • 2021-09-01
  • 2021-07-22
  • 2021-06-15
  • 2022-12-23
  • 2022-12-23
  • 2021-05-03
相关资源
相似解决方案