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

  • Theoretical plans (EXPLAIN PLAN, SQLPlus AutoTrac XPlane)
  • Actual execution plans (V$SQL_PLAN, XPlane, AWR)

Performance Monitoring and Bottleneck Identification

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

The Optimization Process

  • Cost-based optimization properties and regulatory controls
  • Determining optimization targets

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, automation of collection, and change monitoring
  • Dynamic data sampling (temporary tables, complex predicates)
  • Multi-column and expression-based statistics
  • System statistics

Logical and Physical Database Structure

  • Tablespaces
  • Segments
  • Extentss (EXTENTS)
  • Blocks

Data Storage Methods

  • Physical aspects of tables
  • Temporary tables
  • Indexed 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 properties
  • Types of indexes: unique, multi-column, function-based, reverse-key
  • Index compression
  • Index rebuilding and coalescing
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and bitmap joining

Case Study - Full Table Scans

  • Impact of physical placement at the table and block levels on read performance
  • Conventional and direct-path data loading
  • Predicate ordering

Case Study - Data Access via Indexes

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

Case Study - Sorting

  • In-memory sorting
  • Sort order by index
  • Linguistic sorting
  • Effect of data clustering on sorting (Clustering Factor)

Case Study - Joins and Subqueries

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

Other Cost-Based Optimizer Operations

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

Distributed Queries

  • Reading query plans for dblink usage
  • Selecting leading tables

Parallel Processing

Requirements

  • Proficiency in basic SQL and familiarity with the Oracle database environment are required. Completion of the "Native SQL for Programmers" workshop on Oracle 11g is recommended.
  • Hands-on practical experience working with Oracle.
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories