Get in Touch
 Duration 28 hours

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

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

Performance Monitoring and Bottleneck Identification

  • Monitoring current instance status via system dictionary views
  • Reviewing historical data through dynamic performance views
  • Application tracking using SQL Trace, TkProf, and TreSess

Optimization Process

  • Understanding cost-based optimization properties and constraints
  • Determining the scope and focus of optimization efforts

Controlling the Cost-Based Optimizer Through:

  • Session and instance parameters
  • Optimizer hints
  • Query plan shaping 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, automating collection, and monitoring changes
  • Dynamic sampling of data (temporary tables, complex predicates)
  • Multi-column statistics and expression-based statistics
  • System-level statistics

Logical and Physical Database Structures

  • Tablespaces
  • Segments
  • Extents
  • Blocks

Data Storage Methods

  • Physical characteristics of tables
  • Temporary tables
  • Index-organized tables
  • External tables
  • Table partitioning (range, list, hash, composite)
  • Physical reorganization of tables

Materialized Views and Query Rewrite Mechanism

Data Indexing Techniques

  • Building B-Tree indexes
  • Index properties
  • Index types: unique, multi-column, function-based, descending
  • Compressed indexes
  • Index rebuilding and merging
  • Virtual indexes
  • Private and public synonyms for indexes
  • Bitmap indexes and bitmap conjunctions

Case Study: Full Table Scans

  • Impact of table and block placement on read performance
  • Conventional versus direct path data loading
  • The significance of predicate ordering

Case Study: Index-Accessed Data

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

Case Study: Sorting

  • In-memory sorting
  • Sorting with index assistance
  • Linguistic sorting
  • The influence of entropy and Clustering Factor on sorting performance

Case Study: Joins and Subqueries

  • Join types: MERGE, HASH, and NESTED LOOP
  • Join optimization in OLTP and OLAP systems
  • Order of join execution
  • Outer joins
  • Anti-joins
  • Semi-joins
  • Simple subqueries
  • Correlated subqueries
  • Views and the WITH clause

Other Cost-Based Optimizer Operations

  • Buffer Sort
  • INLIST ITERATION
  • View access
  • FILTER operations
  • Count Stop Key
  • Result Cache

Distributed Queries

  • Reading query plans involving DBLinks
  • Selecting the leading table

Parallel Processing

Requirements

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

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories