博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
解决oracle_4031错误的方法
阅读量:6872 次
发布时间:2019-06-26

本文共 624 字,大约阅读时间需要 2 分钟。

原因分析:


大量的硬解析出现,产生大量小的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>1000and (type='PACKAGE' or type='PACKAGE BODY' or type='FUNCTION' ortype='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;

 

转载于:https://www.cnblogs.com/zhaojiedi1992/p/oracle11g_sql_0066.html

你可能感兴趣的文章
优化的对比度增强算法用于有雾图像的清晰化处理(算法效果是我目前看到最为稳定的,且对天空具有天然的免疫力,极力推荐有需要的朋友研究)。...
查看>>
The basic GridView control structure
查看>>
机器学习流行算法一览
查看>>
WVGA-维基百科
查看>>
LeetCode算法题-Minimum Moves to Equal Array Elements(Java实现)
查看>>
Golang学习笔记:包制作
查看>>
Git遇到的问题备份处
查看>>
ie9 还原到 ie8
查看>>
Spectre小计
查看>>
CodeForces - 698A Vacations
查看>>
你真的会用Gson吗?Gson使用指南(一)
查看>>
Sqoop-从hive导出分区表到MySQL
查看>>
Lucene热词统计
查看>>
vmware之VMware Remote Console (VMRC) SDK(一)
查看>>
某些题的做法。。。
查看>>
PhpExcel中文帮助手册|PhpExcel使用方法(转)
查看>>
aix5.1 5.2 5.3 6.1 7.1运维技术总结
查看>>
configure mount nfs
查看>>
Centos6.4 cobbler安装要点
查看>>
尝试用不同语言写简单题的过程中的一些小发现
查看>>