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

Analyzing Execution Plans

  • Predicted plans (EXPLAIN PLAN, SQL*Plus Autotrace XPlan)
  • Actual execution plans (V$SQL_PLAN, XPlan, AWR)

Performance Monitoring and Identifying Bottlenecks

  • Monitoring real-time instance status via system dictionary views
  • Historical dictionary monitoring
  • Application tracking (SQL Trace, TkProf, TreSess)

Optimization Process

  • Cost-based optimizer properties and regulation
  • Optimization strategies

Controlling the Cost-Based Optimizer via:

  • Session and instance parameters
  • Hints
  • Query plan patterns

Statistics and Histograms

  • Impact of statistics and histograms on performance
  • Methods for collecting statistics and histograms
  • Statistics counting and estimation strategies
  • Statistics management: blocking, copying, editing, collection automation, and change monitoring
  • Dynamic data sampling (temporary tables, complex predicates)
  • Multi-column statistics based on expressions
  • System statistics

Logical and Physical Database Structure

  • Tablespaces
  • Segments
  • Extents
  • Blocks

Data Storage Methods

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

Materialized Views and Query Rewrite Mechanism

Data Indexing Methods

  • Creating B-TREE indexes
  • Index properties
  • Index types: unique, multi-column, function-based, reverse
  • Compressed indexes
  • Rebuilding and merging indexes
  • Virtual indexes
  • Public and private indexes
  • Bitmap indexes and joins

Case Study - Full Data Scans

  • Impact of placement at the table and block level on read performance
  • Data loading: conventional and direct path methods
  • 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
  • NULL values and indexes
  • Index-organized tables (IOT)
  • Impact of indexes on DML operations

Case Study - Sorting

  • Memory-based sorting
  • Index sorting
  • Linguistic sorting
  • Impact of entropy on sorting (Clustering Factor)

Case Study - Joins and Subqueries

  • Join methods: MERGE, HASH, NESTED LOOP
  • Joins in OLTP and OLAP systems
  • Join order manipulation
  • Outer Joins
  • Anti-joins
  • Incomplete joins (SEMI)
  • Simple subqueries
  • Correlated subqueries
  • Views and the WITH clause

Other Cost-Based Optimizer Operations

  • Buffer Sort
  • IN-LIST
  • VIEW
  • FILTER
  • Count Stop Key
  • Result Cache

Partitioned Queries

  • Reading query plans for use with DB links
  • Selecting the leading table

Parallel Processing

Requirements

  • Proficiency in SQL basics and familiarity with the Oracle database environment (completion of the 'Native SQL for Programmers - Workshops' course for Oracle 11g is preferred)
  • Practical work experience with Oracle
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories