- 浏览: 135040 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (52)
- oracle linux R6-U2-server-i386 (8)
- oracleDBA (25)
- 虚拟机-vmware-8.0.2 (2)
- linux-ubuntu (0)
- oracle背景资料 (28)
- DOS (3)
- sql常用操作 (2)
- win7/XP/03/08/2K/ (1)
- NT系统优化 (2)
- 网络 (1)
- 安全 (0)
- 乌七杂八资料库 (23)
- 个人心情 (2)
- ESXI 4.1 (1)
- vsphere5.0 (4)
- rac (3)
- oracle linux R6-U2-server-i386,oracle9204 (2)
- 条件处理符号 (1)
- 批处理 (2)
最新评论
-
yexiaochong:
我从头到尾看完了。写得也挺有道理的。我也类似你一样。花了不止两 ...
工作意向及规划个人建议 -
netkiller.github.com:
写的真多,实在看不下去了,支持一下
工作意向及规划个人建议
1.优化缓冲区大小、提高服务器的命中率
db_cache_size big integer 838860800
2.查看缓冲区命中率是否需要调优.
select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
"Buffer Cache Hit Ratio"
from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
where physical.name = 'physical reads'
and direct.name='physical reads direct'
and lobs.name='physical reads direct (lob)'
and logical.name='session logical reads';
当命中率>90%说明命中率很高了
3。获取推荐的值
select name,size_for_estimate,v$db_cache_advice.ESTD_PHYSICAL_READS from v$db_cache_advice
where block_size='8192' and advice_status='ON';
set linesize 1000
---20100619Oracle9i数据 Solaris 9i操作系统
SQL> set linesize 1000
SQL> select size_for_estimate, buffers_for_estimate ,ESTD_PHYSICAL_READ_factor,ESTD_PHYSICAL_READS from v$db_cache_advice
where block_size='8192' and advice_status='ON';
SIZE_FOR_ESTIMATE BUFFERS_FOR_ESTIMATE ESTD_PHYSICAL_READ_FACTOR ESTD_PHYSICAL_READS
----------------- -------------------- ------------------------- -------------------
80 9925 28.9757 1436311200
160 19850 2.1053 104360120
240 29775 1.5819 78413087
320 39700 1.4262 70693980
400 49625 1.3543 67131735
480 59550 1.278 63349434
560 69475 1.1893 58954568
640 79400 1.1325 56135206
720 89325 1.0762 53347837
800 99250 1 49569438
880 109175 .7067 35030953
SIZE_FOR_ESTIMATE BUFFERS_FOR_ESTIMATE ESTD_PHYSICAL_READ_FACTOR ESTD_PHYSICAL_READS
----------------- -------------------- ------------------------- -------------------
960 119100 .3991 19784701
1040 129025 .2305 11423374
1120 138950 .1927 9552903
1200 148875 .1506 7466278
1280 158800 .1501 7438186
1360 168725 .1501 7438186
1440 178650 .1501 7438186
1520 188575 .1501 7438186
1600 198500 .1501 7438186
SIZE_FOR_ESTIMATE M 为单位:
当SIZE_FOR_ESTIMATE=80M 的时候 ESTD_PHYSICAL_READS=1436311200
当SIZE_FOR_ESTIMATE=1120M 的时候 ESTD_PHYSICAL_READS=9552903
当SIZE_FOR_ESTIMATE=1280M 的时候 ESTD_PHYSICAL_READS=7438186
之后ESTD_PHYSICAL_READS固定了
所以应该过大db_cache_size=1120M的值使得
4.修改发现DB_cache_size太大了。过大SGA区域解决
alter system set db_cache_size=1120M
--sga设置太小了导致
SQL> alter system set db_cache_size=1120M;
alter system set db_cache_size=1120M
*
ERROR 位于第 1 行:
ORA-02097: 无法修改参数,因为指定的值无效
ORA-00384: 没有足够的内存来增加高速缓存的大小
之前的值
sga_max_size big integer 1494715120
SQL>alter system set SGA_MAX_SIZE=3500M scope=spfile;
系统已更改。
重新启动与关闭解决
SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 3675756336 bytes
Fixed Size 735024 bytes
Variable Size 2835349504 bytes
Database Buffers 838860800 bytes
Redo Buffers 811008 bytes
数据库装载完毕。
数据库已经打开。
查看命中率\当前只有80的满足要求
SQL> select size_for_estimate, buffers_for_estimate ,ESTD_PHYSICAL_READ_factor,ESTD_PHYSICAL_READS from v$db_cache_advice
2 where block_size='8192' and advice_status='ON';
SIZE_FOR_ESTIMATE BUFFERS_FOR_ESTIMATE ESTD_PHYSICAL_READ_FACTOR ESTD_PHYSICAL_READS
----------------- -------------------- ------------------------- -------------------
80 9925 1 1528
160 19850 1 1528
240 29775 1 1528
320 39700 1 1528
400 49625 1 1528
480 59550 1 1528
560 69475 1 1528
640 79400 1 1528
720 89325 1 1528
800 99250 1 1528
880 109175 1 1528
SIZE_FOR_ESTIMATE BUFFERS_FOR_ESTIMATE ESTD_PHYSICAL_READ_FACTOR ESTD_PHYSICAL_READS
----------------- -------------------- ------------------------- -------------------
960 119100 1 1528
1040 129025 1 1528
1120 138950 1 1528
1200 148875 1 1528
1280 158800 1 1528
1360 168725 1 1528
1440 178650 1 1528
1520 188575 1 1528
1600 198500 1 1528
命中率降低了?
SQL> select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
2 "Buffer Cache Hit Ratio"
3 from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
4 where physical.name = 'physical reads'
5 and direct.name='physical reads direct'
6 and lobs.name='physical reads direct (lob)'
7 and logical.name='session logical reads';
Buffer Cache Hit Ratio
----------------------
.906673167
继续缩小SGA大小
SQL>alter system set SGA_MAX_SIZE=3000M scope=spfile;
SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 3155661888 bytes
Fixed Size 734272 bytes
Variable Size 2315255808 bytes
Database Buffers 838860800 bytes
Redo Buffers 811008 bytes
数据库装载完毕。
数据库已经打开。
select size_for_estimate, buffers_for_estimate ,ESTD_PHYSICAL_READ_factor,ESTD_PHYSICAL_READS from v$db_cache_advice
where block_size='8192' and advice_status='ON';
继续测试:等待30分钟之后测试
SQL> alter system set db_cache_size=1120M;
select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
"Buffer Cache Hit Ratio"
from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
where physical.name = 'physical reads'
and direct.name='physical reads direct'
and lobs.name='physical reads direct (lob)'
and logical.name='session logical reads';
---命中率逐渐的提高了
---半个小时之后查询命中率是98%
SQL> select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
2 "Buffer Cache Hit Ratio"
3 from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
4 where physical.name = 'physical reads'
5 and direct.name='physical reads direct'
6 and lobs.name='physical reads direct (lob)'
7 and logical.name='session logical reads';
Buffer Cache Hit Ratio
----------------------
.980309028
-----查询推荐的值
show parameter db_block_size
8192
select name,size_for_estimate,v$db_cache_advice.ESTD_PHYSICAL_READS from
v$db_cache_advice where block_size='8192' and advice_status='ON';
NAME SIZE_FOR_ESTIMATE ESTD_PHYSICAL_READS
-------------------- ----------------- -------------------
DEFAULT 112 9581
DEFAULT 224 9514
DEFAULT 336 9514
DEFAULT 448 9514
DEFAULT 560 9514
DEFAULT 672 9514
DEFAULT 784 9514
DEFAULT 896 9514
DEFAULT 1008 9514
DEFAULT 1120 9514
DEFAULT 1232 9514
NAME SIZE_FOR_ESTIMATE ESTD_PHYSICAL_READS
-------------------- ----------------- -------------------
DEFAULT 1344 9514
DEFAULT 1456 9514
DEFAULT 1568 9514
DEFAULT 1680 9514
DEFAULT 1792 9514
DEFAULT 1904 9514
DEFAULT 2016 9514
DEFAULT 2128 9514
DEFAULT 2240 9514
显示只要112M大小的空间就可以稳定降低ESTD_PHYSICAL_READS
alter system set db_cache_size=112M
NAME SIZE_FOR_ESTIMATE ESTD_PHYSICAL_READS
-------------------- ----------------- -------------------
DEFAULT 16 0
DEFAULT 32 0
DEFAULT 48 0
DEFAULT 64 0
DEFAULT 80 0
DEFAULT 96 0
DEFAULT 112 0
DEFAULT 128 0
DEFAULT 144 0
DEFAULT 160 0
DEFAULT 176 0
NAME SIZE_FOR_ESTIMATE ESTD_PHYSICAL_READS
-------------------- ----------------- -------------------
DEFAULT 192 0
DEFAULT 208 0
DEFAULT 224 0
DEFAULT 240 0
DEFAULT 256 0
DEFAULT 272 0
DEFAULT 288 0
DEFAULT 304 0
DEFAULT 320 0
---查看命中率
select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
"Buffer Cache Hit Ratio"
from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
where physical.name = 'physical reads'
and direct.name='physical reads direct'
and lobs.name='physical reads direct (lob)'
and logical.name='session logical reads';
Buffer Cache Hit Ratio
----------------------
.982795739
说明Oracle更换峰值的情况决定db_cache_size的大小。
所以设置最大峰值满足的情况。
alter system set db_cache_size=1120M;满足峰值的时候最大值
select name,size_for_estimate,v$db_cache_advice.ESTD_PHYSICAL_READS from
v$db_cache_advice where block_size='8192' and advice_status='ON';
oracle10g Solaris 10 sparc系统调整
--查
select name,size_for_estimate,v$db_cache_advice.ESTD_PHYSICAL_READS from
v$db_cache_advice where block_size='8192' and advice_status='ON';
-------------------- ----------------- -------------------
DEFAULT 128 1206647
DEFAULT 256 1067789
DEFAULT 384 987752
DEFAULT 512 965164
DEFAULT 640 913815
DEFAULT 768 893485
DEFAULT 896 867321
DEFAULT 1024 808884
DEFAULT 1152 599909
DEFAULT 1280 344618
--此时开始保持在一个稳定的读取值
alter system set db_cache_size=1196M
DEFAULT 1296 321763
NAME SIZE_FOR_ESTIMATE ESTD_PHYSICAL_READS
-------------------- ----------------- -------------------
DEFAULT 1408 285030
DEFAULT 1536 280506
DEFAULT 1664 280325
DEFAULT 1792 279816
DEFAULT 1920 266871
DEFAULT 2048 235838
DEFAULT 2176 231298
DEFAULT 2304 228483
DEFAULT 2432 224971
DEFAULT 2560 219467
--修改
alter system set db_cache_size=1196M
--查看命中率
select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
"Buffer Cache Hit Ratio"
from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
where physical.name = 'physical reads'
and direct.name='physical reads direct'
and lobs.name='physical reads direct (lob)'
and logical.name='session logical reads';
在oracle9I+windows 2003中实际应用环境中测试,效果不错。很明显。感谢原作者。嘿嘿。
db_cache_size big integer 838860800
2.查看缓冲区命中率是否需要调优.
select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
"Buffer Cache Hit Ratio"
from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
where physical.name = 'physical reads'
and direct.name='physical reads direct'
and lobs.name='physical reads direct (lob)'
and logical.name='session logical reads';
当命中率>90%说明命中率很高了
3。获取推荐的值
select name,size_for_estimate,v$db_cache_advice.ESTD_PHYSICAL_READS from v$db_cache_advice
where block_size='8192' and advice_status='ON';
set linesize 1000
---20100619Oracle9i数据 Solaris 9i操作系统
SQL> set linesize 1000
SQL> select size_for_estimate, buffers_for_estimate ,ESTD_PHYSICAL_READ_factor,ESTD_PHYSICAL_READS from v$db_cache_advice
where block_size='8192' and advice_status='ON';
SIZE_FOR_ESTIMATE BUFFERS_FOR_ESTIMATE ESTD_PHYSICAL_READ_FACTOR ESTD_PHYSICAL_READS
----------------- -------------------- ------------------------- -------------------
80 9925 28.9757 1436311200
160 19850 2.1053 104360120
240 29775 1.5819 78413087
320 39700 1.4262 70693980
400 49625 1.3543 67131735
480 59550 1.278 63349434
560 69475 1.1893 58954568
640 79400 1.1325 56135206
720 89325 1.0762 53347837
800 99250 1 49569438
880 109175 .7067 35030953
SIZE_FOR_ESTIMATE BUFFERS_FOR_ESTIMATE ESTD_PHYSICAL_READ_FACTOR ESTD_PHYSICAL_READS
----------------- -------------------- ------------------------- -------------------
960 119100 .3991 19784701
1040 129025 .2305 11423374
1120 138950 .1927 9552903
1200 148875 .1506 7466278
1280 158800 .1501 7438186
1360 168725 .1501 7438186
1440 178650 .1501 7438186
1520 188575 .1501 7438186
1600 198500 .1501 7438186
SIZE_FOR_ESTIMATE M 为单位:
当SIZE_FOR_ESTIMATE=80M 的时候 ESTD_PHYSICAL_READS=1436311200
当SIZE_FOR_ESTIMATE=1120M 的时候 ESTD_PHYSICAL_READS=9552903
当SIZE_FOR_ESTIMATE=1280M 的时候 ESTD_PHYSICAL_READS=7438186
之后ESTD_PHYSICAL_READS固定了
所以应该过大db_cache_size=1120M的值使得
4.修改发现DB_cache_size太大了。过大SGA区域解决
alter system set db_cache_size=1120M
--sga设置太小了导致
SQL> alter system set db_cache_size=1120M;
alter system set db_cache_size=1120M
*
ERROR 位于第 1 行:
ORA-02097: 无法修改参数,因为指定的值无效
ORA-00384: 没有足够的内存来增加高速缓存的大小
之前的值
sga_max_size big integer 1494715120
SQL>alter system set SGA_MAX_SIZE=3500M scope=spfile;
系统已更改。
重新启动与关闭解决
SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 3675756336 bytes
Fixed Size 735024 bytes
Variable Size 2835349504 bytes
Database Buffers 838860800 bytes
Redo Buffers 811008 bytes
数据库装载完毕。
数据库已经打开。
查看命中率\当前只有80的满足要求
SQL> select size_for_estimate, buffers_for_estimate ,ESTD_PHYSICAL_READ_factor,ESTD_PHYSICAL_READS from v$db_cache_advice
2 where block_size='8192' and advice_status='ON';
SIZE_FOR_ESTIMATE BUFFERS_FOR_ESTIMATE ESTD_PHYSICAL_READ_FACTOR ESTD_PHYSICAL_READS
----------------- -------------------- ------------------------- -------------------
80 9925 1 1528
160 19850 1 1528
240 29775 1 1528
320 39700 1 1528
400 49625 1 1528
480 59550 1 1528
560 69475 1 1528
640 79400 1 1528
720 89325 1 1528
800 99250 1 1528
880 109175 1 1528
SIZE_FOR_ESTIMATE BUFFERS_FOR_ESTIMATE ESTD_PHYSICAL_READ_FACTOR ESTD_PHYSICAL_READS
----------------- -------------------- ------------------------- -------------------
960 119100 1 1528
1040 129025 1 1528
1120 138950 1 1528
1200 148875 1 1528
1280 158800 1 1528
1360 168725 1 1528
1440 178650 1 1528
1520 188575 1 1528
1600 198500 1 1528
命中率降低了?
SQL> select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
2 "Buffer Cache Hit Ratio"
3 from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
4 where physical.name = 'physical reads'
5 and direct.name='physical reads direct'
6 and lobs.name='physical reads direct (lob)'
7 and logical.name='session logical reads';
Buffer Cache Hit Ratio
----------------------
.906673167
继续缩小SGA大小
SQL>alter system set SGA_MAX_SIZE=3000M scope=spfile;
SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 3155661888 bytes
Fixed Size 734272 bytes
Variable Size 2315255808 bytes
Database Buffers 838860800 bytes
Redo Buffers 811008 bytes
数据库装载完毕。
数据库已经打开。
select size_for_estimate, buffers_for_estimate ,ESTD_PHYSICAL_READ_factor,ESTD_PHYSICAL_READS from v$db_cache_advice
where block_size='8192' and advice_status='ON';
继续测试:等待30分钟之后测试
SQL> alter system set db_cache_size=1120M;
select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
"Buffer Cache Hit Ratio"
from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
where physical.name = 'physical reads'
and direct.name='physical reads direct'
and lobs.name='physical reads direct (lob)'
and logical.name='session logical reads';
---命中率逐渐的提高了
---半个小时之后查询命中率是98%
SQL> select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
2 "Buffer Cache Hit Ratio"
3 from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
4 where physical.name = 'physical reads'
5 and direct.name='physical reads direct'
6 and lobs.name='physical reads direct (lob)'
7 and logical.name='session logical reads';
Buffer Cache Hit Ratio
----------------------
.980309028
-----查询推荐的值
show parameter db_block_size
8192
select name,size_for_estimate,v$db_cache_advice.ESTD_PHYSICAL_READS from
v$db_cache_advice where block_size='8192' and advice_status='ON';
NAME SIZE_FOR_ESTIMATE ESTD_PHYSICAL_READS
-------------------- ----------------- -------------------
DEFAULT 112 9581
DEFAULT 224 9514
DEFAULT 336 9514
DEFAULT 448 9514
DEFAULT 560 9514
DEFAULT 672 9514
DEFAULT 784 9514
DEFAULT 896 9514
DEFAULT 1008 9514
DEFAULT 1120 9514
DEFAULT 1232 9514
NAME SIZE_FOR_ESTIMATE ESTD_PHYSICAL_READS
-------------------- ----------------- -------------------
DEFAULT 1344 9514
DEFAULT 1456 9514
DEFAULT 1568 9514
DEFAULT 1680 9514
DEFAULT 1792 9514
DEFAULT 1904 9514
DEFAULT 2016 9514
DEFAULT 2128 9514
DEFAULT 2240 9514
显示只要112M大小的空间就可以稳定降低ESTD_PHYSICAL_READS
alter system set db_cache_size=112M
NAME SIZE_FOR_ESTIMATE ESTD_PHYSICAL_READS
-------------------- ----------------- -------------------
DEFAULT 16 0
DEFAULT 32 0
DEFAULT 48 0
DEFAULT 64 0
DEFAULT 80 0
DEFAULT 96 0
DEFAULT 112 0
DEFAULT 128 0
DEFAULT 144 0
DEFAULT 160 0
DEFAULT 176 0
NAME SIZE_FOR_ESTIMATE ESTD_PHYSICAL_READS
-------------------- ----------------- -------------------
DEFAULT 192 0
DEFAULT 208 0
DEFAULT 224 0
DEFAULT 240 0
DEFAULT 256 0
DEFAULT 272 0
DEFAULT 288 0
DEFAULT 304 0
DEFAULT 320 0
---查看命中率
select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
"Buffer Cache Hit Ratio"
from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
where physical.name = 'physical reads'
and direct.name='physical reads direct'
and lobs.name='physical reads direct (lob)'
and logical.name='session logical reads';
Buffer Cache Hit Ratio
----------------------
.982795739
说明Oracle更换峰值的情况决定db_cache_size的大小。
所以设置最大峰值满足的情况。
alter system set db_cache_size=1120M;满足峰值的时候最大值
select name,size_for_estimate,v$db_cache_advice.ESTD_PHYSICAL_READS from
v$db_cache_advice where block_size='8192' and advice_status='ON';
oracle10g Solaris 10 sparc系统调整
--查
select name,size_for_estimate,v$db_cache_advice.ESTD_PHYSICAL_READS from
v$db_cache_advice where block_size='8192' and advice_status='ON';
-------------------- ----------------- -------------------
DEFAULT 128 1206647
DEFAULT 256 1067789
DEFAULT 384 987752
DEFAULT 512 965164
DEFAULT 640 913815
DEFAULT 768 893485
DEFAULT 896 867321
DEFAULT 1024 808884
DEFAULT 1152 599909
DEFAULT 1280 344618
--此时开始保持在一个稳定的读取值
alter system set db_cache_size=1196M
DEFAULT 1296 321763
NAME SIZE_FOR_ESTIMATE ESTD_PHYSICAL_READS
-------------------- ----------------- -------------------
DEFAULT 1408 285030
DEFAULT 1536 280506
DEFAULT 1664 280325
DEFAULT 1792 279816
DEFAULT 1920 266871
DEFAULT 2048 235838
DEFAULT 2176 231298
DEFAULT 2304 228483
DEFAULT 2432 224971
DEFAULT 2560 219467
--修改
alter system set db_cache_size=1196M
--查看命中率
select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
"Buffer Cache Hit Ratio"
from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
where physical.name = 'physical reads'
and direct.name='physical reads direct'
and lobs.name='physical reads direct (lob)'
and logical.name='session logical reads';
在oracle9I+windows 2003中实际应用环境中测试,效果不错。很明显。感谢原作者。嘿嘿。
发表评论
-
oracle 10g 使用expdp network_link导出远程数据库到本地文件 【转载】
2012-12-11 13:45 5312文章不错,解除疑惑,oracle10G0204可以实现远程导入 ... -
批处理全盘搜索文件的几种方法【转载】
2012-12-04 20:06 1656原作者地址:http://blog.dzwww.com/?ui ... -
oracle中ddl不能回滚的问题【转载】
2012-11-27 10:25 1057原文地址: http://www.2cto.com/datab ... -
No startup acknowledgement from forked process after 30 seconds
2012-11-22 11:20 1638摘抄2篇文章。都是这个问题的描述,结果都是没有办法解决,直接重 ... -
oracle在linux下安装遇到的所有的问题总结说明(3)
2012-10-30 15:48 1269大部分内容为已经遇到过的问题解决方案,基本都是谷歌出来的,留下 ... -
oracle on linux非官方做法遇到的问题集锦(1)
2012-10-30 15:44 16921、安装oracle linux 6.2创 ... -
oracle在linux下安装遇到的所有的问题总结说明(2)(20121122修改)
2012-10-30 15:35 2036安装的时候遇到的问题说明(部分内容 ... -
oracle在linux下安装遇到的所有的问题总结说明(1)
2012-10-30 15:31 1251安装oracle 官方文档,翻译说明( ... -
oracle在ORACLElinux下安装完整步骤【虚拟机】【含视频】(20121220修改)
2012-10-30 15:24 3111经过N久的不断尝试,终于彻底摸清了,oracle 10G在 ... -
过大的Oracle监听日志文件处理(转载)
2012-10-15 12:53 1971过大的Oracle监听日志文件处理 2011-03-11 10 ... -
.【转载】oracle物化视图的一般用法
2012-08-29 10:45 872本文转载自乔文《oracle ... -
ora-12542 address in used(转载)
2012-06-16 16:51 1543转载的,原作者网址:http://space.itpub.ne ... -
EXP-00091 Exporting questionable statistics
2012-06-15 20:02 1146http://space.itpub.net/trackbac ... -
虚拟机中vsphere克隆最简单方法
2012-06-05 23:37 16313vsphere不如workstation好用 ... -
unable to load module /usr/lib/vmware/vmkmod/vmfs3:failure解决方案译文
2012-05-28 23:33 4276此处为翻译一篇(解决E ... -
《转载》oracle绑定变量详解
2012-05-11 10:18 811原文转载自linuxg公社 http://www.linuxi ... -
oracle9I坏块错误
2012-05-10 18:41 827在一个客户的9201 for Windows数据库中发现了 ... -
《转载》ora-00020超出最大进程数
2012-05-10 18:42 940纯属学习查询资料,没什么说的,当资料了,感谢作者,转载无罪 ... -
《转载》oracle1000问
2012-05-10 18:42 696没什么说的,比较适合初学者的,呵呵,一块学习吧。 -
《转载》韩顺平-玩转oracle视频教材笔记(文档)
2012-05-10 18:42 961转载的,那下载的,忘了,全名叫oracle10G从入门到精 ...
相关推荐
4.27 DB_CACHE_SIZE 9 4.28 DB_KEEP_CACHE_SIZE 9 4.29 DB_RECYCLE_CACHE_SIZE 9 4.30 DB_FILE_MULTIBLOCK_READ_COUNT 10 4.31 DB_WRITER_PROCESSES 10 5 参数设置原则 10 5.1 SGA系统全局区 10 5.1.1 数据缓冲区...
深入Buffer Cache 原理
6.2.1.1 DB_CACHE_SIZE 32 6.2.1.2 SHARED_POOL_SIZE 33 6.2.1.3 LARGE_POOL_SIZE 34 6.2.1.4 SGA_MAX_SIZE 34 6.2.1.5 DB_BLOCK_SIZE 34 6.2.1.6 SP_FILE 35 6.2.1.7 PGA_AGGREGATE_TARGET 35 6.2.1.8 PROCESSES 36...
一. Oracle的内存结构描述: 1.... ( 2)数据缓冲区(Data Buffer Cache):对应参数 db_cache_size 用于存储最近从数据库中读取出来的数据块。用户进程首先查看数据缓冲区,不在则访问物理磁盘。
KEEP池的使用十分简单,设置DB_KEEP_CACHE_SIZE的值大于0,就可以将其他对象的BUFFER_POOL参数设置为KEEP了。
设置db_cache_advice: 12 调整优化模式 optimizer_mode 12 调整优化模式optimizer_index_caching 13 调整优化模式optimizer_index_cost_adj 13 调整优化模式optimizer_max_permutations 14 并行优化 14 parallel_...
The db file sequential read Oracle metric event signifies that the user process is reading buffers into the SGA buffer cache and is waiting for a physical I/O call to return. This call differs from a...
- bc: view contents of buffer cache - temp: view used space in temp tbs - asm: Show asm space/free space - space []: view used/free space in a given tbs - binds <sql_id> : display bind capture ...
采用RingBuffer来缓存已生成的UID, 并行化UID的生产和消费, 同时对CacheLine补齐,避免了由RingBuffer带来的硬件级「伪共享」问题. 最终单机QPS可达600万。 依赖版本:Java8及以上版本, MySQL(内置WorkerID分配...
一、oracle oracle服务器有Oracle instace 和Oracle ... SGA包括:Database buffer cache 和 Redo log buffer cache. show sga; show parameter shared; show parameter db_cache; show parameter log; alter syste
ds:write_buffer_size 100000000 //写缓存大小 ds:block_size 4096 ds:max_open_files 8000 //leveldb最多可以使用的檔案數,一個檔案可以儲存 2MB 的資料。 ds:block_restart_interval 16 ds:path /usr/local/redis...
(2)修改时钟设置(这个文件要根据具体的平台进行修改) (3)将从Nor Flash启动改成从 NAND Flash启动 在文件中找到 195-201 代码,并在 201行后面添加如下代码: 195 copy_loop: 196 ldmia r0!, {r3-r10} /* ...
说明: 指定在表已更新或正在更新时是否获取行锁。如果设置为 ALWAYS, 只有在表被更新后才获取行锁。如果设置为 INTENT, 只有行锁将用于SELECT FOR UPDATE, 但在更新时将获取表锁。 值范围: ALWAYS | DEFAULT | ...
§10.7 哪种类型的表设为cache 方式 116 §10.8 数据表和索引分开原则 116 §10.9 是否采用簇和分区 116 §10.10 表和索引的空间预分配 116 §10.11 确定数据库对象存储大小 117 §10.11.1 非簇表的大小计算 117 §...
user_ini.cache_ttl = 300 ;;;;;;;;;;;;;;;;;;;; ; Language Options ; ;;;;;;;;;;;;;;;;;;;; ; Enable the PHP scripting language engine under Apache. ; http://php.net/engine engine = On ; This directive...
SQL>select table_name,cache from user_tables where instr(cache,'Y')>0; 3、索引 查看索引个数和类别 SQL>select index_name,index_type,table_name from user_indexes order by table_name; 查看索引被...
Buffer Cache: 5,136M Std Block Size: 8K Shared Pool Size: 608M Log Buffer: 1,024K 这一部分纯粹是信息,说明这个报表是从哪个数据库上产生的。以及该报表数据之间的时间间隔。 Load Profile ~~~~~~~~~~~~ ...
WikiDataQueryOrient ... 将 JVM 堆大小增加到 2128m 并设置 MAXDISKCACHE=-Dstorage.diskCache.bufferSize=8192。 设置 -XX:+UseConcMarkSweepGC 在 java 选项中。 编辑服务器配置 XML 文件,将 log.file.
实验138:db_cache命中率和db_cache的细化管理 224 实验139: v$latch的使用 225 实验140:log_buffer的优化 227 实验141:pga的优化 227 不同的存储格式 229 实验142:OMF管理的文件 229 实验143:处理行迁移 230 ...
OLEDB providers can run in-process or out of process. When running out of process, they run under the context of DLLHOST.EXE. Memory Leak To reserve or commit memory and unintentionally not release ...