Oracle Database 11g: SQL Tuning Workshop
This Oracle Database 11g: SQL Tuning Workshop Release 2 training assists database developers, DBAs and SQL developers in identifying and tuning inefficient SQL statements.
Description
This Oracle Database 11g: SQL Tuning Workshop Release 2 training assists database developers, DBAs and SQL developers in identifying and tuning inefficient SQL statements. You'll explore investigative methods to reveal varying levels of detail about how the Oracle database executes the SQL statement; this helps you determine the root causes of the inefficient SQL statements.
What You'll Learn
- Use Oracle tools to identify inefficient SQL statements.
- Use Automatic SQL Tuning.
- Use Real Time SQL monitoring.
- Write more efficient SQL statements.
- Monitor and trace high load SQL statements.
- Manage optimizer statistics on database objects.
- Interpret execution plans, and the different ways in which data can be accessed.
Prerequisites
- No Prerequisites
Audience
Outline
- Oracle Database Server Architecture: Overview
- Connecting to the Database Instance
- Physical Structure
- Oracle Database Memory Structures: Overview
- Automatic Shared Memory Management
- Automated SQL Execution Memory Management
- Database Storage Architecture, Logical and Physical Database Structures
- Segments, Extents, and Blocks & SYSTEM and SYSAUX Tablespaces
- Reason for Inefficient SQL Performance
- Performance Monitoring Solutions
- Monitoring and Tuning Tools: Overview
- CPU and Wait Time Tuning Dimensions
- Scalability with Application Design, Implementation, and Configuration
- Common Mistakes on Customer systems & Proactive Tuning Methodology
- Simplicity in Application Design
- Data Modeling, Table Design, Index Design, Using Views, SQL Execution Efficiency, Overview of SQL*Plus & SQL Developer
- Structured Query Language
- SQL Statement Parsing: Overview
- Why Do You Need an Optimizer?
- Optimization During Hard Parse Operation
- Transformer & Estimator
- Cost-Based Optimizer
- Plan Generator
- Controlling the Behavior of the Optimizer, Optimizer Features and Oracle Database Releases
- What Is an Execution Plan? Where To Find Execution Plans and Viewing Execution Plans
- Plan Table & AUTOTRACE
- Using the V$SQL_PLAN View
- Automatic Workload Repository (AWR)
- SQL Monitoring: Overview
- Interpreting an Execution Plan
- Reading More Complex Execution Plans and Reviewing the Execution Plan
- Looking Beyond Execution Plans
- End-to-End Application Tracing Challenge
- Location for Diagnostic Traces
- What is a Service? Use Services with Client Applications & Tracing Services
- Use Enterprise Manager to Trace Services
- Session Level Tracing: Example
- The trcsess Utility and SQL Trace File Contents
- Invoking the tkprof Utility and Output of the tkprof Command
- tkprof Output with and without Index: Example
- Row Source Operations, Main Structures and Access Paths
- Full Table Scan
- Indexes: Overview and B*-tree Indexes and Nulls
- Using Indexes: Considering Nullable Columns
- Index-Organized Tables
- Bitmap Indexes, Bitmap Operations and Bitmap Join Index
- Composite Indexes and Invisible Index
- Guidelines for Managing Indexes and Investigating Index Usage