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

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

Performance Monitoring and Bottleneck Identification

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

The Optimization Process

  • Cost-based optimization properties and regulations
  • Determining optimization strategies

Controlling the Cost-Based Optimizer via:

  • Session and instance parameters
  • 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, automation, and change monitoring
  • Dynamic data sampling (temporary tables, complex predicates)
  • Multi-column and expression-based statistics
  • System statistics

Logical and Physical Database Structure

  • Table spaces
  • Segments
  • Extentions (EXTENTS)
  • Blocks

Data Storage Methods

  • Physical aspects of tables
  • Temporary tables
  • Indexed tables
  • External tables
  • Table partitioning (range, list, hash, mixed)
  • Physical reorganization of tables

Materialized Views and QUERY REWRITE Mechanisms

Data Indexing Methods

  • Constructing B-TREE indexes
  • Index characteristics
  • Index types: unique, multi-column, function-based, and descending
  • Index compression
  • Index rebuilding and merging
  • Virtual indexes
  • Private vs. public synonyms
  • Bitmap indexes and bitmaps

Case Study: Full-Table Scans

  • The impact of table and block level placement 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)
  • Utilizing function-based indexes
  • Index selectivity (Clustering Factor)
  • Multi-column indexes and SKIP SCAN
  • Handling NULLs in indexes
  • Index-Organized Tables (IOT)
  • Impact of DML operations on indexes

Case Study: Sorting

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

Case Study: Joins and Subqueries

  • Join algorithms: MERGE, HASH, NESTED LOOP
  • Joins in OLTP and OLAP systems
  • Join order switching
  • 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

  • Query plans involving DBLinks
  • Selecting leading hints

Parallel Processing

Requirements

  • Proficient command of SQL fundamentals and a solid understanding of the Oracle database environment (completion of the 'Native SQL for Programmers' workshop with Oracle 11g is recommended).
  • Hands-on practical experience working with Oracle databases.
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories