Get in Touch

Course Outline

Application Tuning Methodology

Database and Instance Architecture

  • Server processes
  • Memory structures (SGA, PGA)
  • SQL parsing and shared cursors
  • Data files, log files, and parameter files

Execution Plan Analysis

  • Estimated execution plans (EXPLAIN PLAN, SQLPlus AutoTrac XPlane)
  • Actual execution plans (V$SQL_PLAN, XPlane, AWR)

Performance Monitoring and Bottleneck Identification

  • Monitoring instance status via system dictionary views
  • Analyzing historical performance data
  • Application tracing (SQLTrace, TkProf, TreSess)

The Optimization Process

  • Cost optimization properties and rules
  • Determining optimization strategies

Controlling the Cost-Based Optimizer via:

  • Session and instance parameters
  • Optimizer hints
  • Query plan patterns

Statistics and Histograms

  • The impact of statistics and histograms on performance
  • Methods for collecting statistics and histograms
  • Strategies for statistical counting and estimation
  • Statistics management: blocking, copying, editing, automation of collection, and monitoring changes
  • Dynamic sampling (temporary tables, complex predicates)
  • Multi-column and expression-based statistics
  • System-level statistics

Logical and Physical Database Structure

  • Tablespaces
  • Segments
  • Extensions (EXTENTS)
  • Blocks

Data Storage Methods

  • Physical aspects of tables
  • Temporary tables
  • Index-organized tables
  • External tables
  • Table partitioning (range, list, hash, mixed)
  • Physical table reorganization

Materialized Views and QUERY REWRITE Mechanism

Data Indexing Methods

  • Constructing B-TREE indexes
  • Index properties
  • Index types: unique, multi-column, function-based, and reverse-key
  • Index compression
  • Index rebuilding and merging
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and their intersections

Case Study - Full Table Scans

  • The impact of table level and block placement on read performance
  • Data loading: conventional vs. direct path
  • Predicate ordering

Case Study - Index-Based Data Access

  • Index access methods (UNIQUE SCAN, RANGE SCAN, FULL SCAN, FAST FULL SCAN, MIN/MAX SCAN)
  • Utilizing functional indexes
  • Index selectivity (Clustering Factor)
  • Multi-column indexes and SKIP SCAN
  • Handling NULL values and indexes
  • Index-organized tables (IOT)
  • The impact of indexes on DML operations

Case Study - Sorting

  • In-memory sorting
  • Index sorting
  • Linguistic sorting
  • The effect of entropy on sorting (Clustering Factor)

Case Study - Joins and Subqueries

  • Join types: MERGE, HASH, NESTED LOOP
  • Joins in OLTP and OLAP systems
  • Join order optimization
  • Outer Joins
  • Anti-joins
  • Semi-joins
  • Simple subqueries
  • Correlated subqueries
  • Views and the WITH clause

Other Cost-Based Optimizer Operations

  • Buffer Sort
  • INLIST iteration
  • VIEW access
  • FILTER operations
  • Count Stop Key
  • Result Cache

Distributed Queries

  • Query plans involving database links (dblinks)
  • Selecting leading tables

Parallel Processing

Requirements

  • Confident command of basic SQL and a solid understanding of the Oracle database environment (completion of Oracle 11g training, such as the 'Native SQL for Programmers' workshop, is preferred)
  • Practical experience working with Oracle databases
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories