eygle.com   eygle.com
eygle.com  
 

« 隐含参数_disable_logging的几点说明 | Blog首页 | 新书名称确定-《深入浅出Oracle》 »

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

作者:eygle |【转载时请务必以超链接形式标明文章和作者信息及本声明
链接:

前几天帮朋友安装了一套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

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

 

By eygle on 2006-06-20 11:44 | Comments (5) | Posted to Oracle10g/11g | Edit |Pageviews:

相关文章 随机文章
  • 鸡肋-ORACLE10g自动收集CBO统计信息
  • 安装了Oracle10g 10.2.0.3 感受众多BUG
  • Oracle中独一无二的Cache对象
  • Oracle10g中过程(PROCEDURE )重建的增强
  • 修改默认的undo_retention参数设置
  • 在RAC环境中如何管理日志(redolog file)组
    周末看片-关于莉莉周的一切
    EMC CX500再扩容量2T
    Oracle HowTo:如何查看各个表空间的自由空间
    What Kind Of DBA we need-我们需要什么样的DBA?
    网上相关主题:
    Google

    留言 (5)

    这个配置相当之高啊,应该是比较大规模的应用吧,每天的记录数至少在千万条以上吧。

    Posted by: wanmoxiaosheng at August 13, 2006 12:30 AM

    很普通的Pc Server阿!

    Posted by: eygle at August 13, 2006 9:58 PM

    折合成记录数,每秒钟插入多少条记录?
    另外,我最近遇到含有汉字的纪录无法正常插入数据库的问题,不知该如何解决?

    Posted by: wanmoxiaosheng at October 31, 2006 3:34 PM

    记录数跟你的行长有关下啊!具体你要自行测试才知道。

    汉字?多半跟字符集有关,什么错误?

    Posted by: eygle at October 31, 2006 3:57 PM

    我测试用表有大约30个字段,总长度约为2K,测试效率只有五六百条/秒,而实际运行需要加索引,效率更低。

    报错为Ora-01756。
    我在代码中使用的是\'%s\',但后面一个'被丢了。真是莫名其妙。

    Posted by: wanmoxiaosheng at November 1, 2006 10:27 AM

    发表留言:



    Remember Me?
    (输入验证码后方可评论,谢谢支持)



    CopyRight © 2004 eygle.com, All rights reserved.