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

Execution Plan Analysis

  • Estimated execution plan (EXPLAIN PLAN, SQL*Plus Autotrace)
  • Actual execution plan (V$SQL_PLAN, tkprof, AWR)

Monitoring Performance and Identifying Process Bottlenecks

  • Monitoring the current status of the instance using system dictionary views
  • Monitoring historical data dictionaries
  • Tracking application performance (SQL Trace, TkProf, TKPROF)

Optimization Process

  • Cost-based optimization properties and regulations
  • Decision-making for optimization

Controlling the Cost-Based Optimizer via:

  • 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: 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 the Query Rewrite Mechanism

Data Indexing Methods

  • Building B-TREE indexes
  • Index properties
  • Index types: unique, composite, function-based, reverse
  • Compressed indexes
  • Rebuilding and merging indexes
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and bitmap join indexes

Case Study - Full Table Scans

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

Case Study - Index Access Methods

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

Case Study - Sorting

  • Sort areas in memory
  • Sort indexes
  • Linguistic sorting
  • The effect of entropy on sorting (Clustering Factor)

Case Study - Joins and Subqueries

  • Join methods: MERGE JOIN, HASH JOIN, 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 ITERATOR
  • VIEW
  • FILTER
  • STOPKEY Operation
  • Result Cache

Distributed Queries

  • Reading query plans for database links (dblinks)
  • Choosing the driving site

Parallel Processing

Requirements

  • Proficiency in the basics of SQL and knowledge of the Oracle database environment (preferably completion of the 'Native SQL for Programmers - Workshops' training for Oracle 11g)
  • Practical experience working with Oracle
 28 Hours

Testimonials (2)

Related Categories