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



Similar documents
Real-Time SQL Monitoring. December 2009

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

Maximizing Performance for Oracle Database 12c using Oracle Enterprise Manager

Aeries Student Information System Attendance Notes October 3, 2008

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

Tuning poor performing SQL s Using Oracle 10g Enterprise Manager s Automatic SQL Tuning Advisor

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.

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

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

Toad for Oracle 8.6 SQL Tuning

Process Document Campus Community: Create Communication Template. Document Generation Date 7/8/2009 Last Changed by Status

Greenplum Database (software-only environments): Greenplum Database (4.0 and higher supported, or higher recommended)

Instructions for creating a data entry form in Microsoft Excel

Configuring Outlook 2013 For IMAP Connections

NEXT Analytics User Guide for Facebook

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

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress*

Complete the Payroll Transfer Form

Unique promotion code

Creating and Using Databases with Microsoft Access

LECTURE -08 INTRODUCTION TO PRIMAVERA PROJECT PLANNER (P6)

Introduction to Microsoft Access 2007

Addendum 3. Do not install Service Pack 3 if you use Oracle 8! Oracle 8 is no longer supported and will not operate with SP3.

Database Assistant. Once Database Assistant is installed you must login to gain access to the database. Copyright 2009

Monitoring Operation Manual

Microsoft Office 2010

Finance Reporting. Millennium FAST. User Guide Version 4.0. Memorial University of Newfoundland. September 2013

Idera SQL Diagnostic Manager Management Pack Guide for System Center Operations Manager. Install Guide. Idera Inc., Published: April 2013

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

Division of School Facilities OUTLOOK WEB ACCESS

An Oracle White Paper February, Oracle Database In-Memory Advisor Best Practices

How To Insert Hyperlinks In Powerpoint Powerpoint

ERserver. iseries. Work management

Cloud UC Call Recording Interface in SAP dashboard

Microsoft Office Access 2007 Basics

Using the EBS SQL Import Panel

Query Organizer Tool for Oracle DBA Chennakeshava Ramesh Oracle DBA

Client Ordering and Report Retrieval Website

Working with SQL Profiler

Uni Sales Analysis CRM Extension for Sage Accpac ERP 5.5

Posting Job Orders. mindscope Staffing and Recruiting Software

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

How To Use Ticket Validation Software On A Pc Or Mac Or Macbook Or Ipad (For Acedo) On A Computer Or Ipa (For An Ipa) On An Ipad Or Macintosh (For Macintosh) On Pc

Smart Data Training. Logging in: Go to web address: Log in screen:

Xtender Invoicing Process

Configuring Your Firewall for Client Access in Professional Edition

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Connecting to your Database!... 3

IP Phone Services Configuration

Workspaces Creating and Opening Pages Creating Ticker Lists Looking up Ticker Symbols Ticker Sync Groups Market Summary Snap Quote Key Statistics

Chapter 4: Website Basics

Employee On Line (EOL) Web Based Timesheets User Guide

WEBTrader. User Guide

Connector for Microsoft Dynamics Configuration Guide for Microsoft Dynamics SL

AvePoint Tags 1.1 for Microsoft Dynamics CRM. Installation and Configuration Guide

Importing Contacts to Outlook

How To Use Databook On A Microsoft Powerbook (Robert Birt) On A Pc Or Macbook 2 (For Macbook)

Response Time Analysis

EMPLOYEE SELF-SERVICE DIRECT DEPOSIT PROCEDURES

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

VirtualCenter Database Performance for Microsoft SQL Server 2005 VirtualCenter 2.5

SubCue Analyzer Software - Introduction

General Improvements for Version 7.6. New module: Enterprise Dashboard

I Expense Online Expense Approvals

Table of Contents. Introduction Opening A Demo Account Overview Market Watch (Quotes Window) Charts Navigator

The Complete Performance Solution for Microsoft SQL Server

Double-click an appointment to view the details.

Preparing a SQL Server for EmpowerID installation

Chapter 4b - Navigating RedClick Import Wizard

RadBlue Load Tester Version 6. [Released: 09 DEC 2009]

DCA. Document Control & Archiving USER S GUIDE

DiskPulse DISK CHANGE MONITOR

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

HPE MyRoom Outlook Add-in Quick Reference Guide

Hosted VoIP Phone System. Admin Portal User Guide for. Enterprise Administrators

Autodesk Software Grant for F1 in Schools Step by Step Instructions

ipad Basics Tips from the October 16, 2014 ipad Basics Class Tip No. 1 Apple ID Where is it found? Settings>iCloud>Apple ID

Systems Management Advanced job scheduler

Proteus Telephone Management System

MySQL Manager. User Guide. July 2012

Creating Connection with Hive

VeriCentre 3.0 Upgrade Pre-Installation and Post Installation Guidelines

The Cisco CMX Analytics Service

Quick Guide on How to Clean up your Mailbox

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Rx Medical. SMD Utility. Task Scheduler Configuration

Set up Delegate & Travelers

This presentation is an introduction to the SQL Server Profiler tool.

Module 15: Monitoring

MUNIS Leave Request System (Employee Self Service) Time Off Approver

Grand Blanc Community Schools

Introduction to Microsoft Access 2010

SolarWinds Database Performance Analyzer (DPA) or OEM?

Navigating Microsoft Word 2007

COGNOS REPORTING SYSTEM USER GUIDE

CI Financial Exception Dashboard. User Manual

SA-Announce Cloud Services Mobile Notifier User Manual: ios and Android Version 1.0.0

Oracle Database 10g Express

Transcription:

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

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

SQL Monitoring The real-time SQL monitoring feature on Oracle Database 11g enables you to monitor the performance of SQL statements while they are executing. The real-time SQL monitoring feature is enabled by default when the STATISTICS_LEVEL initialization parameter is either set to ALL or to TYPICAL, which is the default value. Additionally, the CONTROL_MANAGEMENT_PACK_ACCESS parameter must be set to DIAGNOSTIC+TUNING (the default value) because real-time SQL monitoring is a feature of the Oracle Database Tuning Pack. By default, real-time SQL monitoring is started when a SQL command runs in parallel, or when it has consumed at least five seconds of the CPU or I/O time in a single execution. As mentioned, real-time SQL monitoring is active by default. However, two command-level hints are available to force or prevent a SQL command from being monitored. To force real-time SQL monitoring, use the MONITOR hint. To prevent the hinted SQL command from being monitored, use the NO_MONITOR hint. Oracle Database 11g: New Features for Administrators 15-3

SQL Monitoring (continued) You can monitor the statistics for SQL command execution using the V$SQL_MONITOR and V$SQL_PLAN_MONITOR views. After monitoring is initiated, an entry is added to the V$SQL_MONITOR dynamic performance view. This entry tracks key performance metrics collected for the execution, including the elapsed time, CPU time, number of reads and writes, I/O wait time, and various other wait times. These statistics are refreshed in near real time as the command executes, generally once every second. After the execution ends, monitoring information is not deleted immediately, but is kept in the V$SQL_MONITOR view for at least one minute. The entry is eventually deleted so its space can be reclaimed as new commands are monitored. The V$SQL_MONITOR and V$SQL_PLAN_MONITOR views can be used in conjunction with the following views to get additional information about the execution that is monitored: V$SQL, V$SQL_PLAN, V$ACTIVE_SESSION_HISTORY, V$SESSION_LONGOPS, and V$SESSION Instead, you can use the SQL monitoring report to view SQL monitoring data. Oracle Database 11g: New Features for Administrators 15-4

SQL Monitoring in Oracle Database 11g Release 2 In Oracle Database 11g Release 2, you can access the SQL Monitoring feature in Enterprise Manager Database Control by clicking the Performance tab. You can choose from Real Time and Historical Settings. Scroll down to the Additional Monitoring Links area and click SQL Monitoring, as shown in the slide. Note: The COMPATIBLE initialization parameter must be set to 11.2.0.0 (or higher) to use this feature. Oracle Database 11g: New Features for Administrators 15-5

SQL Monitoring with Enterprise Manager Database Control This slide shows just one possible work flow in Enterprise Manager Database Control. You can navigate through the following pages: Monitored SQL Execution SQL Execution Details Session Details SQL Details Oracle Database 11g: New Features for Administrators 15-6

Monitored SQL Executions When you move the cursor over the values or symbols of each SQL execution, a relevant hint appears. The slide shows the actual SQL command being executed with the cursor on the SQL ID link. When you click the link that shows the SQL ID, you navigate to the Monitored SQL Execution Details page, as shown in the following slide. Oracle Database 11g: New Features for Administrators 15-7

SQL Monitoring List This slide shows another example of monitored SQL executions. 1. In the top left section, you see for each long-running SQL, the completion status (which can be executing, done, or error), execution duration (wall clock time), SQL ID, and Session ID where the SQL was executed. 2. Here you see the database time by wait class, and I/O read and write operations. 3. This detail shows you the degree of parallelism: the number of instances that are involved in this parallel execution. 4. Here you see that the execution of the SQL command is completed. Oracle Database 11g: New Features for Administrators 15-8

Monitored SQL Execution Details The details of the SQL execution are displayed on three different tabbed pages: Plan Statistics, as shown in the bottom part of the slide Parallel, displaying the distribution of work across the parallel servers (not part of the example in the slide) Activity, displaying ASH data on a time line When you click the Session link, you navigate to the Session Details page. When you click the SQL ID link, you navigate to the SQL Details page. Oracle Database 11g: New Features for Administrators 15-9

SQL Execution Details for Parallel Queries This slide shows you the Plan Statistics tabbed page for the SQL execution of parallel queries. Oracle Database 11g: New Features for Administrators 15-10

Details for Parallel Execution This slide shows you monitored SQL execution details for parallel queries (on the Parallel tabbed page). Oracle Database 11g: New Features for Administrators 15-11

Activity Details for Parallel Execution This Activity tabbed page displays the activity graphs for parallel queries. You see the oscillation of CPU and direct reads over time. Oracle Database 11g: New Features for Administrators 15-12

Viewing Session Details This page shows you the session details for the MONI user, divided into the following sections: Server Client Application Contention Wait Other When you click the Current SQL link, you navigate to the SQL Details page, as shown in the following slide. Oracle Database 11g: New Features for Administrators 15-13

SQL Details When you click the SQL Monitoring tab, you navigate to the Monitored SQL Execution page. Oracle Database 11g: New Features for Administrators 15-14

Viewing the SQL Monitoring Report The SQL Monitoring Report shows the same information as the previous slides, but this time in a textual, rather than a graphic way. It begins with the SQL Text, followed by global information, and then the SQL Plan Monitoring details, which also indicates the current operation with an arrow. When you see the new Save and Mail buttons, you can also save the report in HTML format and email the Active Report for example, to a SQL Tuning expert, if your organization has such a division of work. Oracle Database 11g: New Features for Administrators 15-15

Answers: 1, 2, 5 Oracle Database 11g: New Features for Administrators 15-16

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

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