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操作,就应该主要参考IOPS
如你的数据库主要是mutil-block操作 ,就应该主要参考MPBS对于oracle10gR2版本的database,其主要操作类型可以通过查询v$sysstat来获取相应信息
对于oracle10gR2以前版本的database,其主要 操作类型可能需要查询多个视图
更详细信息可以参考Orion_Users_Guide.pdf文档