Get in Touch

Course Outline

Application Tuning Methodology

Database and Instance Architecture

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

Analyzing Execution Plans

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

Monitoring Performance and Identifying Bottlenecks

  • Monitoring instance status via system dictionary views
  • Historical dictionary monitoring
  • Application tracking (SQLTrace, TkProf, Tracesess)

The Optimization Process

  • Cost optimization parameters and controls
  • Optimizer directives

Controlling the Cost-Based Optimizer:

  • Session and instance parameters
  • Hints
  • Query plan outlines

Statistics and Histograms

  • Impact of statistics and histograms on performance
  • Methods for collecting statistics and histograms
  • Statistics collection strategies and estimation techniques
  • Statistics management: blocking, copying, editing, automating collection, and monitoring changes
  • Dynamic sampling (temporary tables, complex predicates)
  • Multicolumn 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 Mechanisms

Data Indexing Methods

  • Building B-TREE indexes
  • Index properties
  • Index types: unique, multicolumn, function-based, reverse
  • Index compression
  • Rebuilding and coalescing indexes
  • Virtual indexes
  • Local and global indexes
  • Bitmap indexes and join indexes

Case Study: Full Table Scans

  • Impact of table and block placement on read performance
  • Conventional and direct-path data loading
  • Predicate order

Case Study: Index-Based Data Access

  • Index access methods (UNIQUE SCAN, RANGE SCAN, FULL SCAN, FAST FULL SCAN, MIN/MAX SCAN)
  • Using function-based indexes
  • Index selectivity (Clustering Factor)
  • Multicolumn indexes and skip scans
  • NULL values and indexes
  • Index-organized tables (IOT)
  • Impact of indexes on DML operations

Case Study: Sorting Operations

  • Memory-based sorting
  • Index-based sorting
  • 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-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 execution plans for queries using database links
  • Choosing the driving table

Parallel Processing

Requirements

  • Fundamental knowledge of SQL and familiarity with the Oracle database environment (ideally having completed the 'Native SQL for Programmers' training)
  • Practical experience working with Oracle
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories