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
Execution Plan Analysis
- Hypothetical plans (EXPLAIN PLAN, SQLPlus AutoTrace)
- Actual execution plans (V$SQL_PLAN, SQL Monitor, AWR)
Performance Monitoring and Identifying Bottlenecks
- Monitoring current instance status via system dictionary views
- An historical dictionary monitoring
- Application tracing (SQL Trace, TKPROF, Trace Session)
The Optimization Process
- Cost-based optimization properties and regulation
- Determining the optimizer mode
Controlling the Cost-Based Optimizer:
- 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 collecting and estimating statistics
- Statistics management: blocking, copying, editing, automating collection, and monitoring changes
- Dynamic sampling of data (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 table characteristics
- Temporary tables
- Index tables
- External tables
- Partitioned tables (range, list, hash, composite)
- Physical table reorganization
Materialized Views and Query Rewrite Mechanisms
Data Indexing Methods
- Building B-tree indexes
- Index characteristics
- Index types: unique, multi-column, function-based, reverse
- Index compression
- Index reconstruction and coalescing
- Virtual indexes
- Private and public indexes
- Bitmap indexes and joins
Case Study: Full Data Scans
- Impact of placement at the table and block level on read performance
- Data loading: conventional versus direct path
- Predicate ordering
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 (Cluster Factor)
- Multi-column indexes and SKIP SCAN
- NULL values and indexes
- Index-organized tables (IOT)
- Impact of indexes on DML operations
Case Study: Sorting
- Sort memory usage
- Index sorting
- Linguistic sorting
- Impact of data distribution on sorting (Cluster Factor)
Case Study: Joins and Subqueries
- Join types: 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 Optimizer Operations
- Buffer Sort
- IN-LIST iterator
- VIEW
- FILTER
- Count Stop Key
- Result Cache
Distributed Queries
- Reading query plans for DBLink usage
- Selecting the driving table
Parallel Processing
Requirements
- Proficiency in the basics of SQL and familiarity with the Oracle database environment (preferably having completed the 'Native SQL for Programmers - Workshops' training for Oracle 11g)
- 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