. ORION 概述
1.1 ORION 說明
ORION (Oracle I/O Calibration Tool) 是校準用於 Oracle 資料庫的儲存系統 I/O 效能的獨立工具。校準結果對於瞭解儲存系統的效能有很大協助,不僅可以找出影響 Oracle 資料庫效能的問題,還能測量新資料庫安裝的大小。由於 ORION 是一個獨立工具,使用者不需要建立和運行 Oracle 資料庫。
Orion的下載地址為:
http://www.oracle.com/technology/global/cn/software/tech/orion/index.html
為了儘可能地類比 Oracle 資料庫,ORION 使用和 Oracle 相同的 I/O 軟體集產生一個合成的 I/O 負載。可以將 ORION 配置為產生很多 I/O 負載,包括一個類比 OLTP 和資料倉儲負載的 I/O 負載。
ORION 支援多種平台。將來還會增加對更多平台的支援。使用者指南提供詳細的使用文檔,包括“入門”部分和疑難解答提示。在 ORION 中調用“-help”選項可以直接擷取關於如何使用 ORION 的摘要。
注意,Oracle 不對 ORION提供支援。
優勢:
1、不需要運行load runner以及配置大量的clinet
2、不需要運行oracle資料庫,以及準備大量的測試資料
3、測試結果更具有代表性,如隨機IO測試中,該軟體可以讓儲存的命中率接近為0,而更模擬出了磁碟的真實的IOPS,而load runner很難做到這些,最終的磁碟IOPS需要換算得到。
4、可以根據需要定製一定比例的寫操作(預設沒有寫操作),但是需要注意,如果磁碟上有資料,需要小心資料被覆蓋掉。
缺點
1、到現在為止,無法指定自訂的總體的已耗用時間以及加壓的幅度,這裡完全是自動的.
2、無法進行一些自訂的操作類型,如表的掃描操作,裝載測試等等,不過可以與oracle資料庫結合起來達到這個效果.
1.2 ORION 協助
C:\Program Files(x86)\Oracle\Orion>orion -help
ORION: ORacle IO Numbers -- Version10.2.0.1.0
ORION runs IO performance tests that modelOracle RDBMS IO workloads.
It measures the performance of small(2-32K) IOs and large (128K+) IOs at various load levels. Each Orion data point is done at a specific mixof small and large IO loads sustained for a duration. Anywhere from a single data point to atwo-dimensional array of data points can be tested by setting the rightoptions.
An Orion test consists of data points atvarious small and large IO load levels. These points can be represented as a two-dimensional matrix: Each columnin the matrix represents a fixed small IO load. Each row represents a fixedlarge IO load. The first row is with no largeIO load and the first column is with no small IO load. An Orion test can be a single point, a row, acolumn or the whole matrix.
Parameters 'run','testname', and 'num_disks' are mandatory. Defaults are indicated for all otherparameters. For additional information on the user interface, see the Orion User Guide.
--運行ORAION必須包含run,testname,num_disks 三個參數。
<testname>.lun should contain acarriage-return-separated list of LUNs The output files for a test run areprefixed by <testname>_.
The output files are:
<testname>_summary.txt - Summary ofthe input parameters along with min. small latency, max large MBPS and/or max.small IOPS.
<testname>_mbps.csv - Performanceresults of large IOs in MBPS(輸送量)
<testname>_iops.csv - Performanceresults of small IOs in IOPS(每秒IO次數)
<testname>_lat.csv - Latency of smallIOs(回應時間)
<testname>_tradeoff.csv - Shows largeMBPS / small IOPS combinations that can be achieved at certain small latencies
<testname>_trace.txt - Extended,unprocessed output(跟蹤資訊,最詳細的資料)
--ORION 執行結束會輸出5個檔案,每個檔案的不同作用參考上面的說明。
WARNING: IF YOU ARE PERFORMING WRITE TESTS,BE PREPARED TO LOSE ANY DATA STORED ON THE LUNS.
Mandatory parameters(強制的參數說明):
run Type of workload to run(simple, normal, advanced)
simple - tests random 8K small IOs at various loads,then random 1M largeIOs at various loads.
normal - tests combinations of random8K small IOs and random 1M large IOs
advanced - run theworkload specified by the user using optional parameters