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, SQLPlus Autotrace, XPlan)
  • Actual execution plans (V$SQL_PLAN, XPlan, AWR)

Performance Monitoring and Bottleneck Identification

  • Monitoring current instance status via system dictionary views
  • Historical data monitoring
  • Application tracing (SQL Trace, TKProf, Tracesess)

The Optimization Process

  • Characteristics of cost-based optimization and its controls
  • Determining the optimization approach

Controlling the Cost-Based Optimizer via:

  • 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 collecting and estimating statistics
  • Statistics management: locking, copying, editing, automation of collection, and monitoring changes
  • Dynamic data sampling (temporary tables, complex predicates)
  • Multi-column 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, and composite)
  • Physical table reorganization

Materialized Views and Query Rewrite Mechanism

Data Indexing Methods

  • Building B-tree indexes
  • Index properties
  • Index types: unique, multi-column, function-based, and reverse
  • Index compression
  • Index reconstruction and coalescing
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and joins

Case Study: Full Table Scans

  • Impact of placement at the table and block levels on read performance
  • Data loading via conventional and direct paths
  • 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 function-based indexes
  • Index selectivity (Clustering Factor)
  • Multi-column indexes and skip scans
  • NULLs and indexes
  • Index-Organized Tables (IOT)
  • Impact of indexes on DML operations

Case Study: Sorting Operations

  • In-memory sorting
  • Index-based sorting
  • Linguistic sorting
  • Effect of entropy on sorting (Clustering Factor)

Case Study: Joins and Subqueries

  • Join methods: MERGE, HASH, NESTED LOOP
  • Joins in OLTP and OLAP systems
  • Join order determination
  • Outer joins
  • Anti-joins
  • Incomplete (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

Distanced Queries

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

Parallel Processing

Requirements

  • Proficiency in the basics of SQL and familiarity with the Oracle database environment (preferably having completed the 'Native SQL for Programmers - Workshops' training for Oracle 11g)
  • Practical experience working with Oracle databases
 28 Hours

Testimonials (2)

Upcoming Courses

Related Categories