0345 4506120

Oracle 11g Release 2 SQL Performance Tuning

This Oracle 11g Release 2 SQL Performance Tuning course introduces the delegate to the main concepts of Oracle SQL performance tuning. It is designed to give delegates practical experience in analysing and tuning the performance of SQL. This course is suitable for users of Oracle Database 11g and Oracle Database 12c.

Who will the Course Benefit?

The Oracle 11g Release 2 SQL Performance Tuning course is designed for SQL programmers, application developers, designers and technical support professionals who are required to tune the performance of an Oracle application running under Oracle Database 11g or 12c

Learning Objectives

The delegate will practise:

  • Selecting an Appropriate SQL Tuning Approach
  • Tuning Database Applications for Optimal Performance
  • Managing Statistics
  • Creating and Using Indexes
  • Structuring SQL Statements for Performance
  • Examining and Interpreting the Execution Plan of a SQL Statement using EXPLAIN PLAN
  • Examining the Efficiency of SQL Statements using SQL Trace and Autotrace
  • Using the SQL Tuning Advisor
  • Identifying SQL Statements that Perform Badly
  • Using Hints to Influence Execution Plan
  • Identifying Unused Indexes

Pre-Requisites

A working knowledge of SQL is required. This can be obtained by attendance on the pre-requisite Oracle SQL course.

Course Content

Course Contents - DAY 1

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: INTRODUCTION TO ORACLE PERFORMANCE TUNING

  • Overview of Oracle Database Tuning
  • Application Developer Tuning Responsibilities
  • Oracle DBA Tuning Responsibilities
  • Oracle Tuning Process
  • Plan a Routine Monitoring Regime
  • Setting Suitable Goals

Session 2: TOOLS FOR EVALUATING SQL STATEMENTS

  • Overview of SQL Statement Tuning
  • Tools to Assist in SQL Tuning
  • Use Explain Plan, Autotrace and SQL Trace to Examine the Execution of a SQL Statement
  • Interpreting a SQL Trace

Session 3: THE SQL OPTIMIZER

  • The SQL Optimizer
  • Statement Transformation
  • The Optimizer_Mode Initialization Parameter
  • Cost Based Optimizer
  • Managing Statistics with DBMS_STATS
  • Automatic Statistics Gathering
  • Dynamic Statistics
  • Online Statistics Gathering for Bulk Loads

Session 4: SORTS

  • How Oracle Processes Sorts
  • Temporary Disk Space Assignment
  • SQL Operations that Use Sorts

Session 5: INDEXES

  • Index Overview
  • Selecting Suitable Columns for an Index
  • B*Tree Indexes
  • Rebuild an Index
  • Composite Indexes
  • Descending Indexes
  • Access Paths with Indexes
  • Index Scans
  • Conditions That Stop Indexes Being Used
  • Parameters that Affect Optimizer Index Choice

Course Contents - DAY 2

Session 6: ADVANCED INDEXES

  • Bitmap Indexes
  • Key Compressed Indexes
  • Index Organized Tables
  • Function Based Indexes
  • Invisible Indexes

Session 7: JOIN OPERATIONS

  • Understand Access Paths
  • Joining Tables
  • Nested Loops Join
  • Merge Join
  • Cluster Join
  • Hash Join
  • Anti Join and Semi Join
  • Outer Joins
  • Star Join
  • Improve Optimization with Different Access Paths

Session 8: SQL TUNING ADVISOR USING SQL DEVELOPER

  • Overview of the DBMS_SQL_TUNE Package
  • Using the SQL Tuning Advisor with SQL Developer

Session 9: SEQUENCES AND VIEWS

  • Sequence Caching
  • Views
  • View Merging
  • Inline Views

Session 10: USING HINTS

  • Using Hints to Influence Execution Plan
  • Optimization Mode and Goals
  • Access Methods
  • Query Transformations
  • Join Orders
  • Join Operations
  • Hint Examples

Session 11: MISCELLANEOUS

  • Tips for Avoiding Problematic Queries
  • Array Size
  • The Shared Pool
  • The WITH Clause
  • Bind Variable Usage
  • Result Caching
  • Some Miscellaneous PL/SQL Issues

Privacy Notice

In order to provide you with the service requested we will need to retain and use your contact information in accordance with our Privacy Notice. If you choose to provide us with this information you explicitly consent to us using the information as necessary to provide the request service to you. If you do not agree please do not proceed to request the service from us.

Marketing Permissions

Would you like to receive our newsletter and other information on products and services which we think will be of interest to you by email. We will always treat your information with care and in accordance with our Privacy Notice. You are free to withdraw this permission at any time.

 

Our Customers Include