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

Execution Plan Analysis

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

Performance Monitoring and Bottleneck Identification

  • Monitoring instance status via data dictionary views
  • Reviewing historical data dictionaries
  • Tracing applications (SQL Trace, TkProf, TreSess)

Optimization Process

  • Characteristics of the cost-based optimizer and regulation
  • Optimization modes

Controlling the Cost-Based Optimizer:

  • Session and instance parameters
  • Hints
  • Query plan patterns

Statistics and Histograms

  • Impact of statistics and histograms on performance
  • Methods for collecting statistics and histograms
  • Strategies for collecting and estimating statistics
  • Statistics management: blocking, copying, editing, automation of collection, and monitoring changes
  • 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 table reorganization

Materialized Views and Query Rewrite Mechanism

Data Indexing Methods

  • Creating B-TREE indexes
  • Index characteristics
  • Index types: unique, composite, function-based, domain, inverse
  • Compressed indexes
  • Index reconstruction and coalescing
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and joining

Case Study: Full Data Scans

  • Impact of tablespace placement and block performance on reads
  • Conventional and direct-path data loading
  • Predicate order

Case Study: Index-Based Data Access

  • Index read methods (UNIQUE SCAN, RANGE SCAN, FULL SCAN, FAST FULL SCAN, MIN/MAX SCAN)
  • Utilizing functional indexes
  • Index selectivity (Clustering Factor)
  • Composite indexes and SKIP SCAN
  • NULL values and indexes
  • Index-Organized Tables (IOT)
  • Impact of indexes on DML operations

Case Study: Sorting Operations

  • Sorting in memory
  • Index sorting
  • Linguistic sorting
  • Impact 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
  • Outer Joins
  • Anti-join
  • Semi-Joins
  • Simple subqueries
  • Correlated subqueries
  • Views and the WITH clause

Other Cost-Based Optimizer Operations

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

Distributed Queries

  • Reading query plans involving DB links
  • Selecting the driving instance

Parallel Processing

Requirements

  • The free use of the basics of SQL and knowledge of Oracle database environment (preferably Oracle 11g completion of training - Native SQL for Programmers - Workshops)
  • Practical experience in working with Oracle
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories