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 Architecture and Instance
- Server processes
- Memory structures (SGA, PGA)
- Parsing and shared cursors
- Data files, log files, and parameter files
Execution Plan Analysis
- Estimated plans (EXPLAIN PLAN, SQLPlus Autotrace)
- Actual execution plans (V$SQL_PLAN, TKPROF, AWR)
Performance Monitoring and Identifying Bottlenecks
- Monitoring current instance status via system dictionary views
- Historical data monitoring
- Application tracing (SQL Trace, TKPROF, TRESESS)
The Optimization Process
- Cost-based optimizer properties and control
- Optimizer directives
Controlling the Cost-Based Optimizer
- Session and instance parameters
- Hints
- Query plan outlines
Statistics and Histograms
- Impact of statistics and histograms on performance
- Methods for collecting statistics and histograms
- Strategies for gathering and estimating statistics
- Statistics management: blocking, copying, editing, collection automation, and monitoring changes
- Dynamic 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, mixed)
- Physical reorganization of tables
Materialized Views and Query Rewrite Mechanisms
Data Indexing Methods
- Building B-TREE indexes
- Index properties
- Index types: unique, multi-column, function-based, domain
- Compressed indexes
- Index rebuilding and merging
- Virtual indexes
- Private and public indexes
- Bitmap indexes and joins
Case Study - Full Data Scans
- Impact of table location and block size on read performance
- Conventional versus direct-path data loading
- Order of predicates
Case Study - Index-Based Data Access
- Index read 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 scans
- NULL values and indexes
- Index-organized tables (IOT)
- Impact of indexes on DML operations
Case Study - Sorting
- Memory sorting
- Index sorting
- Linguistic sorting
- Impact of data distribution 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-join
- Incomplete joins (SEMI)
- Simple subqueries
- Correlated subqueries
- Views and the WITH clause
Other Cost-Based Optimizer Operations
- Buffer Sort
- IN-LIST iterators
- VIEW operations
- FILTER operations
- Count Stop Key
- Result Cache
Distributed Queries
- Reading query plans for DBLink usage
- Selecting the driving site
Parallel Processing
Requirements
- Familiarity with SQL basics and knowledge of the Oracle database environment (completion of the 'Native SQL for Programmers - Workshops' training for 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