暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Dell的2850 + Oracle10gR2 I/O性能测试

原创 eygle 2006-06-20
504

前几天帮朋友安装了一套Oracle10gR2的环境,顺便简单测试了一下IO性能。
机器是Dell的2850,三块硬盘的Raid5。









[oracle@order ~]$ sqlplus eygle/eygle


SQL*Plus: Release 10.2.0.2.0 - Production on Fri Jun 16 11:29:49 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options



SGA设置如下:









SQL> show sga


Total System Global Area 2483027968 bytes
Fixed Size 1262344 bytes
Variable Size 536874232 bytes
Database Buffers 1929379840 bytes
Redo Buffers 15511552 bytes



插入数据测试性能:









SQL> create table t as select * from dba_objects where 1=0;


Table created.


SQL> begin
2 for i in 1 .. 10000 loop
3 insert into t select * from dba_objects where rownum <1001;
4 commit;
5 end loop
6 ;
7 end;
8 /


PL/SQL procedure successfully completed.



通过iostat观察IO性能,以下简要的几个采样显示:
在iowait达到25.24%时,系统的IO写入能力可以达到18M左右。
在iowait达到28.23%时,系统的IO写入能力可以达到48M左右。


而CPU的idle值都在60%以上,说明CPU仍然有相当空闲,IO仍然是主要瓶颈。
但是这个IO性能也已经不错了,SCSI的硬盘,能够满足一般业务的需求了。









[oracle@xcstat ~]$ iostat -k 5|grep -v "0.00 0.00 0.00"
Linux 2.6.9-34.ELsmp (xcstat.xcsky.cn) 06/16/2006


avg-cpu: %user %nice %sys %iowait %idle
4.70 0.00 2.40 25.24 67.67


Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sda 1164.47 7.98 18447.11 40 92420
sda5 4613.37 7.98 18445.51 40 92412
sda7 0.40 0.00 1.60 0 8


avg-cpu: %user %nice %sys %iowait %idle
4.75 0.00 3.60 28.23 63.41


Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sda 670.94 0.00 48109.82 0 240068
sda5 12026.85 0.00 48107.41 0 240056
sda7 0.60 0.00 2.40 0 12



综合总体数据:
平均IO写入速度为:19183.18945 kB_wrtn/s
最大IO写入速度为:48107.41 kB_wrtn/s
最小IO写入速度为:978 kB_wrtn/s


简单的测试,记录些简单的数据供参考。


 



「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论