oracle orion用法(IO压力测试)

orion--oracle公司提供的IO存储测试软件

orion,一款由Oracle公司提供,专门用于模拟数据库运行机制来测试存储的优秀IO存储测试软件,可以在不运行oracle数据库的情况下,仿真OLTP随机操作(测试IOPS)或者是OLAP连续性操作(测试吞吐量)。

先看看官方说明:(软件下载地址)

ORION is the Oracle I/O Numbers Calibration Tool designed to simulate Oracle I/O workloads

- Without having to create and run an Oracle database

- Using the Oracle database's I/O libraries

- Using small I/Os to simulate OLTP workloads

- Using large I/Os to simulate data warehouses

ORION is useful for understanding the performance capabilities of a storage system, either to uncover performance issues or to size a new database installation. The Users Guide contains a Getting Started section, detailed usage documentation, and trouble-shooting tips. Please note that ORION is not supported by Oracle.

具体使用步骤:

1、下载对应平台软件

2、该软件不需要make,已经make,解压后直接使用

3、选择测试项目名称

4、配置run文件

如果测试项目名称为mytest,则需要在mytest.lun中配置测试lun的相应信息

5、确认上述配置lun都能访问

6、确认异步IO的相关lib路径正确设置

7、使用不同参数进行测试

建议从simple测试类型开始

8、根据测试结果绘制相应图表

下面几个具体的例子说明其操作

1、数据库OLTP类型,假定IO类型全部是8K随机操作,压力类型,自动加压,从小到大,一直到存储压力极限

#nohup ./orion -run advanced -testname mytest -num_disks 96 -size_small 8 -size_large 8 -type rand &

2、数据库吞吐量测试,假定IO全部是1M的序列性IO

#nohup ./orion -run advanced -testname mytest -num_disks 96 -size_small 1024 -size_large 1024 -type seq &

3、指定特定的IO类型与IO压力,如指定小IO为压力500的时候,不同大IO下的压力情况

#nohup ./orion -run advanced -testname mytest -num_disks 96 -size_small 8 -size_large 128 -matrix col -num_small 500 -type rand &

4、结合不同的IO类型,测试压力矩阵

#nohup ./orion -run advanced -testname mytest -num_disks 96 -size_small 8 -size_large 128 -matrix detailed -type rand &

最后根据你的数据库类型,来选择合适storage;

如你的数据库主要是single-block操作

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值