免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3017 | 回复: 2
打印 上一主题 下一主题

如何知道操作系统I/O缓冲区的大小 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-01-18 08:50 |只看该作者 |倒序浏览
如题:
怎么知道我的操作系统I/O缓冲区的大小
我的系统是WINDOW2003 R2
如果是UNIX,LINUX,2000的系统又如何知道
谢谢

论坛徽章:
0
2 [报告]
发表于 2007-01-18 10:23 |只看该作者
unix/linux iostat   sar等

论坛徽章:
0
3 [报告]
发表于 2012-10-20 15:13 |只看该作者
conn sys/xxxxx@orcl as sysdba
alter system set db_file_multiblock_read_count=256;
create table t1 as select * from dba_objects;
insert into t1 select * from t1;
insert into t1 select * from t1;
insert into t1 select * from t1;
commit;
alter session set events '10046 trace name context forever,level 12';
alter system flush buffer_cache;
select count(*) from  t1;
然后查看.trc文件
WAIT #1: nam='db file scattered read' ela= 1476 file#=1 block#=82313 blocks=128 obj#=52634 tim=1318680417236172

blocks=128就代表你的操作系统支持最大 多数据块 读取值。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP