Download presentation
Presentation is loading. Please wait.
Published byCarter Bias Modified over 10 years ago
1
RAC I/O Lab
2
1. Run Database Load Script Your instructor will provide you with a directory containing database schema creation and data loading scripts In a command window, move to the PTCDB directory and run the create_ptcdb.bat file The scripts will generate database activity which can be measured with monitoring tools The scripts will generate database activity which can be measured with monitoring tools If the file completes, simply restart to generate additional load
3
2. Monitoring I/O with Oracle Counters for Windows Performance Monitor Go to Start -> Oracle – OraDb10g_home1 -> Configuration and Migration Tools -> Oracle Counters for Windows Performance Monitor Add the following counters (not all at the same time): Avg. Disk sec/Read Avg. Disk sec/Read Avg. Disk sec/Write Avg. Disk sec/Write Disk Bytes/sec Disk Bytes/sec Disk Read Bytes/sec Disk Read Bytes/sec Disk Write Bytes/sec Disk Write Bytes/sec Avg. Disk Bytes/Read Avg. Disk Bytes/Read Avg. Disk Bytes/Write Avg. Disk Bytes/Write Current Disk Queue Length Current Disk Queue Length
4
3. Measuring I/O with STATSPACK Run the %ORACLE_HOME%\admin\spcreate.sql script to install STASPACK Run the %ORACLE_HOME%\admin\spcreate.sql script to install STASPACK Log in as “sys as sysdba” and run the execute statspack.snap command Log in as “sys as sysdba” and run the execute statspack.snap command Wait a few minutes Wait a few minutes Run the execute statspack.snap command again Run the execute statspack.snap command again Run the spreport.sql sccript to create a report Run the spreport.sql sccript to create a report Review the I/O performance findings per tablespace and per datafile Review the I/O performance findings per tablespace and per datafile
5
4. Measuring I/O with Database Control Login to Database Control Go to the Performance Tab Review the Instance Disk I/O chart Review the Instance Throughput chart
6
4. Measuring I/O with Database Control
7
5. ASM Monitoring Your instructor will provide an sql script for reporting ASM status Run this report in an sqlplus session Run this report in an sqlplus session Open a command window Run the command asmcmd At the ASMCMD prompt, enter “help” At the ASMCMD prompt, enter “help” Get a listing of directories with the ls command Get a listing of directories with the ls command Change directories to the DATA directory and list files Change directories to the DATA directory and list files
8
6. I/O Monitoring Demo Your instructor will demonstrate using I/O Meter to test disk performance
9
© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.