You are on page 1of 19

OCP 12c Enhancements for the DBA

EMERGENCY MONITORING

Tim Boles
SENIOR MANAGER – DATABASE SERVICES

@offbeatdba
Mark
OCP Upgrade to
Oracle Database 12c
Exam 1Z0-060
Senior
DBA

9i
10g

11i

10g
9i 12c - CDB
11i
Monitoring Performance Issues

AWR

My job
Response is taking ADDM
is slow forever
Overview
Emergency Monitoring
Real-time ADDM
Perform Emergency Monitoring
Normal Access Mode

PL/SQL
Engine
AWR

OEM ADDM
Pre-12c Oracle Enterprise Manager
11g Memory Access Mode

SGA

OEM
Collector
Process
New Enterprise Manager
12c Emergency Monitoring

SGA
ASH
buffers

OEM
OEM
agent
as
SYSDBA
60
minutes
Real-time performance data

Emergency ASH data

Monitoring Hang Analysis table


Abilities Kill sessions
Restart database instance
Real-time ADDM
ADDM Connection Modes

Normal Diagnostic
JDBC Latch-less
Real-Time ADDM Analysis Triggers

Memory

High load – Avg active sessions >3 x cpu


I/O bound – Single block read performance
CPU bound – >10% total load, CPU >50%
3 seconds Over-allocated memory - >95% of physical
Interconnect bound – transfer time
MMON Session limit – close to 100%
Process limit – close to 100%
Hung session – > 10% total sessions
Deadlock detected – any detected
Quick Facts

>=100% impact within 45


Five minutes between reports
minutes

DBMS_ADDM
OEM Cloud Control 12c+
REAL_TIME_ADDM_REPORT
Viewing Reports

DBA_HIST_REPORTS_DETAILS

DBA_HIST_REPORTS
Demo Perform Emergency Monitoring
Execute Real-time ADDM
- OEM Cloud Control
- DBMS_ADDM.REAL_TIME_ADDM_REPORT
Summary
Emergency Monitoring
Real-Time ADDM
What is Next?
ADDM Compare Period

You might also like