10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 7 RESOURCE MANAGEMENT[enkdb02:SNIFF] /home/rjohnson/myscripts> burn_io.sh {kosborne, tpoder, rjohnson, fred} x 3Step 3: Dump IORM Metrics to a File.We’ll allow the stress test to run for a while and then gather the IORM metrics from the storage cells. Thefollowing listing shows the CellCLI command for reporting IORM metrics. These metrics are maintainedon each cell, so we’ll need to run this command on each storage cell and merge the results for furtheranalysis.CellCLI> spool iorm_enkcel01_metrics.datCellCLI> LIST METRICCURRENT -WHERE objectType LIKE 'IORM_.*'CellCLI> spool spool offAnalyzing the ResultsAfter cleaning up the output from cellsrv, we can load it into a table in order to run some queriesagainst it. The structure of this table is as follows:SYS:SCRATCH> desc iorm_metricsName Null? Type--------------------- -------- --------------CELL_IDVARCHAR2(8)NAMEVARCHAR2(19)OBJECT_TYPEVARCHAR2(19)METRIC_NAMEVARCHAR2(40)COLLECTION_TIMEVARCHAR2(25)METRIC_VALUENUMBERINCVARCHAR2(18)For ease in reporting, we’ll create a view for each of our three I/O consumer groups, filtering out activityfrom ASM, flash cache and flash-based grid disks, and background processes.-- IORM Category View --CREATE OR REPLACE FORCE VIEW RJOHNSON.CT_IORM_METRICS ASSELECT name,OBJECT_TYPE,METRIC_NAME,SUM (METRIC_VALUE) metric_value,MAX (INC) incFROM iorm_metricsWHERE name LIKE 'CT\_%' ESCAPE '\' IORM Category recordsAND name NOT LIKE 'CT\_FC\_%' ESCAPE '\' Flash Cache recordsAND name NOT LIKE 'CT\_FD\_%' ESCAPE '\' Flash-based grid disksAND metric_name NOT LIKE '%\_' ESCAPE '\' ASM, background processes, etc.GROUP BY name, OBJECT_TYPE, METRIC_NAMEORDER BY name, OBJECT_TYPE, METRIC_NAME;228

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!