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, XPlan)
- Actual execution plans (V$SQL_PLAN, XPlan, AWR)
Performance Monitoring and Identifying Process Bottlenecks
- Monitoring the current instance status via system dictionary views
- Monitoring historical data dictionaries
- Application tracing (SQL Trace, TkProf, Tracesess)
The Optimisation Process
- Characteristics of the cost-based optimiser and its regulation
- Strategies for optimisation
Controlling the Cost-Based Optimiser
- 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, automation of 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 Query Rewrite Mechanism
Data Indexing Methods
- Building B-TREE indexes
- Index characteristics
- Index types: unique, multi-column, function-based, reverse
- Compressed indexes
- Rebuilding and coalescing indexes
- Virtual indexes
- Private and public indexes
- Bitmap indexes and clustering
Case Study - Full Data Scans
- Impact of table placement and block reads on performance
- Conventional and direct path data loading
- Predicate ordering
Case Study - Index-Based Data Access
- Index read 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
- Handling NULL values in indexes
- Index Organized Tables (IOT)
- Impact of indexes on DML operations
Case Study - Sorting
- Sort memory usage
- Index sorts
- 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
- Join order optimisation
- Outer Joins
- Anti-join
- Semi Joins
- Simple subqueries
- Correlated subqueries
- Views and the WITH clause
Other Cost-Based Optimiser Operations
- Buffer Sort
- IN-LIST
- VIEW
- FILTER
- Count Stop Key
- Result Cache
Distributed Queries
- Reading query plans for use over database links
- Selecting the driving site
Parallel Processing
Requirements
- Proficiency in the basics of SQL and familiarity with the Oracle database environment (completion of training such as 'Native SQL for Programmers - Workshops' for Oracle 11g is preferred)
- Practical experience working with Oracle databases
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