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

Analysis of Execution Plans

  • Hypothetical plans (EXPLAIN PLAN, SQLPlus Autotrace EXPLAIN)
  • Actual execution plans (V$SQL_PLAN, EXPLAIN, AWR)

Monitoring Performance and Identifying Process Bottlenecks

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

The Optimization Process

  • Characteristics of cost optimization and regulation
  • Optimization approaches

Controlling the Cost-Based Optimizer via:

  • Session and instance parameters
  • Hints
  • Query plan outlines

Statistics and Histograms

  • Impact of statistics and histograms on performance
  • Methods for collecting statistics and histograms
  • Strategy for counting and estimating statistics
  • Statistics management: blocking, copying, editing, automation of collection, and monitoring changes
  • Dynamic data sampling (temporary tables, complex predicates)
  • Multi-column statistics based on expressions
  • 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, composite)
  • Physical reorganization of tables

Materialized Views and Query Rewrite Mechanism

Data Indexing Methods

  • Creating B-TREE indexes
  • Index properties
  • Index types: unique, composite, function-based, domain
  • Index compression
  • Index rebuilding and merging
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and joins

Case Study - Full Data Scans

  • Impact of table placement and block size on read performance
  • Data loading methods: conventional vs. direct path
  • Order of predicates

Case Study - Index-Based Data Access

  • Index read methods (UNIQUE SCAN, RANGE SCAN, FULL SCAN, FAST FULL SCAN, MIN/MAX SCAN)
  • Using function-based indexes
  • Index selectivity (Clustering Factor)
  • Composite indexes and SKIP SCAN
  • NULL values and indexes
  • Index Organized Tables (IOT)
  • Impact of indexes on DML operations

Case Study - Sorting

  • Memory sorting
  • Index sorting
  • Linguistic sorting
  • Impact of data skew on sorting (Clustering Factor)

Case Study - Joins and Subqueries

  • Join methods: MERGE, HASH, NESTED LOOP
  • Joins in OLTP and OLAP systems
  • Join order
  • Outer Joins
  • Anti-join
  • Incomplete joins (SEMI)
  • Simple subqueries
  • Correlated subqueries
  • Views and the WITH clause

Other Cost-Based Optimizer Operations

  • Buffer Sort
  • IN-LIST
  • VIEW
  • FILTER
  • Count Stop Key
  • Result Cache

Distributed Queries

  • Reading query plans for use with database links
  • Selecting the driving site

Parallel Processing

Requirements

  • Basic proficiency in SQL and familiarity with the Oracle database environment (preferably having completed training such as 'Native SQL for Programmers - Workshops')
  • Practical experience working with Oracle
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories