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