monitoring exadata performance
DESCRIPTION
Monitoring Oracle Exadata PerformanceTRANSCRIPT
Monitoring Exadata Performance --EXADATA COE
Monitoring Exadata Performance
--EXADATA COE1The monitoring tasks can be divided into the following categories:
SQL statement monitoring
Database layer utilization and efficiency monitoring
Storage cell layer utilization and efficiency monitoringThe monitoring tasks22SQL Statement Monitoring
The SQL Statement Monitoring can be done in following ways
Monitoring SQL Statements with Real-Time SQL Monitoring Reports
Reporting Real-Time SQL Monitoring Data with DBMS_SQLTUNE
Manually Querying Real-Time SQL Monitoring Data
Monitoring SQL Statements using V$SQL and V$SQLSTATS3Click the SQL Monitoring link in the Enterprise Manager performance page
SQL Statement Monitoring
44SQL Statement Monitoring
5SQL Statement Monitoring
6SQL Statement Monitoring
7SQL Statement MonitoringWithout using Grid Control or Enterprise Manager Database Console the SQL monitoring details can be extract using the DBMS_SQLTUNE.REPORT_SQL_MONITOR package function .
8SQL Statement Monitoring
9We can access the data of Grid Control or Enterprise Manager Database Console from the V$ views directly.GV$SQL_MONITOR view contains the statement execution-level monitoring data.The GV$SQL_PLAN_MONITOR view contains execution plan line-level metrics ,monitored and updated in real time. We can query the IO_INTERCONNECT_BYTES and compare it to PHYSICAL_READ_BYTES and PHYSICAL_WRITE_BYTES to determine the offloading efficiency by each individual execution plan line.The GV$ACTIVE_SESSION_HISTORY view contains columns like SQL_PLAN_LINE_ID,SQL_PLAN_OPERATION and SQL_PLAN_OPTIONS.We can query these columns, in addition to SQL_ID, to find the top rowsources of an SQL execution plan, too, instead of just listing the top SQL statement.
SQL Statement Monitoring10The V$SQL and V$SQLSTATS views still do have some advantage over SQL Monitoring and ASH-style sampled data in a few cases. For example, if you want to measure metrics like the number of executions, buffer gets, parse calls, fetches, or rows returned by the SQL child cursor, you can get this data from both Real-time SQL Monitoring (V$SQL_MONITOR) or the V$SQL/V$SQLSTATS views, but not ASH. But the problem with SQL Monitoring is that it doesnt monitor short-running queries at all, therefore making it unusable for keeping track of OLTP-style small queries executed many times per second.SQL Statement Monitoring11Exadata Storage cell monitoring done can be done in following ways
Monitoring with metrics & alerts using cellcli .
Monitoring of active requests on the Exadata Storage Server .
Using Oracle Enterprise Manager for monitoring .
Using Oracle Integrated Lights Out Manager .
Storage Cell Layer Monitoring
12show metric short namesCellCLI> LIST METRICDEFINITIONCD_IO_BY_R_LGCD_IO_BY_R_LG_SECCD_IO_BY_R_SMCD_IO_BY_R_SM_SEC....N_MB_SENTN_MB_SENT_SECN_NIC_KB_RCV_SECN_NIC_KB_TRANS_SECN_NIC_NWN_RDMA_REshow metric description and detailsCellCLI> LIST METRICDEFINITION CL_CPUT DETAIL; name: CL_CPUTdescription: "Percentage of time over the previous minute that the systemCPUs were not idle."metricType: InstantaneousobjectType: CELLunit: %list latest snapshot in detailCellCLI> LIST METRICCURRENT CL_CPUT DETAIL; name: CL_CPUTalertState: normalcollectionTime: 2011-05-16T09:31:53-05:00metricObjectName: enkcel01metricType: InstantaneousmetricValue: 5.3 %objectType: CELLshow historical metric snapshotsCellCLI> LIST METRICHISTORY CL_CPUT; CL_CPUT enkcel01 2.2 % 2011-05-06T12:00:46-05:00CL_CPUT enkcel01 2.4 % 2011-05-06T12:01:49-05:00CL_CPUT enkcel01 2.1 % 2011-05-06T13:00:15-05:00CL_CPUT enkcel01 0.3 % 2011-05-06T13:01:15-05:00 TRY_TMMonitoring MetricsUsing CellCLI13to display the alert definitions for the cell
CellCLI> LIST AERTDEFINITION HardwareAlert DETAILname: HardwareAlertalertShortName: HardwarealertSource: HardwarealertType: Statelessdescription: "Hardware Alert"metricName: Alert History CellCLI> LIST ALERTHISTORY WHERE severity = 'critical AND examinedBy = '' DETAILAcknowledging Alerts CellCLI> ALTER ALERTHISTORY 123456633/All examinedBy='JohnSmithPropagating Alerts via SNMP and SMTP CellCLI> ALTER CELL smtpServer='smtp.example.com', -smtpFromAddr='[email protected]', smtpFrom='John Smith', -smtpToAddr='[email protected]', -snmpSubscriber=((host=host1),(host=host2)), -notificationPolicy='critical, warning, clear', -notificationMethod='mail, snmpCreating Threshold AlertsCellCLI> CREATE THRESHOLD gd_io_errs_min.gd_threshold warning=100, critical=200, -comparison='='Monitoring Alerts Using CellCLI14Monitoring Active Requests The I/O requests that are actively processed by the Exadata Storage Servers can be monitored using the activerequest
LIST ACTIVEREQUEST WHERE ioType = DETAIL
Monitoring Active requests
15The System Monitoring Plug-in for Oracle Exadata Storage Server enables you to manage and monitor Storage Server targets using Grid Control .To monitor Exadata Storage Server create a group and add storage cell metrics.
Monitoring Using Grid Control Exadata Storage Server Plug-In
1617Monitoring Using Grid Control Exadata Storage Server Plug-In
18Monitoring Using Grid Control Exadata Storage Server Plug-In
19Monitoring Using Grid Control Exadata Storage Server Plug-In
THANK YOU20