OEM s SQL Monitoring Feature. Ken Gottry 5-May-2014



Similar documents
Quick Start Guide. Ignite for SQL Server. Confio Software 4772 Walnut Street, Suite 100 Boulder, CO CONFIO.

Oracle Database 11g: New Features for Administrators 15-1

!"#"$%&'(()!!!"#$%&'())*"&+%

MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC

MicroStrategy Tips and Tricks

How to Create Dashboards. Published

MyOra 3.5. User Guide. SQL Tool for Oracle. Kris Murthy

Once you ve signed up, all you ll have to do is sign in. To sign in key in your address and password.

User Tutorial on Changing Frame Size, Window Size, and Screen Resolution for The Original Version of The Cancer-Rates.Info/NJ Application

Maximizing Performance for Oracle Database 12c using Oracle Enterprise Manager

SSL Enablement of the DB2 Web Query for System i Server

Oracle Enterprise Manager 12c New Capabilities for the DBA. Charlie Garry, Director, Product Management Oracle Server Technologies

Preparing a SQL Server for EmpowerID installation

The data between TC Monitor and remote devices is exchanged using HTTP protocol. Monitored devices operate either as server or client mode.

How to Integrate Salesforce with Your Constant Contact Account FOR ENTERPRISE & UNLIMITED EDITIONS

Microsoft Access Rollup Procedure for Microsoft Office Click on Blank Database and name it something appropriate.

I Expense Online Expense Approvals

Unified Monitoring Portal Online Help List Viewer

Working with SQL Server Integration Services

Product Review: James F. Koopmann Pine Horse, Inc. Quest Software s Foglight Performance Analysis for Oracle

Oracle Database Performance Management Best Practices Workshop. AIOUG Product Management Team Database Manageability

WEBSITE CONTENT MANAGEMENT SYSTEM USER MANUAL CMS Version 2.0 CMS Manual Version

Procedures for monitoring Application Manager 8.0

User Guide. Opening secure from the State of Oregon Viewing birth certificate edits reports in MS Excel

Real-Time SQL Monitoring. December 2009

Connecting to your Database!... 3

Trial version of GADD Dashboards Builder

How to make a line graph using Excel 2007

MONAHRQ Installation Permissions Guide. Version 2.0.4

MINI-GUIDE: Work with Packages in Kitomba

INSTALLATION INSTRUCTIONS FOR THE STUDENT SAMPLE SCHEMA

1. This lesson introduces the Performance Tuning course objectives and agenda

User Manual. Crystal Report Integration

Executive Dashboard. User Guide

Collecting Oracle AWR Reports for Database Infrastructure Evaluator Tool (DIET) by Hitachi Data Systems

Moodle eportfolio User Guide

Online Performance Reviews with PeopleAdmin

DropSend Getting Started Guide

ORACLE BUSINESS INTELLIGENCE WORKSHOP

Introduction Download and Install Mobile Application About Logging In Springboard Navigation List Pages...

DALHOUSIE NOTES ON PAYROLL EXPENSE DETAIL IN FINANCE SELF SERVICE. QUICK REFERENCE As of September 1, 2015

Flash MX Image Animation

Hardware Recommendations

Business Intelligence Overview. BW/BI Security. BW/BI Architecture. Business Explorer (BEx) BW/BI BEx Tools Overview. What is BEx?

Market Pricing Override

Save and share files in the cloud by using OneDrive for Business

Connecticut Hazardous Waste Manifests Database

Top Down Performance Management with OEM Grid Control Or How I learned to stop worrying and love OEM Grid Control John Darrah, DBAK

Mechanics Bank Mobile Banking Mobile Finance Manager (MFM) Application Windows Mobile Phone Installation

Schools Remote Access Server

#9011 GeoMedia WebMap Performance Analysis and Tuning (a quick guide to improving system performance)

Sidebar Dashboard User Guide. Modified: June, 2013 Version 8.2

Umbraco Content Management System (CMS) User Guide

IST 195 Lab 12 Introduction to Microsoft Project

IS466 Decision Support Systems. SQL Server Business Intelligence Development Studio 2008 User Guide

GETTING STARTED WITH SQL SERVER

Quick use reference book

Table of Contents. Real Magnet netforum Integration User s Guide

Work instructions. 1. Changes since last revision. 2. Records. 3. Instructions. Title: How to create reports from scientific memory database (SMD)

Creating Reports with Microsoft Dynamics AX SQL Reporting Services

CONFIGURING SQL SERVER FOR METRIX

Microsoft SharePoint is provided by Information Services for staff in Aberystwyth University.

Optimizing Your Database Performance the Easy Way

Programa de Actualización Profesional ACTI Oracle Database 11g: SQL Tuning Workshop

How To Convert A Lead In Sugarcrm

Database Linker Tutorial

Policy Compliance. Getting Started Guide. January 22, 2016

Transaction Monitoring Version for AIX, Linux, and Windows. Reference IBM

Great! You sold some Lexmark devices. Now you need to file for the associated rebates.

Project Management within ManagePro

Creating a New Project

UF Health SharePoint 2010 Introduction to Content Administration

TechnologyOne Financials Overview, Navigation and Shortcuts. Training guide for end users

Unity Application Suite SQL Server Database Integration

How To Set Up A Xerox Econcierge Powered By Xerx Account

Configuring Your Firewall for Client Access in Professional Edition

TIBCO Spotfire Metrics Modeler User s Guide. Software Release 6.0 November 2013

Oracle Database 11g: SQL Tuning Workshop Release 2

Administrator s Guide ALMComplete Support Ticket Manager

SecureVault Online Backup Service. Quick Start Guide

Results CRM 2012 User Manual

Creating an itunes App Store account without a credit card

Option nv, Gaston Geenslaan 14, B-3001 Leuven Tel Fax Page 1 of 14

Oracle Database 11g: Performance Tuning DBA Release 2

How to use Dropbox. What is Dropbox. Please read the University of Melbourne Guidelines on Dropbox and University Information prior to use.

Immersion Day. Creating an Elastic Load Balancer. Rev

General Instructions and Tips for New HR/Payroll Forms

Contents. Dianne Harrison Ferro Mesarch

SonicWALL GMS Custom Reports

INsight Call Center Users Guide

Easy Grade Pro Progress Reports on the Web

1. To build a Smart View report, open Excel and click on the Smart View tab.

Applying traditional DBA skills to Oracle Exadata. Marc Fielding March 2013

Data Entry Training Module

Oracle Database 12c: Performance Management and Tuning NEW

We make it quick and simple for you to electronically review and sign your documents in one simple and convenient process.

EMC Unisphere for VMAX Database Storage Analyzer

At the end of this lesson, you will be able to create a Request Set to run all of your monthly statements and detail reports at one time.

Transcription:

OEM s SQL Monitoring Feature Ken Gottry 5-May-2014

SQL Monitoring Feature of Oracle Enterprise Manager (OEM) Oracle Enterprise Manager (OEM) presents many administrative and investigatory services to the DBA. When looking at performance issues, DBA s usually go to the Performance tab, look at the overall behavioral graphs, and then click on Top Activity link to begin their investigation This presentation talks about another approach, one using the SQL Monitoring feature of OEM. I don t know how long it s been around, but I just stumbled upon it this past weekend. It helped me find a performance issue in production that I had been struggling with for 2 days. I ll still use the Top Activity display but I ve definitely added OEM s SQL Monitoring feature to my database bag-of-tricks I m an old-timer who pooh-pooh s GUI s, relying instead on my tried-n-true sqlplus queries into V$ and DBA_HIST. But SQL Monitoring may be the OEM feature that changes that

ACCESSING SQL MONITORING

When you click on the Performance tab in OEM, you have to login to the database instance. Then you see the current activity screen We normally click on the Top Activity link to begin our investigation

The Top Activity screen shows the currently executing SQL plus a brief history of top activity We normally click on the top SQL in the list to see the SQL Details screen

From the SQL Details screen, we typically look at the Statistics tab to see how the SQL has been behaving. Sometimes we look at the Plan tab to see how Oracle estimates it will execute this SQL However, this presentation shows what s on the SQL Monitoring tab

It shows recent executions of the SQL, including a breakdown of DB Time and I/O time Mouse-over any colored section of a graph to see the wait event and the percent of time The left-hand column indicates if the SQL ended, aborted, or is still running Click on the icon in the left-hand column of the execution you want to investigate

Magic! This screen shows the Explain Plan, both the original estimates and the actual execution values The 3 right-hand columns show I/O, CPU, an waits associated with each step of the Explain Plan. It s like AutoTrace without the work or forethought The Timeline column shows in what order Oracle executed the steps in the plan The next slide shows a more interesting section of the execution of this SQL

The HASH JOIN line shows Oracle estimated 419K rows but actually ended up processing 806M Mousing-over the orange/brown sections of the I/O Requests column shows Direct Path Read Temp and Direct Path Write Temp waits The TEMP column shows this excessive number of actual rows exceeded memory so Oracle used 37GB of TEMP. AWR shows these Direct Path Read/Write Temp waits averaged 23ms. Very slow

The Activity and Metrics buttons at the top of the display provide other views of the execution

ALTERNATE PATH

Here s an alternate path to the same information From the initial Performance display, from which most of us click Top Activity, scroll to the bottom. On the right-hand column is a link for SQL Monitoring

The SQL Monitoring display shows all executing and recently completed SQL This is similar to, but different than, the Top Activity display The icon in the left-hand column indicates if the SQL is executing, completed, or aborted

SQL MONITORING REPORT

Find something interesting? Want to share it with the developers? Want to save it for future reference? Click the View Report button The graphical data is presented as text data within a web page. Use your browser s File SaveAs WebPage or if your OEM is so configured, click on the Email button

HISTORICAL DATA

They never call when the problem is happening. They always call and say Yesterday at 3pm things were slow No problem. On the Top Activity display, drag the shadowed box to the left to the appropriate timeframe. The SQL list at the bottom changes. Click on the offending SQL and proceed as before. I haven t figured out yet how long SQL Monitoring data is stored