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)
- Cursor parsing and sharing
- Data files, log files, and parameter files
Analyzing the Command Execution Plan
- Hypothetical plan (EXPLAIN PLAN, SQLPlus AutoTrace)
- Actual execution plan (V$SQL_PLAN, tkprof, AWR)
Monitoring Performance and Identifying Process Bottlenecks
- Monitoring instance status via system dictionary views
- Monitoring historical data
- Application tracking (SQLTrace, tkprof, TraceSess)
The Optimization Process
- Cost optimization properties and regulation
- Determination of optimization strategies
Controlling the Cost-Based Optimizer by:
- Session parameters and instance settings
- 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, automation of collection, monitoring changes
- Dynamic data sampling (temporary tables, complex predicates)
- Multi-column statistics, based on expressions
- System statistics
Logical and Physical Structure of the Database
- 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 QUERY REWRITE Mechanism
Data Indexing Methods
- Building B-TREE indexes
- Index properties
- Index types: unique, multi-column, function-based, domain
- Index compression
- Rebuilding and merging indexes
- Virtual indexes
- Private and public indexes
- Bitmap Indexes and join indexes
Case Study - Full Table Scans
- Impact of table placement and block reads on performance
- Data loading: conventional and direct path
- Order of predicates
Case Study - Index Access to Data
- Index access 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
- NULL values and indexes
- Index-organized tables (IOT)
- Impact of indexes on DML operations
Case Study - Sorting
- Sort memory
- 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
- Order of joins
- Outer Joins
- Anti-join
- Semi-joins
- Simple subqueries
- Correlated subqueries
- Views and the WITH clause
Other Cost-Based Optimizer Operations
- Buffer Sort
- IN-LIST iterator
- VIEW operation
- FILTER operation
- Sort Stop Key
- Result Cache
Distributed Queries
- Reading query plans for use with DB links
- Choosing the driving table
Parallel Processing
Requirements
- Fluency in the basics of SQL and knowledge of the Oracle database environment (preferably having completed the 'Native SQL for Programmers' 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