Get in Touch
 Duration 28 hours

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, SQL*Plus AutoTrace, XPlan)
  • Actual execution plans (V$SQL_PLAN, XPlan, AWR)

Performance Monitoring and Bottleneck Identification

  • Monitoring current instance status via system dictionary views
  • Analysis of historical data dictionaries
  • Application tracing (SQL Trace, TKPROF, TreSess)

The Optimization Process

  • Cost optimization properties and regulations
  • Determining optimization strategies

Controlling the Cost-Based Optimizer

  • 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
  • Statistics management: locking, copying, editing, automated collection, and change monitoring
  • 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
  • Table partitioning (range, list, hash, composite)
  • Physical reorganization of tables

Materialized Views and Query Rewrite Mechanisms

Data Indexing Methods

  • Building B-Tree indexes
  • Index properties
  • Index types: unique, multi-column, functional, reverse key
  • Compressed indexes
  • Index reconstruction and coalescing
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and bitmap joins

Case Study: Full Table Scans

  • The impact of table level and block performance on full scans
  • Conventional vs. direct path data loading
  • The importance of predicate ordering

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 and the Clustering Factor
  • Multi-column indexes and SKIP SCAN
  • Handling NULL values and indexes
  • Index-Organized Tables (IOT)
  • The impact of indexes on DML operations

Case Study: Sorting Operations

  • In-memory sorting
  • Sort order and index usage
  • Linguistic sorting
  • The effect of entropy and Clustering Factor on sorting

Case Study: Joins and Subqueries

  • Join types: MERGE, HASH, NESTED LOOP
  • Joins in OLTP vs. 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 access
  • Filter operations
  • Count Stop Key
  • Result Cache

Distributed Queries

  • Reading query plans involving DB Links
  • Selecting leading tables

Parallel Processing

Requirements

  • Proficiency in basic SQL and familiarity with the Oracle database environment (completion of the 'Native SQL for Programmers' workshop, preferably on Oracle 11g, is recommended).
  • Hands-on practical experience working with Oracle.

Number of participants


Price per participant (excl. VAT)

Testimonials (2)

Upcoming Courses

Related Categories