Get in Touch
 Duration 28 hours

Course Outline

Methodology for Application Tuning

Database and Instance Architecture

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

Analyzing Command 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
  • Reviewing historical data from dictionaries
  • Application tracking (SQL Trace, TkProf, TReSess)

The Optimization Process

  • Properties of cost optimization and regulation
  • Determining optimization strategies

Controlling the Cost-Based Optimizer

  • 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
  • Managing statistics: locking, copying, editing, automating 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
  • Table partitioning (range, list, hash, composite)
  • Physical reorganization of tables

Materialized Views and the Query Rewrite Mechanism

Data Indexing Techniques

  • Constructing B-TREE indexes
  • Index properties
  • Index types: unique, multi-column, function-based, reverse key
  • Index compression
  • Index reconstruction and coalescing
  • Virtual indexes
  • Private and public indexes
  • Bitmap indexes and bitmap join indexes

Case Study: Full Data Scans

  • The impact of table and block placement on read performance
  • Data loading via conventional and direct paths
  • Predicate ordering

Case Study: Index-Based Data Access

  • Index access methods (UNIQUE SCAN, RANGE SCAN, FULL SCAN, FAST FULL SCAN, MIN/MAX SCAN)
  • Leveraging functional indexes
  • Index selectivity (Clustering Factor)
  • Multi-column indexes and SKIP SCAN
  • Handling NULL values in indexes
  • Index-organized tables (IOT)
  • Impact of DML operations on indexes

Case Study: Sorting

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

Case Study: Joins and Subqueries

  • Join types: MERGE, HASH, NESTED LOOP
  • Joins in OLTP and OLAP systems
  • Switching order in joins
  • 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

  • Analyzing query plans involving database links
  • Selecting the leading table

Parallel Processing

Requirements

  • Proficiency in fundamental SQL concepts and a solid understanding of the Oracle database environment (completion of the "Native SQL for Programmers - Workshops" course, preferably with Oracle 11g, is recommended)
  • Hands-on practical experience with Oracle

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories