10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 7 RESOURCE MANAGEMENTand large I/O requests for a database and present them as “Total I/O Requests.” The long and short of itis, you are better off to just dump out all the rows you are interested in, load them into a database, anduse SQL*Plus to report them. Now, let’s take a look at some simple LIST commands for extracting IORMmetrics along with a sample of the output they generate.Reporting IORM Database MetricsThis first listing reports I/O metrics for our Database IORM Plan, (name like 'DB_IO_.*'). TheobjectType = ‘IORM_DATABASE’ isn’t really necessary; we’ve just included it to illustrate that this is theonly objectType stored for this metric.CellCLI> LIST METRICCURRENT -WHERE name LIKE 'DB_IO_.*' -AND objectType = 'IORM_DATABASE' -ATTRIBUTES name, objectType, metricObjectName, metricValue, collectionTime...DB_IO_BY_SEC IORM_DATABASE SCRATCH 453 MB/sec 2011-03-29T07:04:46-05:00DB_IO_BY_SEC IORM_DATABASE SMITHERS 17 MB/sec 2011-03-29T07:04:46-05:00DB_IO_BY_SEC IORM_DATABASE SNIFF 0 MB/sec 2011-03-29T07:04:46-05:00DB_IO_LOAD IORM_DATABASE SCRATCH 7 2011-03-29T07:04:46-05:00...Reporting IORM Category MetricsTo report I/O metrics for our Category Resource Plan, the name filter is changed to 'CT_IO_.*'. Adding anadditional filter on the ObjectName metric (not like '_.*'), eliminates <strong>Oracle</strong>’s automaticallymaintained categories such as _ASM_, and _ORACLE_BG_CATEGORY_.CellCLI> LIST METRICCURRENT -WHERE name LIKE 'CT_IO_.*' -AND metricObjectName NOT LIKE '_.*' -ATTRIBUTES name, objecttype, metricObjectName, metricValue, collectionTime...CT_IO_UTIL_LG IORM_CATEGORY APPS_CATEGORY 0 % 2011-03-29T06:39:45-05:00CT_IO_UTIL_LG IORM_CATEGORY BATCH_CATEGORY 12 % 2011-03-29T06:39:45-05:00CT_IO_UTIL_LG IORM_CATEGORY OTHER13 % 2011-03-29T06:39:45-05:00CT_IO_UTIL_SM IORM_CATEGORY APPS_CATEGORY 0 % 2011-03-29T06:39:45-05:00CT_IO_UTIL_SM IORM_CATEGORY BATCH_CATEGORY 0 % 2011-03-29T06:39:45-05:00CT_IO_UTIL_SM IORM_CATEGORY OTHER0 % 2011-03-29T06:39:45-05:00...Reporting IORM Consumer Group MetricsTo report I/O metrics for our consumer groups, we replace the name filter with CG_IO_.*, which displaysI/O metrics for consumer groups. The additional filters for metricObjectName remove other databasesfrom the output as well as consumer groups that <strong>Oracle</strong> creates for background processes, such as_ORACLE_BACKGROUND_GROUP_. The collectionTime was omitted from the sample output because of spaceconstraints.225

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

Saved successfully!

Ooh no, something went wrong!