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 and PGA)
- SQL parsing and shared cursors
- Components: data files, log files, and parameter files
Execution Plan Analysis
- Hypothetical plans (using EXPLAIN PLAN and SQLPlus AutoTrac XPlan)
- Actual execution plans (utilizing V$SQL_PLAN, XPlan, and AWR)
Performance Monitoring and Bottleneck Identification
- Real-time instance status monitoring via system dictionary views
- Reviewing historical performance data through dictionaries
- Application tracking tools (SQLTrace, TkProf, and TreSess)
Optimization Processes
- Cost-based optimization properties and regulatory factors
- Decisions regarding optimization strategies
Controlling the Cost-Based Optimizer
- Session and instance parameters
- SQL Hints
- Query plan patterns and shaping
Statistics and Histograms
- The impact of statistics and histograms on query performance
- Techniques for gathering statistics and histograms
- Strategies for statistical counting and estimation
- Statistics management: locking, copying, editing, automated collection, and change monitoring
- Dynamic data sampling (temporary tables and complex predicates)
- Multi-column and expression-based statistics
- System-level statistics
Logical and Physical Database Structure
- Tablespaces
- Segments
- Extensions (EXTENTS)
- Blocks
Data Storage Methods
- Physical attributes of tables
- Temporary tables
- Index-Organized Tables (IOTs)
- External tables
- Table partitioning (range, list, hash, and hybrid)
- Physical reorganization of tables
Materialized Views and Query Rewrite
Data Indexing Strategies
- Constructing B-Tree indexes
- Index characteristics and properties
- Types of indexes: unique, multi-column, function-based, and reverse-key
- Index compression techniques
- Index rebuilding and coalescing
- Virtual indexes
- Private and public synonyms for indexes
- Bitmap indexes and bitmap joins
Case Study: Full Table Scans
- Impact of physical placement at the table and block level on read performance
- Data loading methods: Conventional Path vs. Direct Path
- The significance of predicate ordering
Case Study: Index-Based Data Access
- Index access methods (Unique Scan, Range Scan, Full Scan, Fast Full Scan, Min/Max Scan)
- Leveraging function-based indexes
- Index selectivity and the Clustering Factor
- Multi-column indexes and the Skip Scan optimization
- Handling NULL values in indexes
- Index-Organized Tables (IOTs)
- The impact of DML operations on index performance
Case Study: Sorting Operations
- In-memory sorting
- Index-based sorting
- Linguistic sorting
- The effect of data entropy on sorting efficiency (Clustering Factor)
Case Study: Joins and Subqueries
- Join algorithms: Merge Join, Hash Join, and Nested Loop Join
- Join strategies in OLTP vs. OLAP environments
- Join order determination
- Outer joins
- Anti-joins
- Anti-semi joins
- Simple subqueries
- Correlated subqueries
- Views and the WITH clause (Common Table Expressions)
Additional Cost-Based Optimizer Operations
- Buffer Sort
- INLIST iteration
- View merging
- Filter operations
- Stop Key operations (Count/First)
- Result Cache utilization
Distributed Queries
- Interpreting query plans involving DB Links
- Selecting the leading table or site
Parallel Processing
Requirements
- Proficiency in basic SQL and a solid understanding of the Oracle database environment (completion of our 'Native SQL for Programmers' workshop on Oracle 11g is highly recommended).
- Hands-on 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