Oracle Database 10g_ SQL Tuning Workshop

Document Sample
Oracle Database 10g_ SQL Tuning Workshop Powered By Docstoc
					Oracle Database 10g: SQL Tuning Workshop Duration: 3 days Description: This course is designed to give the experienced SQL Developer or DBA a firm foundation in SQL tuning techniques. The participant learns the necessary knowledge and skills to effectively tune SQL in the Oracle Database 10g. They learn about tuning methodology as well proactive tuning and reactive tuning methods. Students are introduced to the benefits of the new automatic tuning mechanisms available in Oracle Database 10g. On completion of the course they are able to compare and contrast the steps involved to tune manually as in prior releases as well as use the automatic SQL tuning features provided in the current release. Students gain a thorough conceptual understanding of the Oracle Optimizer, and reinforce instructor-led learning with structured hands-on practices. The course uses a series of challenge-level workshops, allowing students to "play, discover, and learn" at their own level and pace. The students learn to use the Oracle diagnostic tools and facilities: Automatic SQL Tuning components, EXPLAIN, SQL Trace and TKPROF, SQL*Plus AUTOTRACE. Students also learn to influence the behavior of the Optimizer by changing the physical schema and modifying SQL statement syntax. Marketing Description: This course is designed to give the experienced SQL Developer or DBA a firm foundation in SQL tuning techniques. The participant learns the necessary knowledge and skills to effectively tune SQL in the Oracle Database 10g. They learn about tuning methodology as well proactive tuning and reactive tuning methods. Objectives: - Describe Automatic SQL Tuning - Describe the basic steps in processing SQL statements - Describe the causes of performance problems - Influence the optimizer behavior - Influence the physical data model so as to avoid performance problems - Understand Optimizer behavior - Understand where SQL tuning fits in an overall tuning methodology - Use the diagnostic tools to gather information about SQL statement processing Audiences: - Technical Consultant - Forms Developer - Java Developer - PL/SQL Developer - Reports Developer - Business Intelligence Developer Required Prerequisites: Oracle Database10g SQL Fundamentals I Suggested Prerequisites: Oracle Database10g PL/SQL Fundamentals Topics: 1 - Database Architecture overview 1 - Overview of Database architecture 2 - Listing the SQL Statement Processing Steps 3 - Identifying Means to Minimize Parsing 4 - Stating the Use of Bind Variables 2 - Following a Tuning Methodology 1 - Describing the Causes of Performance Problems 2 - Identifying Performance Problems

3 - Using a Tuning Methodology 3 - Designing Applications for performance 1 - Oracle Methodology 2 - Understanding Scalability 3 - System Architecture 4 - Application Design Principles 5 - Deploying New Applications 4 - Introducing the optimizer 1 - Describe the functions of the Oracle optimizer 2 - Identify the factors that the optimizer considers when it selects an execution plan 3 - Set the optimizer approach at the instance and session level 4 - Use dynamic sampling 5 - Optimizer Operations 1 - Execution plans 2 - Types of Joins 6 - Displaying Execution plans 1 - Using the EXPLAIN PLAN Command 2 - Interpreting EXPLAIN Output 3 - Interpreting AUTOTRACE Statistics 7 - Gathering Statistics 1 - Using the DBMS_STATS Package 2 - Identifying Table, Column, and Index Statistics 3 - Building Histograms 8 - Application Tracing 1 - Statspack 2 - End to End tracing 3 - Invoking the SQL Trace Facility 4 - Setting Up Appropriate Initialization Parameters 5 - Formatting Trace Files with TKPROF 6 - Interpreting the Output of the TKPROF Command 9 - Identifying High Load SQL 1 - Use different methods to identify high-load SQL 2 - ADDM 3 - Top SQL 4 - Dynamic Performance views 5 - Statspack 10 - Automatic SQL Tuning 1 - Query Optimizer Modes 2 - Types of Tuning Analysis 3 - SQL Tuning Advisor 4 - SQL Tuning Sets 5 - Top SQL 11 - Introduction to Indexes 1 - Identifying Row Access Methods 2 - Creating B-Tree Indexes 3 - Understanding B-Tree Index Access and Index Merging

12 - Advanced Indexes 1 - Using Bitmapped Indexes 2 - Using Function-Based Key Indexes 13 - Optimizer Hints and Plan Stability 1 - Using Hints 2 - Purpose and Benefits of Optimizer Plan Stability 14 - Materialized Views and Temporary Tables 1 - Using the CREATE MATERIALIZED VIEW Syntax 2 - Utilizing Query Rewrites