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 was formerly called Oracle9i SQL Statement Tuning.
Oracle Training Prerequisites
- The course Introduction To Oracle9i SQL
- The course Introduction To Oracle9i PL/SQL Language
- The course Introduction To Oracle9i Advanced SQL
- The course Oracle9i Architecture For Developers
Oracle Training Audience
Oracle developers
Suggested Next Courses
- The course Oracle 9i New & Advanced Features For Developers or
- The course Oracle 9iDS Forms I: Build Internet Applications
Oracle Training Objectives
- 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 Oracle9i plan stability techniques
Oracle Training Course duration
5 Days
Oracle Training Course outline
UNDERSTANDING APPLICATION PARTITIONING Client-Side Call To SALARY_VALID() Client-Centric Application Partition
CREATING DATABASE TRIGGERS ABOUT DATABASE TRIGGERS SECURITY_TIME_CHECK Transaction TRIGGER EXECUTION The PL/SQL Cache DEVELOPING TRIGGER LOGIC CREATE TRIGGER Format (Statement Trigger) UPDATE Event With Column Specification IMPLEMENTING TRIGGERS RAISE_APPLICATION_ERROR() ROW TRIGGERS CREATE TRIGGER Format (Row Trigger) TRIGGER PROCESSING EMPLOYEE_SALARY_CHECK EMPLOYEE_JOURNAL BUDGET_EVENT
MAINTAINING DATABASE TRIGGERS INSTEAD OF Triggers MAINTAIN EXISTING TRIGGERS DROP TRIGGER ALTER TRIGGER INSTEAD OF TRIGGERS DATA DICTIONARY STORAGE USER_TRIGGERS
PROCEDURE BUILDER, TRIGGER EDITOR
SYSTEM TRIGGERS SYSTEM EVENT ATTRIBUTES REQUIRED PRIVILEGES GRANT
CREATING STORED PROCEDURES & FUNCTIONS CREATE PROCEDURE / CREATE FUNCTION Statement Format RAISE_SALARY(), SALARY_VALID() EXECUTING PROCEDURES & FUNCTIONS DEVELOPING PROCEDURES & FUNCTIONS IN, OUT Parameters PL/SQL Program Restrictions LONG and LONG RAW Datatypes CALLING FUNCTIONS FROM SQL COMPUTE_RAISE()
MAINTAINING STORED PROCEDURES & FUNCTIONS ABOUT DEPENDENCIES ALTERING PROCEDURES & FUNCTIONS ALTER PROCEDURE ALTER FUNCTION DROPPING PROCEDURES & FUNCTIONS DROP PROCEDURE DROP FUNCTION SESSION STATE DATA DICTIONARY STORAGE USER_OBJECTS USER_SOURCE USER_OBJECT_SIZE SHOW ERRORS
PROCEDURE BUILDER & THE DEBUGGER WHAT IS THE PL/SQL INTERPRETER? DEVELOPING SUBPROGRAMS RAISE_SALARY() PREPARING A DEBUGGING SESSION USING THE PL/SQL INTERPRETER PL/SQL Editor Window STEP Dialog Box
CREATING & MAINTAINING PACKAGES ABOUT, CREATE, DROP, ALTER PACKAGE PERFORMANCE CONSIDERATIONS
USING CURSOR VARIABLES
SYSTEM-SUPPLIED PACKAGES ABOUT SYSTEM-SUPPLIED PACKAGES DBMS_ROWID() ROWID_TO_RESTRICTED() ROWID_TO_EXTENDED() DBMS_SQL()