Get in Touch

Course Outline

Application Tuning Methodology

Database and Instance Architecture

  • Server processes
  • Memory structures (SGA, PGA)
  • Cursor parsing and sharing
  • Data files, log files, and parameter files

Execution Plan Analysis

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

Performance Monitoring and Bottleneck Identification

  • Monitoring instance status via data dictionary views
  • Monitoring historical data dictionary views
  • Application tracing (SQL*Trace, TkProf, TKPROF for session analysis)

Optimization Process

  • Cost-based optimization characteristics and regulation
  • Determining optimization parameters

Controlling the Cost-Based Optimizer:

  • 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 gathering and estimating statistics
  • Statistics management: blocking, copying, editing, automation of collection, and change monitoring
  • Dynamic data sampling (temporary tables, complex predicates)
  • Multicolumn 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 properties
  • Index types: unique, multicolumn, function-based, inverted
  • Compressed indexes
  • Index rebuilds and merges
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and joins

Case Study: Full Table Scans

  • Impact of block-level reads and table placement on performance
  • Data loading 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)
  • Utilizing function-based indexes
  • Index selectivity (Clustering Factor)
  • Multicolumn indexes and SKIP SCAN
  • NULL values and indexes
  • Index-organized tables (IOT)
  • Impact of indexes on DML operations

Case Study: Sorting

  • Sort memory allocation
  • Index sorting
  • Linguistic sorting
  • Impact of data distribution on sorting (Clustering Factor)

Case Study: Joins and Subqueries

  • Join algorithms: MERGE, HASH, NESTED LOOP
  • Joins in OLTP and OLAP systems
  • Join order optimization
  • 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
  • STOPKEY
  • RESULT CACHE

Distributed Queries

  • Reading query plans for use with database links (dblinks)
  • Selecting the driving site

Parallel Processing

Requirements

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

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories