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

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

Performance Monitoring and Identifying Bottlenecks

  • Monitoring current instance status via system dictionary views
  • Monitoring historical data from system views
  • Tracking application performance (SQL Trace, TKPROF, TKPROF)

Optimization Process

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

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 gathering and estimating statistics
  • Statistics management: locking, copying, editing, automation of collection, and monitoring changes
  • Dynamic 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 reorganization of tables

Materialized Views and Query Rewrite Mechanism

Data Indexing Methods

  • Building B-TREE indexes
  • Index properties
  • Index types: unique, multi-column, function-based, inverse
  • Compressed indexes
  • Rebuilding and merging indexes
  • Virtual indexes
  • Local and global indexes
  • Bitmap indexes and joins

Case Study: Full Table Scans

  • Impact of placement at the table level and block reads on performance
  • Loading data via conventional and direct paths
  • Order of predicates

Case Study: Index-Based Data Access

  • Index access 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 Operations

  • Memory-based sorting
  • Index-based 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 determination
  • 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

  • Reading query plans for DB links
  • Choosing the driving site

Parallel Processing

Requirements

  • Foundational knowledge of SQL and familiarity with the Oracle database environment (completion of the "Native SQL for Programmers" workshop for Oracle 11g is preferred)
  • Practical experience working with Oracle
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories