Get in Touch
 Duration 28 hours (4 days)

Course Outline

Methodology for Application Tuning

Database and Instance Architecture

  • Server processes
  • Memory structures (SGA, PGA)
  • Statement parsing and shared cursors
  • Data files, log files, and parameter files

Analysis of Command Execution Plans

  • Hypothetical plans (using EXPLAIN PLAN, SQLPlus AutoTrace XPlan)
  • Actual execution plans (utilizing V$SQL_PLAN, XPlan, and AWR)

Performance Monitoring and Bottleneck Identification

  • Monitoring the current instance status via system dictionary views
  • Analyzing historical data dictionaries
  • Application tracking (SQL Trace, TkProf, TrSession)

The Optimization Process

  • Properties of cost-based and rule-based optimization
  • Criteria for 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 statistical counting and estimation
  • Statistics management: blocking, copying, editing, automated collection, and change monitoring
  • Dynamic sampling of data (temporary tables, complex predicates)
  • Multi-column and expression-based statistics
  • System-wide statistics

Logical and Physical Database Structure

  • Tablespaces
  • Segments
  • Extent management (EXTENTS)
  • Data blocks

Data Storage Techniques

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

Materialized Views and Query Rewrite Mechanism

Data Indexing Methods

  • Constructing B-TREE indexes
  • Index properties
  • Types of indexes: unique, multi-column, function-based, reverse-key
  • Index compression
  • Rebuilding and coalescing indexes
  • Virtual indexes
  • Private and public synonyms for indexes
  • Bitmap indexes and bitmap joins

Case Study: Full Table Scans

  • The impact of table and block-level placement on read performance
  • Conventional vs. direct path data loading
  • Predicate ordering

Case Study: Index-Accessed Data

  • 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 NULLs and indexes
  • Index-Organized Tables (IOT)
  • The impact of indexes on DML operations

Case Study: Sorting Operations

  • Memory-based sorting
  • Index-based sorting
  • Linguistic sorting
  • The effect of data entropy on sorting (Clustering Factor)

Case Study: Joins and Subqueries

  • Join methods: MERGE, HASH, NESTED LOOP
  • Join strategies in OLTP vs. OLAP systems
  • Switching order and 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 ITERATION
  • VIEW processing
  • FILTER operations
  • Count Stopkey
  • Result Cache

Distributed Queries

  • Reading query plans for DB Link usage
  • Selecting the leading table

Parallel Processing

Requirements

  • Proficiency in basic SQL and a solid understanding of the Oracle database environment (completion of 'Native SQL for Programmers - Workshops' or equivalent experience with Oracle 11g is preferred)
  • Practical, hands-on experience working with Oracle

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories