This course is tailored for developers to write efficient, well-tuned SQL statements. An in-depth discussion of the Oracle optimizer is considered including cost based optimization, optimization modes and altering behavior of the optimizer. Various utilities which assist in SQL statement tuning are also presented including EXPLAIN PLAN, TKPROF and AUTOTRACE. Special techniques such as histograms and specialty indexes are also considered.
This course is designed for Oracle Developers.
Upon completion of this course, the participant will be able to:> Examine the execution plan of the Oracle optimizer> Alter the mode and goals of the optimizer> Collect statistics for database objects> Interpret and influence SQL statement execution plans> Exploit Oracle8i plan stability techniques
UNDERSTANDING THE TUNING ISSUESOLTP vs. Data warehousesDatabase tuningInfrastructure & network issuesSQL STATEMENT EXECUTIONParse phaseExecution phaseFetch phaseDedicated server processesMulti-threaded server processesParallel query processesEXPLAIN PLAN UTILITYGenerating the execution planViewing the execution planInterpreting the execution planCOST BASED OPTIMIZER (CBO)Optimization methodsCollecting statisticsANALYZEDBMS_STATS()Chained rowsCOLLECTING STATISTICSStatistics Collection MethodsMonitoring Object ModificationsUsing the DBMS_STATS() PackageUsing the ANALYZE CommandCREATE INDEX...COMPUTE STATISTICSOPTIMIZER OPERATIONSTable scanJoin operationsHash operationsINDEXES & THE EXECUTION PLANB-tree indexesBitmap indexesFunction-based indexesOPTIMIZER HINTSUSING TKPROF & AUTOTRACEHISTOGRAMSCreating HistogramsData Dictionary StorageUSING PLAN STABILITYPreparing for Stored OutlinesCreating & Using Stored OutlinesData Dictionary StorageManaging Stored OutlinesEDITING PRIVATE OUTLINESPreparing for Private OutlinesCreating Private OutlinesEditing Private OutlinesUtilizing Private OutlinesCOLLECTING SYSTEM STATISTICSManaging System StatisticsDeveloping a Tuning StrategyEXPLOITING & MANAGING CURSOR SHARINGBind Variables & Cursor PeekingUsing the CURSOR_SHARING ParameterUNDERSTANDING THE RULE BASED OPTIMIZERAbout the RBOActivating the RBO ExplicitlyHow the RBO WorksThe Access PathsRBO Join Execution Plan SelectionTUNING WITH THE RULE BASED OPTIMIZERCorrectly Building IndexesUnderstanding When Indexes Will Be IgnoredRewriting Queries to Avoid Index SuppressionRewriting Queries to Force Index Suppression
Introduction To Oracle8i SQL & SQL*PlusIntroduction To Oracle8i PL/SQL LanguageOracle8i Advanced SQL & SQL*PlusOracle8i Architecture For Developers
“Very thorough workbook. Instructor kept us entertained as well as interested.” Student – Crystal Reports Quick Start 8.5