Get in Touch

Course Outline

Application Tuning Methodology

Database and Instance Architecture

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

Analyzing Execution Plans

  • Estimating the plan (EXPLAIN PLAN, SQL*Plus AutoTrace, XPlan)
  • Reviewing actual execution (V$SQL_PLAN, XPlan, AWR)

Performance Monitoring and Bottleneck Identification

  • Real-time instance monitoring via system dictionary views
  • Analysis of historical dictionary data
  • Application tracing (SQL Trace, TKPROF, TreSess)

Optimization Processes

  • Understanding cost-based optimization properties and regulation
  • Determining optimization strategies

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

Logical and Physical Database Structure

  • Table spaces
  • Segments
  • Extensions (EXTENTS)
  • Blocks

Data Storage Techniques

  • Physical table characteristics
  • Temporary tables
  • Index-organized tables
  • External tables
  • Table partitioning (range, list, hash, hybrid)
  • Physical table reorganization

Materialized Views and Query Rewrite

Data Indexing Methods

  • Constructing B-Tree indexes
  • Index properties
  • Index types: unique, multi-column, function-based, and descending
  • Index compression
  • Index rebuilding and coalescing
  • Virtual indexes
  • Private and public synonyms for indexes
  • Bitmap indexes and index interplay

Case Study: Full Table Scans

  • The impact of table-level and block-level placement on read performance
  • Conventional vs. direct path data loading
  • Predicate ordering effects

Case Study: Index-Based Data Access

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

Case Study: Sorting

  • In-memory sorting
  • Index-based sorting
  • Linguistic sorting
  • The effect of entropy on sorting (Clustering Factor)

Case Study: Joins and Subqueries

  • Join types: MERGE, HASH, NESTED LOOP
  • Join optimization in OLTP and OLAP systems
  • Join order optimization
  • Outer joins
  • Anti-joins
  • Semi-joins
  • Simple subqueries
  • Correlated subqueries
  • Views and the WITH clause

Other Cost-Based Optimizer Operations

  • Buffer Sort
  • INLIST iterator
  • VIEW iterator
  • FILTER iterator
  • Count StopKey
  • Result Cache

Distributed Queries

  • Analyzing query plans involving DB Links
  • Selecting leading tables

Parallel Processing

Requirements

  • Proficient command of fundamental SQL concepts and a solid understanding of the Oracle database environment (completion of the 'Native SQL for Programmers' workshop, preferably on Oracle 11g, is recommended).
  • Hands-on practical experience working with Oracle databases.
 28 Hours

Number of participants


Price per participant

Testimonials (2)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories