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

Analysis of Command Execution Plans

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

Performance Monitoring and Identifying Process Bottlenecks

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

The Optimization Process

  • Cost-based optimizer properties and controls
  • Optimizer determination

Controlling the Cost-Based Optimizer via:

  • Session and instance parameters
  • Hints
  • Query plan profiles

Statistics and Histograms

  • Impact of statistics and histograms on performance
  • Methods for collecting statistics and histograms
  • Strategies for counting and estimating statistics
  • 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 aspects of tables
  • Temporary tables
  • Index-organized tables
  • External tables
  • Partitioned tables (range, list, hash, composite)
  • Physical table reorganization

Materialized Views and the Query Rewrite Mechanism

Data Indexing Methods

  • Creating B-TREE indexes
  • Index properties
  • Index types: unique, multi-column, function-based, reverse
  • Index compression
  • Index reconstruction and merging
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and joins

Case Study - Full Data Scans

  • Impact of table-level and block-level placement on read performance
  • Data loading via conventional and direct paths
  • Order of predicates

Case Study - Index-Based Data Access

  • Index reading 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

  • Sort memory
  • Sort index
  • Linguistic sort
  • 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
  • Outer Joins
  • Anti-join
  • Semi-joins
  • 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

Distributed Queries

  • Reading query plans for dblink usage
  • Selecting the driving site

Parallel Processing

Requirements

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

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories