oracle 调整shared pool,Oracle设置Shared Pool的大小
在oracle 10G或者11G版本中,如何合理设置shared pool大小,对oracle数据库的性能影响很大。
Shared Pool的大小设置规则如下:
1.查到shared pool设置的合理值,语句如下:
select 'Shared Pool' component,
shared_pool_size_for_estimate estd_sp_size,
estd_lc_time_saved_factor parse_time_factor,
case
when current_parse_time_elapsed_s + adjustment_s < 0 THEN
0
ELSE
current_parse_time_elapsed_s + adjustment_s
END response_time
FROM (select shared_pool_size_for_estimate,
shared_pool_size_factor,
estd_lc_time_saved_factor,
a.estd_lc_time_saved,
e.VALUE / 100current_parse_time_elapsed_s,
c.estd_lc_time_saved - a.estd_lc_time_saved adjustment_s
from v$shared_pool_advice a,
(select * from v$sysstat where NAME = 'parse time elapsed') e,
(select estd_lc_time_saved
from v$shared_pool_advice
where shared_pool_size_factor = 1) c);
2.设置上个SQL语句中查到的PARSE_TIME_FACTOR首次等于1的记录所在行的ESTD_SP_SIZE的值为shared pool。
3.设置语句如下:
alter system set shared_pool_size=XXX scope=spfile;或者alter system set shared_pool_size=XXX scope=both;
oracle 调整shared pool,Oracle设置Shared Pool的大小相关推荐
- oracle+调整+表空间,Oracle表空间调整
1.创建表空间 create temporary tablespace jydhtds_temp tempfile 'G:\oradata\jydhtds_temp01.dbf' size 50m a ...
- oracle 专用模式/共享模式(dedicated/shared)
现在流行的数据库有三种进程模式,即1+1,1+N,M+N,分别是一个客服端连接对应一个服务进程,N个客户端连接对应一个服务进程,N个客户端对应M个服务进程. ORACLE有两种进程模式即dedicat ...
- Oracle 如何设置shared pool 和sga大细, 应该设置几大
这篇文章是参考甲骨论老相老师的教学视频: http://v.youku.com/v_show/id_XMzkyMTg4Njg0.html 所做的学习笔记 前面已经提过shared pool(共享池)的 ...
- oracle shared pool size,oracle 关于设置shared pool及sga大小
本文参考了https://blog.csdn.net/xinzhan0/article/details/52461611?locationNum=2&fps=1 如何设置shared pool ...
- oracle11 share pool,Oracle Shared pool 详解
. Shared Pool概述 在之前的blog对的内存也做了一个概述,参考: Oracle内存架构详解 在网上搜到一篇介绍shared pool非常详细的pdf资料. 原文链接以找不到,但还是要感谢 ...
- Oracle安装 - shmmax和shmall设置
Python微信订餐小程序课程视频 https://edu.csdn.net/course/detail/36074 Python实战量化交易理财系统 https://edu.csdn.net/cou ...
- Oracle数据库REMOTE_LOGIN_PASSWORDFILE参数的设置
关于Oracle数据库REMOTE_LOGIN_PASSWORDFILE参数的设置 Oracle的实用程序orapwd命令可以用来创建口令文件,该命令的参数有3个: C:/>orapwd Usa ...
- oracle 控制文件在哪里设置_从Oracle到PostgreSQL:最全控制文件
原文: 从Oracle到PostgreSQL:最全控制文件(上) https://www.enmotech.com/web/detail/1/770/1.html 从Oracle到PostgreSQL ...
- Oracle - Log buffer 的相关设置
这篇文章是参考甲骨论老相老师的教学视频: http://v.youku.com/v_show/id_XMzk2MjQ5Mzc2.html 所做的教学视频 1. 触发LGWR 将log buffer里的 ...
最新文章
- Go 语言编程 — make 和 new
- MySQL—04—MySQL的其他对象
- 数据接口测试工具 Postman 介绍
- Java开发之上班摸鱼!写最少的代码!
- Airflow 中文文档:调度和触发器
- 解析Node.js v6.9.5官方文档的第一个例子的知识点
- 学完java后学python_大火的python开发学好后能找到工作吗
- bcp sqlcmd bulkinsert在unicode问题,Unexpected EOF encountered in BCP data-file
- C语言谭浩强第三版例题及课后题汇总
- java计算机毕业设计美发门店管理系统源码+系统+数据库+lw文档
- DISCUZ编辑器工具栏图标不显示
- Word2016如何插入公式?Word2016插入公式方法
- 前端之路--第三周学习
- 通过香港招行一卡通收回PayPal资金
- WebEx如何录制电脑内的声音
- eclipes的安装与使用
- python plt legend并排_【Matplotlib】图例分开显示
- 计算机博弈大赛php,全国计算机博弈大赛
- js如何让一个元素触发click点击事件
- 运行窗口常用命令【自启动】【DOS窗口】【配置窗口】