Oracle SQL Performance Tuning - Earthlink

27 downloads 30544 Views 61KB Size Report
The course guide also includes applicable related white papers. The focus of ... A hands-on opportunity to learn more about Oracle, SQL Developer, and TOAD ...
Advanced Oracle SQL Performance Tuning Tips & Techniques Over the Web! 5 Half-Day Training Course Instructor-led training at your desk! Yes, the future is here today. Morning lectures allow you to receive valuable training while having the rest of the day to perform your regular job tasks. This course is complete with the same instructor-led training lectures, same lab exercises, and same training experience, as you would receive with classroom training. The course guide also includes applicable related white papers. The focus of this tuning course is to cover advanced SQL performance tuning topics for those Oracle professionals that already have a SQL tuning background. This course is perfect for DBA’s that need the additional background to solve the more difficult problems. The lectures will be 8:30am till 12:00pm Central Time Zone USA, Monday thru Friday. Morning lectures allow the attendees to attend this valuable training as well as perform their daily job tasks. The lecture slides and voice will be via the web. A dial-in phone number will be provided for those who need it. The course is completely interactive. Students can ask questions at any time. Labs are generally at the end of the lecture and the instructor will be available for Q & A and lab assistance after the lecture. Lab solutions will always be reviewed. The course guide will be provided electronically and students can print a copy if they desire a hard copy. The course guide contains all the lecture slides and instructor notes, the labs, lab solutions, and relevant white papers. This course covers a number of advanced topics such as Index clustering factor, Oracle10g Tablespace options that affect index performance, various Oracle traces including the 10053 Cost-Based Optimizer trace and sizing the SORT_AREA_SIZE and HASH_AREA_SIZE using the 10053, 10033, 10034, and 10104 traces. Lectures include an in-depth look at various SGA structures such as buffer cache options and sizing, library cache and cursor sharing, and Oracle fragmentation and locking issues/data block internals. Students will also experience how to monitor their application environment, their indexes, and see how to find problem SQL in their applications using Stats Pack, SQL Trace, AWR, SQL Tuning Advisor, and the V$ dictionary tables (using a variety of supplied SQL*Plus scripts). This course takes a close look at indexes: how Oracle

selects them, why they are sometimes not used, and how to tell if indexes are being used/not being used. Hands-on lab exercises that reinforce the lecture topics. This course shows how to use TOAD, SQL Developer and SQL*Plus for SQL Performance Tuning. Topics covered includes: • Oracle Architecture from a SQL Performance point-of-view • Review of Reading Explain Plans/Understanding Explain Plans • Review of CBO Hints • A close look at Indexes – how they work and how they are selected and advanced topics such as clustering factor and other reasons indexes may NOT be selected • Oracle Trace Facility/Stats Pack/Wait Events • Tracing wait events back to the problem SQL • Oracle AWR and new tools such as SQL T are covered • Profiling PL/SQL, PL/SQL Coding Tips • SGA topics include: o Buffer Cache options and sizing o Library Cache utilization/internals including cursor-sharing topics o Oracle11g Result Cache • Oracle10g Tablespace options that affect indexes • Oracle data block internals and fragmentation reviewed • Finding various problems using the V$ dictionary tables with scripts. This course is perfect for DBA’s that need the additional background to solve the more difficult problems. Workshop Prerequisites: A background in SQL tuning working knowledge of the SQL language. Knowledge of SQL Explain Plans is helpful and will be reviewed.

Lectures and topics are enhanced with live illustrations and hands-on exercises Attendees Receive: • Study guide with presentations and relevant white papers • Zip file full of tuning and problem discovery scripts • Opportunity to ask the tough Oracle questions • A hands-on opportunity to learn more about Oracle, SQL Developer, and TOAD

Course Outline: •

Day 1: SQL Statement Tuning - Oracle RDBMS Architecture overview - Review Reading and Interpreting Explain Plans - Understanding the Rule-based Optimizer - Understanding the Cost-based Optimizer



Day 2: Working with Indexes and Hints - Review CBO Hints – displaying internal hints Oracle considers - Advanced Index Review/Tips & Techniques



Day 3: Helping the CBO - A close look at sub-query coding techniques - Plan Stability - Histograms - SQL Coding Tips



Day 4: SGA Review and SQLTrace - Review SGA Memory Structures including: ! Buffer Cache ! Result Cache ! Library Cache - SQL Trace File Analysis ! Using TOAD (new features), TKProf, and SQLDeveloper ! Using SQL TXPlan (new free Oracle SQL analysis tool)



Day 5: Additional Advanced Materials - A close look at other useful Oracle Traces ! 10053 CBO Trace ! 10030 & 31 Sort Traces ! 10104 Hash Join Traces - Oracle Internals: How Oracle writes ! Various Space Management Issues discussed ! Monitoring Sorting ! Why does my Oracle10g run slower than my Oracle9i - Finding Problem SQL using v$ information - Using Automated Workload Repository - Review the SQL Tuning Advisor

About Dan Hotka: Dan Hotka is a Training Specialist and an Oracle ACE Director who has over 32 years in the computer industry, over 27 years of experience with Oracle products. His experience with the Oracle RDBMS dates back to the Oracle V4.0 days. Dan’s latest book is the Oracle SQL Tuning: A Close Look at Explain Plans by Amazon. He is also the author of TOAD Handbook by Pearson Education, SQL Developer Handbook by Oracle Press, Oracle9i Development By Example, and Oracle8i from Scratch by Que and has coauthored 7 other popular books including the Database Oracle10g Linux Administration by Oracle Press. He is frequently published in Oracle trade journals, and regularly speaks at Oracle conferences and user groups around the world. Dan Hotka - Author/Instructor/Oracle ACE Director www.DanHotka.com [email protected] 515 771-3935

Suggest Documents