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

  • Hypothetical plans (EXPLAIN PLAN, SQLPlus Autotrace XPlan)
  • Actual execution plans (V$SQL_PLAN, XPlan, AWR)

Performance Monitoring and Bottleneck Identification

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

The Optimization Process

  • Cost-based optimizer properties and regulation
  • Optimizer determination

Controlling the Cost-Based Optimizer via:

  • Session and instance parameters
  • Hints
  • Query plan outlines

Statistics and Histograms

  • Impact of statistics and histograms on performance
  • Methods for collecting statistics and histograms
  • Strategies for calculating and estimating statistics
  • Statistics management: blocking, copying, editing, automation of collection, 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, mixed)
  • Physical reorganization of tables

Materialized Views and Query Rewrite Mechanism

Data Indexing Methods

  • Building B-tree indexes
  • Index properties
  • Index types: unique, multi-column, functional, reverse
  • Index compression
  • Index reconstruction and merging
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and join operations

Case Study - Full Data Scans

  • Impact of table and block placement on read performance
  • Data loading: conventional vs. direct path
  • Order of predicates

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)
  • Multi-column indexes and SKIP SCAN
  • NULL values and indexes
  • Index-organized tables (IOT)
  • Impact of indexes on DML operations

Case Study - Sorting

  • Memory sorting
  • Index sorting
  • Linguistic sorting
  • Effect of data entropy on sorting (Clustering Factor)

Case Study - Joins and Subqueries

  • Join methods: MERGE, HASH, NESTED LOOP
  • Joins in OLTP and OLAP systems
  • Join order
  • Outer Joins
  • Anti-joins
  • 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 for dblink usage
  • Selecting the driving site

Parallel Processing

Requirements

  • Familiarity with SQL basics and knowledge of the Oracle database environment (ideally having completed the 'Native SQL for Programmers - Workshops' training for Oracle 11g)
  • Practical experience working with Oracle
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories