Course Outline

Application Tuning Methodology

  • Identifying the Problem
  • Diagnosing the Cause
  • Applying the Solution

SQL Command Execution Process

  • Parsing and Sharing Cursors
  • Adaptive Cursors

Query Execution Plan Analysis

  • Methods for Obtaining Hypothetical and Actual Query Plans (EXPLAIN PLAN, DBMS_XPLAN, SQLPlus Autotrace)
  • Marking the Order of Algorithm Steps
  • Interpreting the Content of the Execution Plan Tree
  • Adaptive Plans

Cost-Based Optimization Process and Controlling the Cost-Based Optimizer

  • Properties of Cost-Based and Rule-Based Optimization
  • Session and Instance Parameters
  • Hints
  • Query Plan Patterns (Outlines)
  • Query Plan Management (Baselines)
  • Patching Commands
  • Profiles and SQL Tuning Advisor

Statistics and Histograms

  • The Impact of Statistics and Histograms on Performance
  • Methods for Collecting Statistics and Histograms
  • Strategies for Counting and Estimating Statistics, Ad Hoc Sampling
  • Managing Statistics: Locking, Copying, Editing, Automating Collection, Monitoring Changes
  • Multicolumn Statistics, Expression-Based Statistics
  • System and Dictionary Statistics
  • Adaptive Statistics

Full Scan Optimization through Proper Space Management

  • When to Use Full Scans
  • Space Allocation in Blocks and Segments, High Water Mark, PCTFREE
  • The Impact of DML Operations and Space Allocation Methods on Read Performance
  • Loading Data via Conventional and Direct Paths
  • Physical Reorganization of Data, Truncation, Defragmentation, Reconstruction

Full Scan Optimization through Physical Partitioning of "Hot Data"

  • Temporary Tables
  • Partitioning
  • Materialized Views

Full Scan Optimization through Data Compression

  • OLTP Compression
  • OLAP Compression

Index-Based Read Optimization

  • The Concept of ROWID
  • BTREE Index Structure
  • Comparing the Efficiency of Accessing Data via BTREE Indexes and FULL SCAN
  • The Impact of Indexes on DML Operations
  • Strategies for Creating and Dropping Indexes
  • Good and Bad Indexes, the Impact of Physical Data Distribution Entropy on Index Usage Costs
  • Properties and Statistics of Indexes
  • Types of Reads: UNIQUE, RANGE, SKIP, FULL, FAST FULL, MIN/MAX
  • Types of Indexes: Unique, Functional, Multicolumn, Reversed Key, Local/Global, Virtual, Private
  • Index-Organized Tables (IOT)
  • Bitmap and Concatenated Indexes

Sorting Process Optimization

  • In-Memory Sorting
  • Indexed Sorting
  • Linguistic Sorting

Join and Subquery Optimization

  • Join Methods: MERGE, HASH, NESTED LOOP
  • Joins in OLTP and OLAP Systems
  • Star Joins
  • Order of Joins
  • Outer Joins

Performance Monitoring and Identifying Bottlenecks through SQLTrace

  • Tracing Database Sessions/Processes
  • Tracing Application Sessions/Users in the Connection Pooling Model to the Database
  • Tools: TkProf, TrcSess

PL/SQL Code Performance

  • Using Literal Values in SQL Commands
    - Cursor Sharing Rules
    - Adaptive Cursors
  • Proper SQL and PL/SQL Communication
    - Cursors and Bulk Operations
    - User-Defined Functions in SQL
    - Function Result Caching
  • Passing Parameters by Copy/Reference
  • Inlining Short Procedures at Compile Time
  • Compiler Optimization Levels
  • Native Compilation
  • Other Aspects of PL/SQL Optimization

Requirements

Fluent use of the SQL and PL/SQL languages. Practical experience working with Oracle or another relational database management system.

 28 Hours

Number of participants


Price Per Participant (Exc. Tax)

Testimonials (7)

Provisional Courses

Related Categories