Get in Touch

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

Analysis of Command Execution Plans

  • Hypothetical plans (EXPLAIN PLAN, SQL*Plus AutoTrace)
  • Actual execution plans (V$ SQL_PLAN, XPlane, AWR)

Performance Monitoring and Bottleneck Identification

  • Monitoring current instance status via system dictionary views
  • Analyzing historical dictionary data
  • Application tracking (SQLTrace, TkProf, TreSess)

The Optimization Process

  • Cost optimization properties and regulation
  • Determining optimization strategies

Controlling the Cost-Based Optimizer through:

  • 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: 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

  • Tablespaces
  • Segments
  • Extensions (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

  • Constructing B-TREE indexes
  • Index characteristics
  • Index types: unique, multi-column, function-based, inverted
  • Compressed indexes
  • Rebuilding and coalescing indexes
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and intersections

Case Study: Full Data Scans

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

Case Study: Data Access via Indexes

  • Index read methods (UNIQUE SCAN, RANGE SCAN, FULL SCAN, FAST FULL SCAN, MIN/MAX SCAN)
  • Utilizing functional indexes
  • Index selectivity (Clustering Factor)
  • Multi-column indexes and SKIP SCAN
  • NULL values and indexing
  • Index-Organized Tables (IOT)
  • Impact of indexes on DML operations

Case Study: Sorting

  • Memory-based sorting
  • Index sorting
  • Linguistic sorting
  • 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
  • Simple subqueries
  • Correlated subqueries
  • Views and the WITH clause

Other Cost-Based Optimizer Operations

  • Buffer Sort
  • INLIST
  • VIEW
  • FILTER
  • Count Stop Key
  • Result Cache

Distributed Queries

  • Reading query plans involving DBLinks
  • Selecting the leading table

Parallel Processing

Requirements

  • Confident command of fundamental SQL concepts and a solid understanding of the Oracle database environment (completion of training such as 'Native SQL for Programmers' is recommended)
  • Practical experience working with Oracle databases
 28 Hours

Testimonials (2)

Related Categories