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 Execution Plans

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

Performance Monitoring and Bottleneck Identification

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

Optimisation Process

  • Cost-based optimiser properties and rules
  • Determining optimisation opportunities

Controlling the Cost-Based Optimiser Through:

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

Logical and Physical Database Structure

  • Tablespaces
  • Segments
  • Extents (EXTENTS)
  • Blocks

Data Storage Methods

  • Physical aspects of tables
  • Temporary tables
  • Index-organised tables
  • External tables
  • Partitioned tables (range, list, hash, composite)
  • Physical table reorganisation

Materialised Views and Query Rewrite Mechanism

Data Indexing Methods

  • Building B-tree indexes
  • Index properties
  • Index types: unique, multi-column, function-based, reverse
  • Index compression
  • Rebuilding and merging indexes
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and joins

Case Study: Full Table Scans

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

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)
  • Multi-column indexes and SKIP SCAN
  • NULL values and indexes
  • Index-organised tables (IOT)
  • Impact of indexes on DML operations

Case Study: Sorting

  • In-memory sorting
  • Index-based sorting
  • Linguistic sorting
  • Effect of clustering factor 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 Optimiser Operations

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

Distributed Queries

  • Interpreting query plans for DBLINK usage
  • Selecting the driving site

Parallel Processing

Requirements

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

Number of participants


Price per participant

Testimonials (2)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories