Effec%ve Use of Oracle s 12c Database Opera%on Monitor

Size: px
Start display at page:

Download "Effec%ve Use of Oracle s 12c Database Opera%on Monitor"

Transcription

1 Managed Services Cloud Services Consul3ng Services Licensing Effec%ve Use of Oracle s 12c Database Opera%on Monitor UTOUG Training Days 2016 Kasey Parker Enterprise Architect Kasey.Parker@centroid.com

2 Centroid Overview Leader in Technology, Consulting and Managed Services since 1997 Part of Oracle s Top 25 Strategic Partner Program Focused on Consulting, Managed Services, Cloud Services and Resell Capabilities From Oracle Applications to Technology to Infrastructure Oracle Engineered Systems & Tech Partner of the Year Winner: 2014 & 2015 Top 25 Strategic Partner Specializations Oracle Database & Core Technologies Oracle Engineered Systems Oracle Server & Storage Solutions Oracle Performance Tuning Oracle Data Warehousing Oracle Business Intelligence Oracle Applications

3 About Kasey Parker QUICK FACTS Reside in Plano, TX with wife and 5 kids recently moved from Utah Oracle Architect / DBA Over 15 Years of Oracle Experience Oracle CerGfied Exadata Specialist Oracle CerGfied Professional - DBA Performance Tuning specialist Data Warehousing specialist Last 5 years focused on Oracle Engineered Systems Many industries Financial Services, Manufacturing, Health/NutriGon, City/County Government, Retail Serve on Board of the Utah Oracle Users Group (UTOUG) Academic Brigham Young University Alumnus Management InformaGon Systems

4 Agenda What is the Real-Time DB Opera3ons Monitor? What is rela3onship between DBOM and RSM? How do I enable it? How do I access it? What can I get from it and how do I interpret? Q&A

5 How s Your SQL Tuning Going? How do I see trace information while my statement is running? How do I interpret execution plans that are 100+ lines long? I want a simpler way to trace my SQL I want a tracing tool I can use without going to a DBA What s a good way to trace parallel processes? Is there an easy way to see if I got a Smart Scan? How can I best trace a full user experience and not just a statement?

6 Real-%me Database Opera%on Monitor Database Opera3on One or more database tasks, defined by you Contains one or more SQL or PL/SQL statements In one or more sessions Database Opera3on Monitor (DBOM) Named Real-3me SQL Monitor (RSM) prior to 12c Extension of Real-3me SQL Monitor Monitor single SQL or PL/SQL opera3ons (pre 12c) Monitor composite database opera3ons (12c)

7 DB Opera%on Monitor Architecture DBMS_SQL_MONITOR BEGIN_OPERATION [SQL Statement(s) ] [PL/SQL Block(s)...] END_OPERATION Developers DBAs DBMS_SQL_MONITOR. REPORT_SQL_MONITOR Database Opera%ons AWR User-Defined Opera%ons Real-Time SQL Monitor V$SQL_MONITOR V$SQL_PLAN_MONITOR V$SQL_MONITOR_SESSTAT

8 DBOM / RSM Overview Part of Diagnos3cs & Tuning Packs CONTROL_MANAGEMENT_PACK_ACCESS = DIAGNOSTICS+TUNING Feature includes views, hints, func3ons and reports Most value in Ac3ve XML SQL Monitor Report New 12c Features Composite DB Opera3ons In-Memory and Adap3ve Execu3on Plan Monitoring Historical Reports Stored in AWR Run-away Query Logging My opinion: Best SQL diagnos3c tool created by Oracle

9 DBOM / RSM Basics Detailed monitoring of SQL Statements while execu3ng No Performance Penalty Informa3on efficiently captured by background processes Similar to AWR and ASH Statements Monitored by Default if: Consuming >5 seconds of DB 3me Executed in parallel Use /*+ MONITOR */ hint to force

10 DBOM Composite Opera%ons Iden3fy and Execute a Database Opera3on by: Iden3fy the database opera3on Opera3on Name Execu3on ID Start and end the database opera3on DBMS_SQL_MONITOR.BEGIN_OPERATION DBMS_SQL_MONITOR.END_OPERATION SQL> VAR dbop_eid NUMBER; SQL> EXEC :dbop_eid := DBMS_SQL_MONITOR.BEGIN_OPERATION ('ORA.ETLLOAD.FINANCE', FORCED_TRACKING => 'Y') SQL> INSERT /*+ APPEND */ * INTO tab1 SELECT...; SQL> INSERT /*+ APPEND */ * INTO tab2 SELECT...; SQL> EXEC DBMS_SQL_MONITOR.END_OPERATION ('ORA.ETLLOAD.FINANCE, :dbop_eid)

11 DBOM Composite Opera%ons Cont. Iden3fy Using Tagging for Java and OCI Applica3ons OCI Calls OCIAjrSet OCIAppCtxSet Java setclientinfo OS Environment Variable ORA_DBOP End Opera3on by sekng Tag to NULL

12 DBOM Composite Opera%on Example Single Session Opera%on

13 DBOM Composite Opera%on Example Mul%ple Session Opera%on

14 Accessing SQL Monitor (DBOM) Informa3on Accessible from: Associated V$ views V$SQL_MONITOR, V$SQL_PLAN_MONITOR and V$SQL_MONITOR_SESSTAT Join with other views: V$SQL, V$ACTIVE_SESSION_HISTORY and V$SESSION_LONGOPS Bejer way: SQL Monitor Reports DBMS_SQL_MONITOR.REPORT_SQL_MONITOR Text, HTML, Ac3ve XML Best way: Ac%ve XML SQL Monitor Report Available from OEM, SQL Developer, DBMS_SQL_MONITOR

15 Accessing SQL Monitor (DBOM) Using Enterprise Manager 12c From Performance Menu Using EM Database Express From Performance Hub

16 Accessing SQL Monitor (DBOM) SQL Monitoring Link Opens Monitored SQL Execu3ons

17 Accessing SQL Monitor (DBOM) Clicking an execu3on opens the Ac3ve SQL Monitor

18 Accessing SQL Monitor (DBOM) Using DBMS_SQL_MONITOR package Generate using DBMS_SQL_MONITOR.REPORT_SQL_MONITOR func3on Use DBMS_SQLTUNE prior to 12c Requires many DBA type permissions including: ADMINISTER SQL MANAGEMENT OBJECT ADMINISTER ANY SQL TUNING SET ADVISOR Select rights on many performance views: V$SQL*, V$ACTIVE_SESSION_HISTORY, V$SESSION_LONGOPS and many DBA_HIST* views

19 Accessing SQL Monitor (DBOM) Example: SET LONG SET LONGCHUNKSIZE SET LINESIZE 1000 SET PAGESIZE 0 SET TRIM ON SET TRIMSPOOL ON SET ECHO OFF SET FEEDBACK OFF SET HEADING OFF SET SHOW OFF SET VERIFY OFF SPOOL my_sql_monitor_acqve_report.html SELECT DBMS_SQL_MONITOR.report_sql_monitor( sql_id => '1kf86hqsyvddb, type => 'ACTIVE', report_level => 'ALL') AS report FROM dual; SPOOL OFF

20 Access by Developers Concerned about level of privileges? Use a wrapper func3on Around DBMS_SQL_MONITOR.REPORT_SQL_MONITOR Owned by a privileged user Grant execute on wrapper func3on to developers CREATE OR REPLACE FUNCTION EXEC_REPORT_SQL_MONITOR( p_sql_id in varchar2 ) RETURN clob IS v_report_clob clob; BEGIN v_report_clob := dbms_sql_monitor.report_sql_monitor(sql_id => p_sql_id); RETURN v_report_clob; END;

21 Access by Developers Developers then generate the report using a script: set long set longchunksize column spoolfilename new_value splfile accept sql_id prompt 'Enter value for sql_id: select 'sqlmon_' '&&sql_id' '.html' as spoolfilename from dual ; spool &splfile SELECT EXEC_REPORT_SQL_MONITOR( p_sql_id => '&&sql_id', p_type => 'ACTIVE') AS monitor_report FROM dual; spool off undef sql_id undef spoolfilename undef splfile

22 Access by Developers How to find the SQL ID? Use V$SQL set lines 200 pages 60 set feedback off echo off set verify off set pagesize 999 variable sql_id varchar2(30) variable sql_text varchar2(80) set feedback on select /* NORESULT */ sql_id from gv$sql s where sql_text like '%&sql_txt%' and sql_text not like '%NORESULT%' and sql_text not like 'BEGIN :sql_% order by 1 desc / undef sql_id undef sql_text

23 What s in a SQL Monitor Report Execu3on Plan Plan Sta3s3cs Es3mated vs. Actual Row Counts Bind Variable Values DB Time and Wait Sta3s3cs Execu3on s Dura3on vs. DB Time CPU and Wait Events, and 3me spent, for each execu3on step CPU, IO, Memory and Wait Ac3vity: mapped over statement run 3me IO Sta3s3cs Memory Sta3s3cs Temp Ac3vity Sta3s3cs Parallel Ac3vity Detail Exadata Cell Offload (Smart Scan) Efficiency

24 SQL Monitor Report New in 12c Other, Context-Sensi3ve Plan Line Sta3s3cs Hash Join Row Source

25 SQL Monitor Report New in 12c Other, Context-Sensi3ve Plan Line Sta3s3cs Why was a DOP downgraded? Downgrade Reasons: 350 = due to adap3ve DOP 351 = due to resource manager max DOP 352 = due to insufficient number of processes 353 = because slaves failed to join

26 SQL Monitor Report New in 12c Other, Context-Sensi3ve Plan Line Sta3s3cs Exadata Smart Scan and Flash Cache Exadata Storage Index Use

27 SQL Monitor Report New in 12c Execu3on Plan Note Why was a given DOP Selected?

28 SQL Monitor Report New in 12c In-Memory Query Repor3ng Sta3s3cs Collector Repor3ng From Adap3ve Execu3on Plans

29 SQL Monitor Report New in 12c Composite Database Opera3ons Repor3ng

30 Historical SQL Monitor Reports SQL Monitor Reports Now Persisted in AWR DBA_HIST_REPORTS Stores Report Metadata DBA_HIST_REPORTS_DETAILS Stores Report in XML Format By Default, Only Reports for Longer-running SQL Captured Generate Reports from OEM or DBMS_AUTO_REPORT.REPORT_REPOSITORY_DETAIL

31 Runaway Query Logging DB Resource Manager can now log to SQL Monitor Based on certain thresholds: Es3mated Execu3on Time Elapsed Time (new in 12c) CPU 3me IO requests or IO Bytes Logical IOs (new in 12c) New columns in V$SQL_MONITOR RM_CONSUMER_GROUP RM_LAST_ACTION RM_LAST_ACTION_REASON RM_LAST_ACTION_TIME Can also switch consumer group, Abort Call or Kill Session

32 Interpre%ng SQL Monitor Report 1. Time & Wait Sta3s3cs Find Where SQL is Spending Time Dura3on vs Database Time CPU vs Wait Database Time Breakdown Total Ac3ve DB Processing Time Consumed by Execu3on If Parallel = QC + PX Slaves 2. Ac3vity % in Plan Sta3s3cs Detail If DB Time Mostly on CPU >> Focus on CPU Ac3vity % If DB Time Mostly on Waits >> Focus on Wait Ac3vity % Line(s) with the Most Ac3vity % is Where to Focus 3. Other Plan Sta3s3cs & Metrics Help with Diagnosis

33 Interpre%ng SQL Monitor Report Where Do You Focus?

34 Interpre%ng SQL Monitor Report Where Do You Focus? Are join keys indexed appropriately?

35 DEMO

36 DBOM / RSM Use Cases Long Execu3on Plans Reading, Diagnosing and Quickly Iden3fying Problem Areas Op3mal Use of Indexes Find Bind Variable Values Par3ally Parallelized SQL Verify Parallel DML/DDL Detect Skew Between Parallel Processes Iden3fy latency, network or applica3on, outside of database Find Cause of High Temp Usage Verify Exadata Smart Scans and Cell Offload Efficiency Iden3fy Long-running SQL in Batch or Mul3-statement Processes And many more!

37 SQL Monitor Use Case Long Execu3on Plans: Reading, Diagnosing and Quickly Iden3fying Problem Areas Watch out for Very Long Plans: Plans > 300 lines not monitored _sqlmon_max_planlines = 300 By default, but can be increased See MOS Note: How to Monitor SQL Statements with Large Plans Using Real-Time SQL Monitoring? (Doc ID )

38 SQL Monitor Use Case Find Bind Variable Values for Running SQL

39 SQL Monitor Use Case Verifying Enabling Parallel DML

40 SQL Monitor Use Case Par3ally Parallelized SQL

41 SQL Monitor Use Case Verifying Exadata Smart Scans and Cell Offload Efficiency

42 Summary DB Opera3on and SQL Monitor Oracle s Best Tool to Diagnose SQL Performance New 12c Features Expand Capability Monitor Composite Opera3ons Use Ac3ve SQL Monitor Report Access through OEM or DBMS_SQL_MONITOR Contains Detailed Info About SQL Execu3on Helps Iden3fy and Resolve Most SQL Performance Issues

43 Ques3ons?

Harnessing Power of Parallelism in an Oracle Data Warehouse

Harnessing Power of Parallelism in an Oracle Data Warehouse Managed Services Cloud Services Consul3ng Services Licensing Harnessing Power of Parallelism in an Oracle Data Warehouse UTOUG Training Days 2016 Kasey Parker Sr. Enterprise Architect Kasey.Parker@centroid.com

More information

Exadata Resource Management: Achieve Mind- blowing Performance, Consistently

Exadata Resource Management: Achieve Mind- blowing Performance, Consistently Managed Services Cloud Services Consul3ng Services Licensing Exadata Resource Management: Achieve Mind- blowing Performance, Consistently UTOUG Fall Symposium 2015 Kasey Parker Enterprise Architect Kasey.Parker@centroid.com

More information

Maximize Database Join and Sort Performance Utilizing Exadata Flash

Maximize Database Join and Sort Performance Utilizing Exadata Flash Managed Services Cloud Services Consulting Services Licensing Maximize Database Join and Sort Performance Utilizing Exadata Flash Kasey Parker Sr. Enterprise Architect Kasey.Parker@centroid.com Centroid

More information

<Insert Picture Here> DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g

<Insert Picture Here> DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g Peter Belknap, Sergey Koltakov, Jack Raitto The following is intended to outline our general product direction.

More information

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

Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1 Oracle Performance Tuning Boot Camp: 10 New Problem- Solving Tips Using ASH & AWR Debaditya Chatterjee Vitor Promeet Mansata 2 3 types of Performance Management Reactive Performance Management Proactive

More information

Exadata Implementation Strategy

Exadata Implementation Strategy Exadata Implementation Strategy BY UMAIR MANSOOB 1 Who Am I Work as Senior Principle Engineer for an Oracle Partner Oracle Certified Administrator from Oracle 7 12c Exadata Certified Implementation Specialist

More information

Session id: The Self-Managing Database: Guided Application and SQL Tuning

Session id: The Self-Managing Database: Guided Application and SQL Tuning Session id: 40713 The Self-Managing Database: Guided Application and SQL Tuning Lead Architects Benoit Dageville Khaled Yagoub Mohamed Zait Mohamed Ziauddin Agenda SQL Tuning Challenges Automatic SQL Tuning

More information

OpenWorld 2018 SQL Tuning Tips for Cloud Administrators

OpenWorld 2018 SQL Tuning Tips for Cloud Administrators OpenWorld 2018 SQL Tuning Tips for Cloud Administrators GP (Prabhaker Gongloor) Senior Director of Product Management Bjorn Bolltoft Dr. Khaled Yagoub Systems and DB Manageability Development Oracle Corporation

More information

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

Copyright 2018, Oracle and/or its affiliates. All rights reserved. Beyond SQL Tuning: Insider's Guide to Maximizing SQL Performance Monday, Oct 22 10:30 a.m. - 11:15 a.m. Marriott Marquis (Golden Gate Level) - Golden Gate A Ashish Agrawal Group Product Manager Oracle

More information

Oracle 1Z0-417 Exam Questions and Answers (PDF) Oracle 1Z0-417 Exam Questions 1Z0-417 BrainDumps

Oracle 1Z0-417 Exam Questions and Answers (PDF) Oracle 1Z0-417 Exam Questions 1Z0-417 BrainDumps Oracle 1Z0-417 Dumps with Valid 1Z0-417 Exam Questions PDF [2018] The Oracle 1Z0-417 Oracle Database Performance and Tuning Essentials 2015 Exam exam is an ultimate source for professionals to retain their

More information

Quo Vadis SQLTXPLAIN

Quo Vadis SQLTXPLAIN Quo Vadis SQLTXPLAIN Who we are Experts At Your Service > Over 50 specialists in IT infrastructure > Certified, experienced, passionate Based In Switzerland > 100% self-financed Swiss company > Over CHF8

More information

Oracle 1Z0-054 Exam Questions and Answers (PDF) Oracle 1Z0-054 Exam Questions 1Z0-054 BrainDumps

Oracle 1Z0-054 Exam Questions and Answers (PDF) Oracle 1Z0-054 Exam Questions 1Z0-054 BrainDumps Oracle 1Z0-054 Dumps with Valid 1Z0-054 Exam Questions PDF [2018] The Oracle 1Z0-054 Oracle Database 11g: Performance Tuning exam is an ultimate source for professionals to retain their credentials dynamic.

More information

Using Automatic Workload Repository for Database Tuning: Tips for Expert DBAs. Kurt Engeleiter Product Manager

Using Automatic Workload Repository for Database Tuning: Tips for Expert DBAs. Kurt Engeleiter Product Manager Using Automatic Workload Repository for Database Tuning: Tips for Expert DBAs Kurt Engeleiter Product Manager The following is intended to outline our general product direction. It is intended for information

More information

Oracle EXAM - 1Z Oracle Database 11g: Performance Tuning. Buy Full Product.

Oracle EXAM - 1Z Oracle Database 11g: Performance Tuning. Buy Full Product. Oracle EXAM - 1Z0-054 Oracle Database 11g: Performance Tuning Buy Full Product http://www.examskey.com/1z0-054.html Examskey Oracle 1Z0-054 exam demo product is here for you to test the quality of the

More information

Oralogic Education Systems

Oralogic Education Systems Oralogic Education Systems Next Generation IT Education Systems Introduction: In the Oracle Database 12c: Performance Management and Tuning course, learn about the performance analysis and tuning tasks

More information

Toad for Oracle Suite 2017 Functional Matrix

Toad for Oracle Suite 2017 Functional Matrix Toad for Oracle Suite 2017 Functional Matrix Essential Functionality Base Xpert Module (add-on) Developer DBA Runs directly on Windows OS Browse and navigate through objects Create and manipulate database

More information

Tuning slow queries after an upgrade

Tuning slow queries after an upgrade Tuning slow queries after an upgrade Who we are Experts At Your Service > Over 50 specialists in IT infrastructure > Certified, experienced, passionate Based In Switzerland > 100% self-financed Swiss company

More information

EZY Intellect Pte. Ltd., #1 Changi North Street 1, Singapore

EZY Intellect Pte. Ltd., #1 Changi North Street 1, Singapore Oracle Database 12c: Performance Management and Tuning NEW Duration: 5 Days What you will learn In the Oracle Database 12c: Performance Management and Tuning course, learn about the performance analysis

More information

Oracle Database 12c: Performance Management and Tuning

Oracle Database 12c: Performance Management and Tuning Oracle University Contact Us: +43 (0)1 33 777 401 Oracle Database 12c: Performance Management and Tuning Duration: 5 Days What you will learn In the Oracle Database 12c: Performance Management and Tuning

More information

Oracle Database 12c Performance Management and Tuning

Oracle Database 12c Performance Management and Tuning Course Code: OC12CPMT Vendor: Oracle Course Overview Duration: 5 RRP: POA Oracle Database 12c Performance Management and Tuning Overview In the Oracle Database 12c: Performance Management and Tuning course,

More information

End-to-end Management with Grid Control. John Abrahams Technology Sales Consultant Oracle Nederland B.V.

End-to-end Management with Grid Control. John Abrahams Technology Sales Consultant Oracle Nederland B.V. End-to-end Management with Grid Control John Abrahams Technology Sales Consultant Oracle Nederland B.V. Agenda End-to-end management with Grid Control Database Performance Management Challenges Complexity

More information

Exadata Implementation Strategy

Exadata Implementation Strategy BY UMAIR MANSOOB Who Am I Oracle Certified Administrator from Oracle 7 12c Exadata Certified Implementation Specialist since 2011 Oracle Database Performance Tuning Certified Expert Oracle Business Intelligence

More information

SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability

SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability Oracle Enterprise Manager Top-Down, Integrated Application Management Complete, Open,

More information

Custom Performance Reporting Changes in Oracle 10g. Brian Doyle BEZ Systems VP, Product Service

Custom Performance Reporting Changes in Oracle 10g. Brian Doyle BEZ Systems VP, Product Service Custom Performance Reporting Changes in Oracle 10g Brian Doyle BEZ Systems VP, Product Service Email: bdoyle@bez.com (617) 532-8804 1 2 Agenda Topics to be discussed. RAC data capture using GV$ views Parallel

More information

Oracle Database 10g The Self-Managing Database

Oracle Database 10g The Self-Managing Database Oracle Database 10g The Self-Managing Database Benoit Dageville Oracle Corporation benoit.dageville@oracle.com Page 1 1 Agenda Oracle10g: Oracle s first generation of self-managing database Oracle s Approach

More information

Oracle12c Release 1 New Features for Administrators (5 Days)

Oracle12c Release 1 New Features for Administrators (5 Days) www.peaklearningllc.com Oracle12c Release 1 New Features for Administrators (5 Days) Course Description This course provides a complete, hands-on introduction to the newest release of Oracle Enterprise

More information

RAC Performance Monitoring and Diagnosis using Oracle Enterprise Manager. Kai Yu Senior System Engineer Dell Oracle Solutions Engineering

RAC Performance Monitoring and Diagnosis using Oracle Enterprise Manager. Kai Yu Senior System Engineer Dell Oracle Solutions Engineering RAC Performance Monitoring and Diagnosis using Oracle Enterprise Manager Kai Yu Senior System Engineer Dell Oracle Solutions Engineering About Author Kai Yu Senior System Engineer, Dell Oracle Solutions

More information

The Oracle SQLT Utility. By Kevin Gilpin, Rolta TUSC Wednesday March 14, 2012

The Oracle SQLT Utility. By Kevin Gilpin, Rolta TUSC Wednesday March 14, 2012 The Oracle SQLT Utility By Kevin Gilpin, Rolta TUSC Wednesday March 14, 2012 Background 2 Background The SQL Tuning Advisor is one of several advisors that is available if the SQL Tuning Pack is licensed.

More information

Using Active Session History for Performance Tuning: Advanced Topics in Performance Diagnostics

Using Active Session History for Performance Tuning: Advanced Topics in Performance Diagnostics Using Active Session History for Performance Tuning: Advanced Topics in Performance Diagnostics Graham Wood Oracle USA Agenda Performance Diagnosis What is ASH? Using ASH data What

More information

Oracle Database 12c. The Best Oracle Database 12c Tuning Features for Developers and DBAs. Presented by: Alex Zaballa, Oracle DBA

Oracle Database 12c. The Best Oracle Database 12c Tuning Features for Developers and DBAs. Presented by: Alex Zaballa, Oracle DBA Oracle Database 12c The Best Oracle Database 12c Tuning Features for Developers and DBAs Presented by: Alex Zaballa, Oracle DBA Alex Zaballa http://alexzaballa.blogspot.com/ 147 and counting @alexzaballa

More information

Oracle Database 11g: SQL Tuning Workshop

Oracle Database 11g: SQL Tuning Workshop Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Oracle Database 11g: SQL Tuning Workshop Duration: 3 Days What you will learn This Oracle Database 11g: SQL Tuning Workshop Release

More information

Database Performance Analysis Techniques Using Metric Extensions and SPA

Database Performance Analysis Techniques Using Metric Extensions and SPA Database Performance Analysis Techniques Using Metric Extensions and SPA Kurt Engeleiter Oracle Corporation Redwood Shores, CA, USA Keywords: ADDM, SQL Tuning Advisor, SQL Performance Analyzer, Metric

More information

Top 7 Plan Stability Pitfalls & How to Avoid Them. Neil Chandler Chandler Systems Ltd UK

Top 7 Plan Stability Pitfalls & How to Avoid Them. Neil Chandler Chandler Systems Ltd UK Top 7 Plan Stability Pitfalls & How to Avoid Them Neil Chandler Chandler Systems Ltd UK Keywords: SQL Optimizer Plan Change Stability Outlines Baselines Plan Directives Introduction When you write some

More information

SQL Tuning for Expert DBAs

SQL Tuning for Expert DBAs SQL Tuning for Expert DBAs GP (Gongloor Prabhaker) Senior Director of Product Management Oracle Management Cloud, Oracle Corporation Konstantin Kerekovski, DBA, Raymond James Financial Inc. Oct 03, 2017

More information

MAXGAUGE for Oracle Web Version 5.3

MAXGAUGE for Oracle Web Version 5.3 www.maxgauge.com MAXGAUGE for Oracle Web Version 5.3 PRODUCT DOCUMENTATION 0 INDEX MAXGAUGE OVERVIEW ARCHITECTURE REALTIME MONITOR OVERVIEW VIEW TYPE METHOD FRAME MENU ICON TOOL CONFIG PERFORMANCE ANALYZER

More information

Key to A Successful Exadata POC

Key to A Successful Exadata POC BY UMAIR MANSOOB Who Am I Oracle Certified Administrator from Oracle 7 12c Exadata Certified Implementation Specialist since 2011 Oracle Database Performance Tuning Certified Expert Oracle Business Intelligence

More information

[Contents. Sharing. sqlplus. Storage 6. System Support Processes 15 Operating System Files 16. Synonyms. SQL*Developer

[Contents. Sharing. sqlplus. Storage 6. System Support Processes 15 Operating System Files 16. Synonyms. SQL*Developer ORACLG Oracle Press Oracle Database 12c Install, Configure & Maintain Like a Professional Ian Abramson Michael Abbey Michelle Malcher Michael Corey Mc Graw Hill Education New York Chicago San Francisco

More information

Does Exadata Need Performance Tuning? Jože Senegačnik, Oracle ACE Director, Member of OakTable DbProf d.o.o. Ljubljana, Slovenia

Does Exadata Need Performance Tuning? Jože Senegačnik, Oracle ACE Director, Member of OakTable DbProf d.o.o. Ljubljana, Slovenia Does Exadata Need Performance Tuning? Jože Senegačnik, Oracle ACE Director, Member of OakTable DbProf d.o.o. Ljubljana, Slovenia Keywords Exadata, Cost Based Optimization, Statistical Optimizer, Physical

More information

Addressing a Performance issue The drilldown approach. Laurent Léturgez

Addressing a Performance issue The drilldown approach. Laurent Léturgez Addressing a Performance issue Laurent Léturgez Whoami Oracle Consultant since 2001 Former developer (C, Java, perl, PL/SQL) Hadoop aficionado Owner@Premiseo: Data Management on Premises and in the Cloud

More information

Managing Oracle Database 12c with Oracle Enterprise Manager 12c

Managing Oracle Database 12c with Oracle Enterprise Manager 12c Managing Oracle Database 12c with Oracle Enterprise Manager 12c The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated

More information

This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

This presentation is for informational purposes only and may not be incorporated into a contract or agreement. This presentation is for informational purposes only and may not be incorporated into a contract or agreement. The following is intended to outline our general product direction. It is intended for information

More information

<Insert Picture Here> DBA Best Practices: A Primer on Managing Oracle Databases

<Insert Picture Here> DBA Best Practices: A Primer on Managing Oracle Databases DBA Best Practices: A Primer on Managing Oracle Databases Mughees A. Minhas Sr. Director of Product Management Database and Systems Management The following is intended to outline

More information

Katharina Römer Principal Sales Consultant STCC Stuttgart ORACLE Deutschland GmbH

Katharina Römer Principal Sales Consultant STCC Stuttgart ORACLE Deutschland GmbH Katharina Römer Principal Sales Consultant STCC Stuttgart ORACLE Deutschland GmbH Performance Diagnosis Demystified: Best Practices for Oracle Database 10g Agenda Oracle Database 10g Performance Monitoring

More information

Practice Manual: How to optimize SQL statement of using DBLINK on Oracle

Practice Manual: How to optimize SQL statement of using DBLINK on Oracle Practice Manual: How to optimize SQL statement of using DBLINK on Oracle Usually, a good approach of optimizing SQL statement using DBLINK is that you could try your best to reduce data returned calling

More information

Oracle Database 11g: Performance Tuning DBA Release 2

Oracle Database 11g: Performance Tuning DBA Release 2 Oracle University Contact Us: +65 6501 2328 Oracle Database 11g: Performance Tuning DBA Release 2 Duration: 5 Days What you will learn This Oracle Database 11g Performance Tuning training starts with an

More information

"Charting the Course... Oracle 12c New Features for Administrators. Course Summary

Charting the Course... Oracle 12c New Features for Administrators. Course Summary Course Summary Description This course provides a complete, hands-on introduction to the newest release of Oracle Enterprise Edition. Key features of this product are fully discussed and demonstrated.

More information

Oracle 1Z Oracle Database 11g Release 2- SQL Tuning. Download Full Version :

Oracle 1Z Oracle Database 11g Release 2- SQL Tuning. Download Full Version : Oracle 1Z0-117 Oracle Database 11g Release 2- SQL Tuning Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-117 OracleDatabase Data Warehousing Guide,Star Transformation with a Bitmap

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 Managing Oracle Database 12c with Oracle Enterprise Manager 12c Martin

More information

Exadata X3 in action: Measuring Smart Scan efficiency with AWR. Franck Pachot Senior Consultant

Exadata X3 in action: Measuring Smart Scan efficiency with AWR. Franck Pachot Senior Consultant Exadata X3 in action: Measuring Smart Scan efficiency with AWR Franck Pachot Senior Consultant 16 March 2013 1 Exadata X3 in action: Measuring Smart Scan efficiency with AWR Exadata comes with new statistics

More information

Session 1079: Using Real Application Testing to Successfully Migrate to Exadata - Best Practices and Customer Case Studies

Session 1079: Using Real Application Testing to Successfully Migrate to Exadata - Best Practices and Customer Case Studies Session 1079: Using Real Application Testing to Successfully Migrate to Exadata - Best Practices and Customer Case Studies Prabhaker Gongloor (GP) Product Management Director, Database Manageability, Oracle

More information

Advanced Oracle Troubleshooting Live Session. Randolf Geist

Advanced Oracle Troubleshooting Live Session. Randolf Geist Advanced Oracle Troubleshooting Live Session Randolf Geist http://oracle-randolf.blogspot.com/ http://www.sqltools-plusplus.org:7676/ info@sqltools-plusplus.org Who am I Independent Consultant Located

More information

Essential (free) Tools for DBA!

Essential (free) Tools for DBA! Essential (free) Tools for DBA! Biju Thomas Principal Solutions Architect OneNeck IT Solutions www.oneneck.com @biju_thomas 2 About me! Biju Thomas Principal Solutions Architect with OneNeck IT Solutions

More information

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX KillTest Q&A Exam : 1Z1-054 Title : Oracle Database 11g: Performance Tuning Version : DEMO 1 / 19 1. After running SQL Performance Analyzer (SPA), you observe a few regressed SQL statements in the SPA

More information

Advanced Oracle SQL Tuning v3.0 by Tanel Poder

Advanced Oracle SQL Tuning v3.0 by Tanel Poder Advanced Oracle SQL Tuning v3.0 by Tanel Poder /seminar Training overview This training session is entirely about making Oracle SQL execution run faster and more efficiently, understanding the root causes

More information

Data Warehouse Tuning. Without SQL Modification

Data Warehouse Tuning. Without SQL Modification Data Warehouse Tuning Without SQL Modification Agenda About Me Tuning Objectives Data Access Profile Data Access Analysis Performance Baseline Potential Model Changes Model Change Testing Testing Results

More information

In the Oracle Database 12c: Performance Management and

In the Oracle Database 12c: Performance Management and Oracle Uni Contact Us: 08 Oracle Database 12c: Performance Management a Durat5 Da What you will learn In the Oracle Database 12c: Performance Management and analysis and tuning tasks expected of a DBA:

More information

Performance Problems

Performance Problems Tools and Techniques to Address Performance Problems Biju Thomas @biju_thomas Biju Thomas Principal Solutions Architect with OneNeck IT Solutions Over 20 years of Oracle Database development and administration

More information

Oracle Database 12c: SQL Tuning for Developers

Oracle Database 12c: SQL Tuning for Developers Oracle Database 12c: SQL Tuning for Developers Student Guide Volume I D79995GC10 Edition 1.0 December 2016 D84109 Learn more from Oracle University at education.oracle.com Author Dimpi Rani Sarmah Technical

More information

Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables)

Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables) Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables) March 12, 2013 Michael Rosenblum Dulcian, Inc. www.dulcian.com 1 of 43 Who Am I? Misha Oracle ACE Co-author of 2 books PL/SQL

More information

Monitoring & Tuning Azure SQL Database

Monitoring & Tuning Azure SQL Database Monitoring & Tuning Azure SQL Database Dustin Ryan, Data Platform Solution Architect, Microsoft Moderated By: Paresh Motiwala Presenting Sponsors Thank You to Our Presenting Sponsors Empower users with

More information

Database Machine Administration v/s Database Administration: Similarities and Differences

Database Machine Administration v/s Database Administration: Similarities and Differences Database Machine Administration v/s Database Administration: Similarities and Differences IOUG Exadata Virtual Conference Vivek Puri Manager Database Administration & Engineered Systems The Sherwin-Williams

More information

Oracle Database 11g: Performance Tuning DBA Release 2

Oracle Database 11g: Performance Tuning DBA Release 2 Course Code: OC11PTDBAR2 Vendor: Oracle Course Overview Duration: 5 RRP: POA Oracle Database 11g: Performance Tuning DBA Release 2 Overview This course starts with an unknown database that requires tuning.

More information

Oracle Performance Tuning. Overview of performance tuning strategies

Oracle Performance Tuning. Overview of performance tuning strategies Oracle Performance Tuning Overview of performance tuning strategies Allan Young June 2008 What is tuning? Group of activities used to optimize and homogenize the performance of a database Maximize use

More information

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP) Audience Data Warehouse Administrator Database Administrators Support Engineer Technical Administrator Technical Consultant Related Training Required Prerequisites Knowledge of Oracle Database 12c Knowledge

More information

1 Dulcian, Inc., 2001 All rights reserved. Oracle9i Data Warehouse Review. Agenda

1 Dulcian, Inc., 2001 All rights reserved. Oracle9i Data Warehouse Review. Agenda Agenda Oracle9i Warehouse Review Dulcian, Inc. Oracle9i Server OLAP Server Analytical SQL Mining ETL Infrastructure 9i Warehouse Builder Oracle 9i Server Overview E-Business Intelligence Platform 9i Server:

More information

OracleMan Consulting

OracleMan Consulting Introduction to AWR and Tuning Some New Things in 11g Earl Shaffer CTO/Oracle Practice Manager OracleManConsulting@Gmail.com OracleMan Consulting OMC - Who are we? Oracle DBA on-site and remote services

More information

Oracle Autonomous Database

Oracle Autonomous Database Oracle Autonomous Database Maria Colgan Master Product Manager Oracle Database Development August 2018 @SQLMaria #thinkautonomous Safe Harbor Statement The following is intended to outline our general

More information

1Z Oracle Database Performance and Tuning Essentials 2015 Exam Summary Syllabus Questions

1Z Oracle Database Performance and Tuning Essentials 2015 Exam Summary Syllabus Questions 1Z0-417 Oracle Database Performance and Tuning Essentials 2015 Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-417 Exam on Oracle Database Performance and Tuning Essentials 2015...

More information

<Insert Picture Here> Maximizing Database Performance: Performance Tuning with DB Time

<Insert Picture Here> Maximizing Database Performance: Performance Tuning with DB Time 1 Maximizing Database Performance: Performance Tuning with DB Time Kurt Engeleiter, John Beresniewicz, Cecilia Gervasio Oracle America The following is intended to outline our general

More information

Tuning based on Wall Clock Time instead of Elapsed Time

Tuning based on Wall Clock Time instead of Elapsed Time Tuning based on Wall Clock Time instead of Elapsed Time Wall Clock Time Tuning in Databases Gerwin Hendriksen Principal Consultant gerwin.hendriksen@axisinto.nl Version 2.0 13 June 2017 Agenda: Tuning

More information

Learning Objectives : This chapter provides an introduction to performance tuning scenarios and its tools.

Learning Objectives : This chapter provides an introduction to performance tuning scenarios and its tools. Oracle Performance Tuning Oracle Performance Tuning DB Oracle Wait Category Wait AWR Cloud Controller Share Pool Tuning 12C Feature RAC Server Pool.1 New Feature in 12c.2.3 Basic Tuning Tools Learning

More information

Adaptive Optimization. Presented by: Kerry Osborne Red Gate Webinar, Nov. 2013

Adaptive Optimization. Presented by: Kerry Osborne Red Gate Webinar, Nov. 2013 Adaptive Optimization Presented by: Kerry Osborne Red Gate Webinar, Nov. 2013 whoami Never Worked for Oracle Worked with Oracle DB Since 1982 (V2) Working with Exadata since early 2010 Work for Enkitec

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!  We offer free update service for one year PASS4TEST IT Certification Guaranteed, The Easy Way! \ http://www.pass4test.com We offer free update service for one year Exam : 1Z1-054 Title : Oracle Database 11g: Performance Tuning Vendors : Oracle

More information

Oracle 9i Application Development and Tuning

Oracle 9i Application Development and Tuning Index 2NF, NOT 3NF or BCNF... 2:17 A Anomalies Present in this Relation... 2:18 Anomalies (Specific) in this Relation... 2:4 Application Design... 1:28 Application Environment... 1:1 Application-Specific

More information

(10393) Database Performance Tuning Hands-On Lab

(10393) Database Performance Tuning Hands-On Lab (10393) Database Performance Tuning Hands-On ASH Analytics Real-time ADDM SQL Performance Analyzer Objective: Database Performance Hands-on The objective of this lab to provide exercises designed to showcase

More information

Workload Management for an Operational Data Warehouse Oracle Database Jean-Pierre Dijcks Sr. Principal Product Manager Data Warehousing

Workload Management for an Operational Data Warehouse Oracle Database Jean-Pierre Dijcks Sr. Principal Product Manager Data Warehousing Workload Management for an Operational Data Warehouse Oracle Database 11.2.0.2 Jean-Pierre Dijcks Sr. Principal Product Manager Data Warehousing Agenda What is a concurrent environment? Planning for workload

More information

SQL Injec*on. By Robin Gonzalez

SQL Injec*on. By Robin Gonzalez SQL Injec*on By Robin Gonzalez Some things that can go wrong Excessive and Unused Privileges Privilege Abuse Input Injec>on Malware Week Audit Trail Other things that can go wrong Storage Media Exposure

More information

Automatic Parallel Execution Presented by Joel Goodman Oracle University EMEA

Automatic Parallel Execution Presented by Joel Goodman Oracle University EMEA Automatic Parallel Execution Presented by Joel Goodman Oracle University EMEA Copyright 2011, Oracle. All rights reserved. Topics Automatic Parallelism Parallel Statement Queuing In Memory Parallel Query

More information

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

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Subsetting and Masking: Advanced Techniques for Test Management Jagan R. Athreya, Director, base and Exadata Manageability Derek Messie,

More information

Oracle Exadata Implementation Strategy HHow to Implement Exadata In-house

Oracle Exadata Implementation Strategy HHow to Implement Exadata In-house Oracle Exadata Implementation Strategy HHow to Implement Exadata In-house Introduction Oracle Exadata The Oracle Exadata is a database machine, which has now been present since 2008. A number of financial

More information

Oracle Hyperion Profitability and Cost Management

Oracle Hyperion Profitability and Cost Management Oracle Hyperion Profitability and Cost Management Configuration Guidelines for Detailed Profitability Applications November 2015 Contents About these Guidelines... 1 Setup and Configuration Guidelines...

More information

Oracle BI 11g R1: Build Repositories

Oracle BI 11g R1: Build Repositories Oracle University Contact Us: + 36 1224 1760 Oracle BI 11g R1: Build Repositories Duration: 5 Days What you will learn This Oracle BI 11g R1: Build Repositories training is based on OBI EE release 11.1.1.7.

More information

Oracle - Oracle Database: Program with PL/SQL Ed 2

Oracle - Oracle Database: Program with PL/SQL Ed 2 Oracle - Oracle Database: Program with PL/SQL Ed 2 Code: Lengt h: URL: DB-PLSQL 5 days View Online This Oracle Database: Program with PL/SQL training starts with an introduction to PL/SQL and then explores

More information

What is Real Application Testing?

What is Real Application Testing? Real Application Testing Real Application Testing Enterprise Manager Management Packs Enhancements What is Real Application Testing? New database option available with EE only Includes two new features

More information

Interpreting Explain Plan Output. John Mullins

Interpreting Explain Plan Output. John Mullins Interpreting Explain Plan Output John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.com/webinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of Oracle experience

More information

Tuning SQL without the Tuning Pack. John Larkin JP Morgan Chase

Tuning SQL without the Tuning Pack. John Larkin JP Morgan Chase Tuning SQL without the Tuning Pack John Larkin JP Morgan Chase Who am I Originally a mainframe COBOL programmer DBA for the last 23 years, the last 15 with Oracle. UNIX (Solaris, Aix, Windows, Linux) Recently

More information

<Insert Picture Here> Controlling resources in an Exadata environment

<Insert Picture Here> Controlling resources in an Exadata environment Controlling resources in an Exadata environment Agenda Smart IO IO Resource Manager Compression Hands-on time Exadata Security Flash Cache Storage Indexes Parallel Execution Agenda

More information

Real World Exadata. Presented by: Kerry Osborne. March 7, 2012

Real World Exadata. Presented by: Kerry Osborne. March 7, 2012 Real World Exadata Presented by: Kerry Osborne March 7, 2012 whoami Worked with Oracle Since 1982 (V2) Working with Exadata since early 2010 Work for Enkitec (www.enkitec.com) (Enkitec owns a Half Rack

More information

Oracle Diagnostics Pack For Oracle Database

Oracle Diagnostics Pack For Oracle Database Oracle Diagnostics Pack For Oracle Database ORACLE DIAGNOSTICS PACK FOR ORACLE DATABASE Oracle Enterprise Manager is Oracle s integrated enterprise IT management product line, and provides the industry

More information

Oracle Database 11g: Real Application Testing & Manageability Overview

Oracle Database 11g: Real Application Testing & Manageability Overview Oracle Database 11g: Real Application Testing & Manageability Overview Top 3 DBA Activities Performance Management Challenge: Sustain Optimal Performance Change Management Challenge: Preserve Order amid

More information

Eternal Story on Temporary Objects

Eternal Story on Temporary Objects Eternal Story on Temporary Objects Dmitri V. Korotkevitch http://aboutsqlserver.com About Me 14+ years of experience working with Microsoft SQL Server Microsoft SQL Server MVP Microsoft Certified Master

More information

The Next Generation of SQL*Plus?

The Next Generation of SQL*Plus? SQLcl: The Next Generation of SQL*Plus? Oded Raz & Zohar Elkayam Brillix www.dbaces.com About Oded Raz Founder of Brillix and co-ceo Oracle ACE Director since 2010 Over 20 years of experience as DBA Identity

More information

Oracle BI 11g R1: Build Repositories Course OR102; 5 Days, Instructor-led

Oracle BI 11g R1: Build Repositories Course OR102; 5 Days, Instructor-led Oracle BI 11g R1: Build Repositories Course OR102; 5 Days, Instructor-led Course Description This Oracle BI 11g R1: Build Repositories training is based on OBI EE release 11.1.1.7. Expert Oracle Instructors

More information

Taming the AWR Tsunami

Taming the AWR Tsunami Taming the AWR Tsunami Roger Cornejo roger.d.cornejo@gsk.com Raleigh/Durham, NC November 6, 2013 Roger Cornejo Speaker Background Computer Science degree (Rutgers Univ.) Working with Oracle over 28 years

More information

Real-World Performance Training Core Database Performance

Real-World Performance Training Core Database Performance Real-World Performance Training Core Database Performance Real-World Performance Team Agenda 1 2 3 4 5 6 Computer Science Basics Schema Types and Database Design Database Interface DB Deployment and Access

More information

RAT-less Replay. Robert Barić ITGAIN Consulting Hannover

RAT-less Replay. Robert Barić ITGAIN Consulting Hannover RAT-less Replay Robert Barić ITGAIN Consulting Hannover Tags RAT, Trace, Unified Auditing, Replay, Workload, Benchmark Introduction Many times a new database system is measured by synthetic benchmarks.

More information

Oracle V Table Schema Sql Script

Oracle V Table Schema Sql Script Oracle V Table Schema Sql Script the following table: Table 2-1 Schema Objects in Oracle and Microsoft SQL Server COMPUTE attaches computed values at the end of the query. These are The dynamic performance

More information

MILOŠ RADIVOJEVIĆ, PRINCIPAL DATABASE CONSULTANT, BWIN GVC, VIENNA, AUSTRIA

MILOŠ RADIVOJEVIĆ, PRINCIPAL DATABASE CONSULTANT, BWIN GVC, VIENNA, AUSTRIA MILOŠ RADIVOJEVIĆ, PRINCIPAL DATABASE CONSULTANT, BWIN GVC, VIENNA, AUSTRIA Performance Tuning with SQL Server 2017 Sponsors About Me Principal Database Consultant, bwin GVC, Vienna, Austria Data Platform

More information

Oracle Exadata Recipes

Oracle Exadata Recipes Oracle Exadata Recipes A Problem-Solution Approach John Clarke Apress- Contents About the Author About the Technical Reviewer Acknowledgments Introduction xxxiii xxxv xxxvii xxxix Part 1: Exadata Architecture

More information

Oracle SQL Developer. Oracle TimesTen In-Memory Database Support User's Guide Release 4.0 E

Oracle SQL Developer. Oracle TimesTen In-Memory Database Support User's Guide Release 4.0 E Oracle SQL Developer Oracle TimesTen In-Memory Database Support User's Guide Release 4.0 E39882-02 December 2013 Oracle SQL Developer Oracle TimesTen In-Memory Database Support User's Guide, Release 4.0

More information