Get in Touch

Course Outline

Application Tuning Methodology

Database and Instance Architecture

  • Server process management
  • Memory architecture (SGA, PGA)
  • SQL 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 using system dictionary views
  • Analyzing historical data via dictionary views
  • Application tracking (SQLTrace, TkProf, TreSess)

Optimization Process

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

Controlling the Cost-Based Optimizer via:

  • Session and instance parameters
  • Optimizer hints
  • Query plan patterns

Statistics and Histograms

  • The impact of statistics and histograms on performance
  • Methods for collecting statistics and histograms
  • Strategies for counting and estimating statistics
  • Statistical management: blocking, copying, editing, automating collection, and monitoring changes
  • Dynamic data sampling (temporary tables, complex predicates)
  • Multi-column and expression-based statistics
  • System statistics

Logical and Physical Database Structure

  • Table spaces
  • Segments
  • Extensions (EXTENTS)
  • Blocks

Data Storage Techniques

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

Materialized Views and QUERY REWRITE Mechanisms

Data Indexing Methods

  • Constructing B-Tree indexes
  • Index properties
  • Index types: unique, multi-column, function-based, inverted
  • Index compression
  • Index reconstruction and merging
  • Virtual indexes
  • Private and public synonyms for indexes
  • Bitmap indexes and joins

Case Study: Full Data Scans

  • The impact of table location and block level on read performance
  • Conventional versus direct-path data loading
  • The significance of predicate order

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 SCAN
  • Handling NULL values and indexes
  • Index-Organized Tables (IOT)
  • Impact of indexes on DML operations

Case Study: Sorting Operations

  • Memory-based sorting
  • Index-assisted sorting
  • Linguistic sorting
  • The effect 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 optimization
  • Outer Joins
  • Anti-Joins
  • Semi-Joins (incomplete joins)
  • Simple subqueries
  • Correlated subqueries
  • Views and the WITH clause

Other Cost-Based Optimizer Operations

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

Distributed Queries

  • Reading query plans involving DB links
  • Selecting the leading table

Parallel Processing

Requirements

  • Proficiency in fundamental SQL concepts and a solid understanding of the Oracle database environment (completion of the 'Native SQL for Programmers' workshop with Oracle 11g is preferred)
  • Hands-on practical experience working with Oracle databases
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories