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

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

Monitoring Performance and Identifying Bottlenecks

  • Monitoring instance status via data dictionary views
  • Monitoring historical data
  • Application tracing (SQLTrace, TkProf, TreSess)

The Optimization Process

  • Cost-based optimization features and controls
  • Optimization objectives

Controlling the Cost-Based Optimizer

  • Session and instance parameters
  • Hints
  • Query plan patterns

Statistics and Histograms

  • Impact of statistics and histograms on performance
  • Methods for collecting statistics and histograms
  • Strategies for gathering and estimating statistics
  • Statistics management: locking, copying, editing, automation of collection, and monitoring changes
  • Dynamic 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 table reorganization

Materialized Views and Query Rewrite Mechanism

Data Indexing Methods

  • Creating B-TREE indexes
  • Index properties
  • Index types: unique, multi-column, function-based, reverse
  • Index compression
  • Index rebuilding and coalescing
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and joins

Case Study: Full Table Scans

  • Impact of table placement and block read performance
  • Data loading via conventional and direct path methods
  • Order of predicates

Case Study: Index-Based Data Access

  • Index access 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
  • Indexes and NULL values
  • Index-organized tables (IOT)
  • Impact of indexes on DML operations

Case Study: Sorting

  • In-memory sorting
  • Sort operations via indexes
  • Linguistic sorting
  • Impact of entropy 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
  • 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

Dispersed Queries

  • Reading query plans for dblink usage
  • Selecting the driving table

Parallel Processing

Requirements

  • Proficiency in the fundamentals of SQL and familiarity with the Oracle database environment (preferably having completed the 'Native SQL for Programmers - Workshop' training for Oracle 11g)
  • Practical experience working with Oracle
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories