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
- Estimated execution plan (EXPLAIN PLAN, SQL*Plus Autotrace)
- Actual execution plan (V$SQL_PLAN, tkprof, AWR)
Monitoring Performance and Identifying Process Bottlenecks
- Monitoring the current status of the instance using system dictionary views
- Monitoring historical data dictionaries
- Tracking application performance (SQL Trace, TkProf, TKPROF)
Optimization Process
- Cost-based optimization properties and regulations
- Decision-making for optimization
Controlling the Cost-Based Optimizer via:
- 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 gathering 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 reorganization of tables
Materialized Views and the Query Rewrite Mechanism
Data Indexing Methods
- Building B-TREE indexes
- Index properties
- Index types: unique, composite, function-based, reverse
- Compressed indexes
- Rebuilding and merging indexes
- Virtual indexes
- Private and public indexes
- Bitmap indexes and bitmap join indexes
Case Study - Full Table Scans
- The impact of table and block placement on read performance
- Data loading via conventional and direct path methods
- Order of predicates
Case Study - Index Access Methods
- Index read methods (UNIQUE SCAN, RANGE SCAN, FULL SCAN, FAST FULL SCAN, MIN/MAX SCAN)
- Using function-based indexes
- Index selectivity (Clustering Factor)
- Composite indexes and skip scans
- NULL values and indexes
- Index-organized tables (IOT)
- Impact of indexes on DML operations
Case Study - Sorting
- Sort areas in memory
- Sort indexes
- Linguistic sorting
- The effect of entropy on sorting (Clustering Factor)
Case Study - Joins and Subqueries
- Join methods: MERGE JOIN, HASH JOIN, NESTED LOOP
- Joins in OLTP and OLAP systems
- Join order
- Outer Joins
- Anti-Join
- Semi-Joins
- Simple Subqueries
- Correlated Subqueries
- Views and the WITH clause
Other Cost-Based Optimizer Operations
- Buffer Sort
- INLIST ITERATOR
- VIEW
- FILTER
- STOPKEY Operation
- Result Cache
Distributed Queries
- Reading query plans for database links (dblinks)
- Choosing the driving site
Parallel Processing
Requirements
- Proficiency in the basics of SQL and knowledge of the Oracle database environment (preferably completion of 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