Oracle SQL Performance Tuning for Developers LiveLessons (Video Training)

Video description

The focus of Oracle SQL Performance Tuning for Developers LiveLessons is to illustrate coding techniques that ensure a consistent response time between instances and releases of the Oracle database. This course works closely with performance tuning of actual SQL statements.

Description

In this video training, Dan Hotka starts out with a complete overview of the Oracle architecture so students can get an understanding how their SQL and applications can take advantage of the computing environment. This course then goes in-depth on understanding and controlling the Explain Plan, which is how and in what order Oracle retrieves data. The discussion includes considerable detail, with SQL examples, on how the optimizers—both rule-based and cost-based, but mostly cost-based—make their decisions. Students will work with a variety of SQL statements, reviewing Explain Plans and making changes to make these SQL statements perform better. Lectures include index design, using hints and coding style to control the Explain Plans, and how to use useful tools such as index monitoring, SQL Trace, and the PL/SQL profiler.

This LiveLessons course takes a close look at indexes: how Oracle selects them, why they are sometimes not used, and how to tell if indexes are being used.

This course includes Oracle10g, Oracle11g, and Oracle12c SQL tuning topics.

The source code repository for this LiveLesson can be downloaded from www.informit.com/title/9780134117027.

About the Instructor

Dan Hotka is a training specialist and an Oracle ACE director who has more than 36 years in the computer industry and more than 30 years of experience with Oracle products. His experience with the Oracle RDBMS dates back to the Oracle V4.0 days. Dan enjoys sharing his knowledge of the Oracle RDBMS. Dan is well published with 12 Oracle books and well over 200 published articles. He is frequently published in Oracle trade journals, regularly blogs, and speaks at Oracle conferences and user groups around the world. Visit his website at www.DanHotka.com. Dan can be reached at dhotka@earthlink.net.

Skill Level

  • Intermediate

Learn How To

  • Read and understand Explain Plan content
  • Review an Explain Plan and tell quickly if this is a good plan
  • Understand a good index column candidate from a not-so-good candidate
  • Quickly tell the likelihood if your SQL will use an existing index
  • Use coding and a variety of Hints (directives) that can produce better performing SQL
  • Execute and interpret SQL trace output

Who Should Take This Course

  • Oracle programmers
  • Oracle database administrators who need additional training on SQL tuning

Course Requirements

  • Working knowledge of the SQL query language

About LiveLessons Video Training

The LiveLessons Video Training series publishes hundreds of hands-on, expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. This professional and personal technology video series features world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, IBM Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include: IT Certification, Programming, Web Development, Mobile Development, Home and Office Technologies, Business and Management, and more. View all LiveLessons on InformIT at http://www.informit.com/livelessons.

Table of contents

  1. Introduction
    1. Oracle SQL Performance Tuning for Developers LiveLessons: Introduction
  2. Lesson 1: Oracle Database Architecture
    1. Learning Objectives
    2. 1.1 Explore how Oracle processes SQL
    3. 1.2 Understand Library Cache Internals
    4. 1.3 Handle SQL with Bind Variables handling
    5. 1.4 Explore the performance advantages of SQL using Functions
    6. 1.5 See what’s new for Oracle12: SQL Directives
    7. Put it all together
  3. Lesson 2: Oracle Execution Plans/Explain Plans
    1. Learning Objectives
    2. 2.1 Understand Explain Plans
    3. 2.2 Set up and use the PLAN_TABLE
    4. 2.3 Use SQL*Plus
    5. 2.4 Use TOAD
    6. 2.5 Use SQL Developer
    7. 2.6 Use Rapid SQL
    8. 2.7 Use JS Tuner
    9. 2.8 Use SQL Trace
    10. 2.9 Get the correct information from Oracle to solve SQL performance issues
    11. Put it all together
  4. Lesson 3: Explain Plan Content
    1. Learning Objectives
    2. 3.1 Understand Explain Plan Anatomy
    3. 3.2 Explore the Oracle SQL Parsing Process
    4. 3.3 Understand the Cost-Based Optimizer steps
    5. 3.4 Explore the Explain Plan Line-Item Content
    6. 3.5 Understand Table Joins
    7. 3.6 Explore the Optimizer Choices
    8. 3.7 See common issues with poorly performing Partitioned queries
    9. 3.8 Use Driving Table Hints
    10. Put it all together
  5. Lesson 4: Indexes
    1. Learning Objectives
    2. 4.1 Understand how Indexes work
    3. 4.2 Explore the Complete Index syntax
    4. 4.3 See how the CBO chooses which Index to use
    5. 4.4 Utilize Index Monitoring
    6. 4.5 Understand Index Clustering Factor
    7. 4.6 Utilize Bitmap Indexes
    8. 4.7 Understand Index-organized tables
    9. 4.8 Explore Index tips and techniques
    10. 4.9 Use some helpful Index Hints
    11. Put it all together
  6. Lesson 5: Where Clause Processing
    1. Learning Objectives
    2. 5.1 Understand how the CBO arrives at row estimations
    3. 5.2 Explore where the math goes wrong
    4. 5.3 Use the proper data types for better performance
    5. 5.4 Look at the Where clause content
    6. Put it all together
  7. Lesson 6: Sorts/Views/Sub-Query Processing
    1. Learning Objectives
    2. 6.1 Look at SQL that has Sorts
    3. 6.2 Explore how the CBO processes views
    4. 6.3 Understand Sub-query processing
    5. 6.4 Control the Explain Plan via Sub-queries
    6. 6.5 Use Hints in Sub-queries
    7. Put it all together
  8. Lesson 7: Problem SQL Review
    1. Learning Objectives
    2. 7.1 Spot Problem SQL via Explain Plan
    3. 7.2 Review Problem SQL 1
    4. 7.3 Review Problem SQL 2
    5. 7.4 Review Problem SQL 3
    6. 7.5 Use Table Alias for code readability
    7. 7.6 Review Hints
    8. Put it all together
  9. Lesson 8: Data Types and Statistics
    1. Learning Objectives
    2. 8.1 Use the proper data types
    3. 8.2 Understand CBO Histograms
    4. 8.3 Explore Oracle12 Adaptive Statistics
    5. 8.4 Review Oracle Adaptive SQL Plans
    6. Put it all together
  10. Summary
    1. Oracle SQL Performance Tuning for Developers LiveLessons: Summary

Product information

  • Title: Oracle SQL Performance Tuning for Developers LiveLessons (Video Training)
  • Author(s):
  • Release date: March 2015
  • Publisher(s): Pearson
  • ISBN: 0134117050