Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
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
Analyzing Command Execution Plans
- Hypothetical plans (EXPLAIN PLAN, SQLPlus Autotrace XPlan)
- Actual execution plans (V$SQL_PLAN, XPlan, AWR)
Monitoring Performance and Identifying Process Bottlenecks
- Monitoring current instance status via data dictionary views
- Monitoring historical data dictionaries
- Application tracking (SQLTrace, TkProf, TreSess)
The Optimization Process
- Characteristics of cost-based optimization and regulation
- Determining optimization strategies
Controlling the Cost-Based Optimizer 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
- Statistics management: blocking, 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
- Partitioned tables (range, list, hash, composite)
- Physical table reorganization
Materialized Views and the Query Rewrite Mechanism
Data Indexing Methods
- Creating B-TREE indexes
- Index properties
- Index types: unique, multi-column, function-based, reverse
- Compressed indexes
- Rebuilding and coalescing indexes
- Virtual indexes
- Private and public indexes
- Bitmap indexes and joins
Case Study - Full Table Scans
- Impact of table and block placement on read performance
- Loading data via conventional versus direct path
- Order of predicates
Case Study - Index-Based Data Access
- Index reading methods (UNIQUE SCAN, RANGE SCAN, FULL SCAN, FAST FULL SCAN, MIN/MAX SCAN)
- Utilizing functional indexes
- Index selectivity (Clustering Factor)
- Multi-column indexes and SKIP SCAN
- NULL values and indexes
- Index-Organized Tables (IOT)
- Impact of indexes on DML operations
Case Study - Sorting
- In-memory sorting
- Index sorting
- Linguistic sorting
- Impact of entropy on sorting (Clustering Factor)
Case Study - Joins and Subqueries
- Join types: MERGE, HASH, NESTED LOOP
- Joins in OLTP and OLAP systems
- Join order manipulation
- Outer Joins
- Anti-joins
- Incomplete joins (SEMI)
- Simple subqueries
- Correlated subqueries
- Views and the WITH clause
Other Cost-Based Optimizer Operations
- Buffer Sort
- INLIST
- VIEW
- FILTER
- Count Stop Key
- Result Cache
Remote Queries
- Reading query plans for use with DB links
- Selecting the leading site
Parallel Processing
Requirements
- Proficiency in SQL basics and familiarity with the Oracle database environment (completion of the 'Native SQL for Programmers' workshop, preferably on Oracle 11g is preferred)
- Practical experience working with Oracle
28 Hours
Testimonials (2)
1. I liked the trainer's style of presenting and the patience to explain. 2. I liked that the trainer answered our side questions, even the ones that took the discussion a bit farther from the presentation, which showed flexibility. 3. I liked that there was a practical lab, not just a theoretical part. 4. I liked that it was online.
Roxana - DB Global Technology
Course - Oracle 11g - Application Tuning - Workshop
Trainer expertise on SQL tuning