Get in Touch

Course Outline

Application Tuning Methodology

Database and Instance Architecture

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

Command Execution Plan Analysis

  • Hypothetical plans (EXPLAIN PLAN, SQLPlus AutoTrace, XPlane)
  • Actual execution plans (V$SQL_PLAN, XPlane, AWR)

Performance Monitoring and Bottleneck Identification

  • Monitoring current instance status via system dictionary views
  • Reviewing historical dictionary data
  • Application tracking (SQLTrace, TkProf, TreSess)

Optimization Process

  • Properties of cost-based optimization and rule-based optimization
  • 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 counting and estimating statistics
  • Statistics management: blocking, copying, editing, automated collection, and change monitoring
  • Dynamic data sampling (temporary tables, complex predicates)
  • Multi-column statistics and expression-based statistics
  • System statistics

Logical and Physical Database Structure

  • Tablespaces
  • Segments
  • Extents
  • Blocks

Data Storage Methods

  • Physical aspects of tables
  • Temporary tables
  • Index-organized tables
  • External tables
  • Partitioned tables (range, list, hash, composite)
  • Physical reorganization of tables

Materialized Views and Query Rewrite Mechanisms

Data Indexing Methods

  • Building B-TREE indexes
  • Index properties
  • Types of indexes: unique, multi-column, function-based, reverse-key
  • Index compression
  • Index rebuilding and coalescing
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and bitmap joins

Case Study: Full Table Scans

  • The impact of table and block location on read performance
  • Conventional vs. direct path data loading
  • Predicate ordering

Case Study: Index-Based Data Access

  • Index read methods (UNIQUE SCAN, RANGE SCAN, FULL SCAN, FAST FULL SCAN, MIN/MAX SCAN)
  • Using function-based indexes
  • Index selectivity (Clustering Factor)
  • Multi-column indexes and SKIP SCAN
  • Handling NULL values and indexes
  • Index-Organized Tables (IOT)
  • Impact of indexes on DML operations

Case Study: Sorting

  • In-memory sorting
  • Index sorts
  • Linguistic sorts
  • 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
  • Switching order
  • Outer Joins
  • Anti-joins
  • Semi-joins
  • Simple subqueries
  • Correlated subqueries
  • Views and the WITH clause

Other Cost-Based Optimizer Operations

  • Buffer Sort
  • INLIST ITERATOR
  • VIEW
  • FILTER
  • Count Stop Key
  • Result Cache

Distributed Queries

  • Analyzing query plans for db links
  • Selecting leading tables

Parallel Processing

Requirements

  • Proficiency in basic SQL and a solid understanding of the Oracle database environment (completion of the 'Native SQL for Programmers' workshop for Oracle 11g is preferred)
  • Practical, hands-on experience working with Oracle
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories