zoukankan      html  css  js  c++  java
  • ORACLE ORION测试IO性能

    https://www.oracle.com/technetwork/cn/topics/index-088165-zhs.html 下载地址

    OrionOracle提供的IO性能测试工具,运行该工具不需要安装oracle database软件或创建数据库。 它可以模拟Oracle数据库的IO负载,也可以来仿真ASM的条带化的功能

    下载后解压就可以直接用

    先把要测试的设备写入到同路径的文件中,然后即可测试

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    [root@localhost oracle]# cat mytest.lun
    /dev/mapper/ol-root
    [root@localhost oracle]# ./orion_linux_x86-64 -run simple -testname mytest -num_disks 1
    ORION: ORacle IO Numbers -- Version 11.1.0.7.0
    mytest_20190329_1057
    Test will take approximately 9 minutes
    Larger caches may take longer
     
    [root@localhost oracle]# ls|grep csv
    mytest_20190329_1057_iops.csv
    mytest_20190329_1057_lat.csv
    mytest_20190329_1057_mbps.csv
    [root@localhost oracle]# cat mytest_20190329_1057_iops.csv
    Large/Small,      1,      2,      3,      4,      5
              0,   2302,   4398,   5450,   6006,   6210
              1
              2
    [root@localhost oracle]# cat mytest_20190329_1057_lat.csv
    Large/Small,      1,      2,      3,      4,      5
              0,   0.43,   0.45,   0.55,   0.67,   0.80
              1
              2
    [root@localhost oracle]# cat mytest_20190329_1057_mbps.csv
    Large/Small,      0,      1,      2,      3,      4,      5
              1, 271.58
              2, 374.26
    [root@localhost oracle]#
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    [root@localhost oracle]# ll|grep mytest
    -rw-r--r--. 1 root   root          128 Mar 29 11:04 mytest_20190329_1057_iops.csv
    -rw-r--r--. 1 root   root          128 Mar 29 11:04 mytest_20190329_1057_lat.csv
    -rw-r--r--. 1 root   root          100 Mar 29 11:04 mytest_20190329_1057_mbps.csv
    -rw-r--r--. 1 root   root          599 Mar 29 11:04 mytest_20190329_1057_summary.txt
    -rw-r--r--. 1 root   root         2969 Mar 29 11:04 mytest_20190329_1057_trace.txt
    -rw-r--r--. 1 root   root           20 Mar 29 10:57 mytest.lun
    [root@localhost oracle]# cat mytest_20190329_1057_summary.txt
    ORION VERSION 11.1.0.7.0
     
    Commandline:
    -run simple -testname mytest -num_disks 1
     
    This maps to this test:
    Test: mytest
    Small IO size: 8 KB
    Large IO size: 1024 KB
    IO Types: Small Random IOs, Large Random IOs
    Simulated Array Type: CONCAT
    Write: 0%
    Cache Size: Not Entered
    Duration for each Data Point: 60 seconds
    Small Columns:,      0
    Large Columns:,      0,      1,      2
    Total Data Points: 8
     
    Name: /dev/mapper/ol-root       Size: 49178214400
    1 FILEs found.
     
    Maximum Large MBPS=374.26 @ Small=0 and Large=2
    Maximum Small IOPS=6210 @ Small=5 and Large=0
    Minimum Small Latency=0.43 @ Small=1 and Large=0

    结束后会多出5个文件,分别是测试详细信息,概要信息,iops,mbps,latency

    作者:九命猫幺
    博客出处:http://www.cnblogs.com/yongestcat/
    欢迎转载,转载请标明出处。
    如果你觉得本文还不错,对你的学习带来了些许帮助,请帮忙点击右下角的推荐

  • 相关阅读:
    js编码中常用的知识点
    oracle函数的使用
    oracle 临时表的使用
    oracle11G归档日志管理
    oracle中 高水位线详解
    oracle并行模式(Parallel)
    oracle常用函数详解(详细)
    oracle系统表的查询
    15000 字的 SQL 语句大全
    oracle_单引号问题和execute immediate 赋值问题
  • 原文地址:https://www.cnblogs.com/hftian/p/15766049.html
Copyright © 2011-2022 走看看