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

Slides:



Advertisements
Similar presentations
Using the SQL Access Advisor
Advertisements

Enhancing Productivity with MySQL 5.6 New Features
© 2008 Oracle Corporation – Proprietary and Confidential.
Requirements Engineering Processes – 2
1 Senn, Information Technology, 3 rd Edition © 2004 Pearson Prentice Hall James A. Senns Information Technology, 3 rd Edition Chapter 7 Enterprise Databases.
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any.
1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 2 Getting Started.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 3 CPUs.
Myra Shields Training Manager Introduction to OvidSP.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
UNITED NATIONS Shipment Details Report – January 2006.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
40 Tips Leveraging the New APICS.org to the Benefit of Your Organization, Members, and Customers! 1.
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
1 Implementing Internet Web Sites in Counseling and Career Development James P. Sampson, Jr. Florida State University Copyright 2003 by James P. Sampson,
Proud Members of the Consulting Group, LLC
1. 2 Objectives Become familiar with the purpose and features of Epsilen Learn to navigate the Epsilen environment Develop a professional ePortfolio on.
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Week 2 The Object-Oriented Approach to Requirements
I n t e g r i t y - S e r v i c e - E x c e l l e n c e Headquarters U.S.A.F. 1 Commodity Councils 101 NAME (S) SAF/AQCDATE.
9 Copyright © 2006, Oracle. All rights reserved. Automatic Performance Management.
13 Copyright © 2005, Oracle. All rights reserved. Monitoring and Improving Performance.
Copyright © 2013, Oracle and/or its affiliates. 1.
Campaign Overview Mailers Mailing Lists
EU market situation for eggs and poultry Management Committee 20 October 2011.
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted 1.
R12 Assets A Look Inside SM. Copyright © 2008 Chi-Star Technology SM -2- High-Level Overview R12 Setups –Subledger Accounting –ADI Templates –XML Reports.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
GIS Lecture 8 Spatial Data Processing.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
Prof.ir. Klaas H.J. Robers, January 16, 2013 Supervising a graduating student 1.
Analyzing Genes and Genomes
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Database Administration
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Energy Generation in Mitochondria and Chlorplasts
Introduction to ikhlas ikhlas is an affordable and effective Online Accounting Solution that is currently available in Brunei.
Profile. 1.Open an Internet web browser and type into the web browser address bar. 2.You will see a web page similar to the one on.
Oracle User Productivity Kit Professional Ensuring Success with Oracle Apps
TCP/IP Protocol Suite 1 Chapter 18 Upon completion you will be able to: Remote Login: Telnet Understand how TELNET works Understand the role of NVT in.

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SQL Developer What’s New in Version 4.1 Jeff Smith
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 2 Hidden Gems of APEX David Gale Software Engineer Oracle Application Express November,
1 How to improve SQL Performance with new Health Check Tool? Carlos Sierra Consulting Technical Advisor © 2012 Oracle Corporation – Proprietary and Confidential.
Best Practices for Supporting Oracle Hyperion EPM and Business Intelligence Solutions Mitra Veluri Senior Principal Technical Support Engineer David Valociek.
Best Practices for Upgrading Oracle PeopleSoft Environments
1Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Reporting from Contract.
Oracle Patching and Maintenance A practical guide for System Administrators October 2009.
1Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Contract Management.
SQL Tuning made much easier with SQLTXPLAIN (SQLT) Mauro Pagano Senior Principal Technical Support Engineer Oracle Confidential – Internal/Restricted/Highly.
Quick Tips for Database Performance Tuning Sergey Koltakov Kurt Engeleiter Product Manager.
OpenWorld 2018 Accelerate Your Success on Oracle Cloud Infrastructure with Applications Unlimited Support Viviana Tilita Senior Technical Support Engineer.
The New Oracle Monitoring and Advisory Service for Applications Unlimited Michael Soulier Senior Director Applications Customer Support, PeopleSoft October.
The New Oracle Monitoring and Advisory Service for Applications Unlimited Michael Soulier Senior Director Applications Customer Support, PeopleSoft October.
Presentation transcript:

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

SQL Tuning made much easier with SQLTXPLAIN (SQLT) Mauro Pagano Principal Technical Support Engineer

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 3 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracles products remains at the sole discretion of Oracle.

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 4 Program Agenda Introduction Installation Main methods – XTRACT, XECUTE and XTRXEC – XTRSBY and XPLAIN – XPREXT and XPREXC Main HTML diagnostics report Q&A

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 5 Oracle Services Oracle Experts Helping You Succeed with Your Oracle Investments Complete Support for Oracle Hardware, Software, and Engineered Systems Mission Critical Support Services for All Oracle Applications and Technologies Your Complete Training Source for Oracle Hardware and Software Extend Your Oracle Investments to the Cloud with Value, Choice, and Confidence Enabling the success of your Oracle hardware and software investments

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 6 Oracle Premier Support Comprehensive Coverage Service and Support Quickly diagnose and resolve issues Expert technical support Rapid-response field service Lifetime Support Tools and Resources Get the most of your Oracle products with proactive services Oracle knowledgebase Product health checks My Oracle Support Community Product Innovation Keep pace with change and capitalize on new opportunities Updates New releases Tools to assist with patching and upgrades

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 7 Get Proactive Portfolioan integral component of your Premier Support Contract Helping you get the most value from Oracle Premier Support

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 8 SQL Tuning made much easier with SQLTXPLAIN (SQLT)

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 9 Program Agenda Introduction Installation Main methods – XTRACT, XECUTE and XTRXEC – XTRSBY and XPLAIN – XPREXT and XPREXC Main HTML diagnostics report Q&A

Copyright © 2013, Oracle and/or its affiliates. 10 What is SQLTXPLAIN (SQLT)? Add-on (MOS ) 12c/11g/10g Linux, UNIX, Windows Single instance, RAC, Exadata Easy to install and execute download and use Tool to diagnose SQL statements performing poorly

Copyright © 2013, Oracle and/or its affiliates. 11 SQLTXPLAIN (SQLT) benefits Collect SQL tuning diagnostics for one SQL statement Over a hundred health-checks (HC) around the SQL statement If Oracle Tuning or Diagnostics Pack are properly licensed – Invokes SQL Tuning Advisor (STA) – Includes Active Session History (ASH) and SQL Monitor Report – Includes Automatic Workload Repository (AWR) Automatic SQL tuning test case (TC) extraction SQLT helps to expedite SQL tuning process What is in it for me?

Copyright © 2013, Oracle and/or its affiliates. 12 SQLTXPLAIN (SQLT) mechanics main methods to analyze one SQL statement Inputs one SQL statement and outputs one zip file Output contains a main html report and other files – AWR, ADDM, ASH, 10053, 10046, TKPROF, etc. Exports SQL tuning test cases – SQLT TC and TCX – 11g Test Case Builder (TCB) SQLT installs its own two schemas and objects on them! How does it work?

Copyright © 2013, Oracle and/or its affiliates. 13 Program Agenda Introduction Installation Main methods – XTRACT, XECUTE and XTRXEC – XTRSBY and XPLAIN – XPREXT and XPREXC Main HTML diagnostics report Q&A

Copyright © 2013, Oracle and/or its affiliates. 14 How do I install SQLT? Download tool (sqlt.zip file) Unzip into database server Execute sqlt/install/sqcreate.sql connected as SYS Input installation parameters My Oracle Support (MOS)

Copyright © 2013, Oracle and/or its affiliates. 15 SQLT Installation Parameters Optional Connect Identifier Password for user SQLTXPLAIN Default Tablespace Temporary Tablespace Main application user of SQLT Oracle Pack license [ T | D | N ] Provided inline or when asked

Copyright © 2013, Oracle and/or its affiliates. 16 How do you know Installation succeeded?

Copyright © 2013, Oracle and/or its affiliates. 17 How do I uninstall SQLT Execute sqlt/install/sqdrop.sql connected as SYS In case you no longer need SQLT

Copyright © 2013, Oracle and/or its affiliates. 18 Program Agenda Introduction Installation Main methods – XTRACT, XECUTE and XTRXEC – XTRSBY and XPLAIN – XPREXT and XPREXC Main HTML diagnostics report Q&A

Copyright © 2013, Oracle and/or its affiliates. 19 SQLT Main Methods SQLT XTRACT SQLT XECUTE SQLT XTRXEC SQLT XPLAIN SQLT XTRSBY SQLT XPREXT SQLT XPREXC All act on one SQL statement

Copyright © 2013, Oracle and/or its affiliates. 20 Using SQLT Main Methods

Copyright © 2013, Oracle and/or its affiliates. 21 XTRXEC includes XTRACT and XECUTE XPLAIN XTRSBY Common XTRACT XECUTE SQLT Output Overlap

Copyright © 2013, Oracle and/or its affiliates. 22 Program Agenda Introduction Installation Main methods – XTRACT, XECUTE and XTRXEC – XTRSBY and XPLAIN – XPREXT and XPREXC Main HTML diagnostics report Q&A

Copyright © 2013, Oracle and/or its affiliates. 23 What is included in Main Report? Health-checks SQL text Parameters Cursor sharing SQL Tuning Advisor (STA) report Execution plans Partial list of contents (1/3)

Copyright © 2013, Oracle and/or its affiliates. 24 What is included in Main Report? Plan stability Active Session History (ASH) SQL performance metrics SQL Monitor Segment and session statistics Tables Partial list of contents (2/3)

Copyright © 2013, Oracle and/or its affiliates. 25 What is included in Main Report? Indexes CBO statistics Objects and dependencies Policies Metadata Partial list of contents (3/3)

Copyright © 2013, Oracle and/or its affiliates. 26 Navigating the SQLT Main Report 1. SQL Text 2. Plans Summary 3. Observations 4. Branch as per findings Typical Navigation

Copyright © 2013, Oracle and/or its affiliates. 27 Demonstration Main Report Navigation SQLT XTRACT SQLT XECUTE

Copyright © 2013, Oracle and/or its affiliates. 28 SQL Additional Methods COMPARE – Compares everything that surrounds a SQL (object definition, statistics, parameters, execution plan, etc) across two systems XPLORE – Evaluates the impact of every CBO parameter / fix on the execution plan – Automates hundreds on tests in single operation What else can I do with SQLT?

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 29 While Youre at Oracle OpenWorld… Support Breakout Sessions – Oracle Database – Oracle E-Business Suite – SQL Tuning – Oracle Exadata – Siebel CRM – PeopleSoft – JD Edwards – Oracle Business Analytics – Oracle Fusion Middleware – Oracle Solaris – Oracle RAC Cluster – Oracle Communications Solutions – Sun Server and Storage Systems Support Stars Bar Moscone West, Level 2 Oracle experts Live demos Mini-briefings Videos Sun12 – 4Wed9 - 5 Mon10 - 6Thurs9 - 1 Tues10 - 6

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 30 Join us for fun, networking, beverages and appetizers Meet fellow Community members and Oracle moderators Admission is free but registration is required Details and registration at: Monday, September 23 6:30 – 9:30 pm 4 th Annual My Oracle Support Community Meet Up Event

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 31 Summary

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 32 SQL Tuning made easier with SQLTXPLAIN Full collection of SQL tuning diagnostics – Consolidated into an easy-to-navigate html report – Consistent view – Allow offline expert analysis Over a hundred health-checks around the SQL statement – Some with pointers to particular notes or bugs Automatic SQL tuning test case (TC) extraction – Allow WHAT-IF evaluations on a test environment Dynamic readme with commands for further diagnostics How is that?

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 33 Want to master SQLTXPLAIN? Book: Oracle SQL Tuning with Oracle SQLTXPLAIN Author: Stelios Charalambides Released: March 20, 2013 Level: Intermediate Available Apress Amazon Barnes&Noble

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 34 Eager to master SQL Tuning? Carlos Sierra Jonathan Lewis Maria Colgan Tom Kyte Wolfgang Breitling Cary Millsap Christian Antognini Guy Harrison Karen Morton Some SQL Tuning Gurus (Google them!)

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 35 Discover more about Get Proactive: MOS Notes: SQLTXPLAIN (SQLT) Tool Download SQLTXPLAIN (SQLT) FAQ MOS Community: SQLTXPLAIN (SQLT): General Discussion Q&A and Important Support Resources

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 36 Thank you!

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 37

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 38