Write For Us

Oracle SQL Tuning - Oracle Execution Plans for Beginners

E-Commerce Solutions SEO Solutions Marketing Solutions
698 Views
Published
Tuning Oracle SQL? In this tutorial you will learn how to generate and read (interpret) an execution plan.

Understanding what the Oracle Database does with your SQL is essential to tuning - and the execution plan is the key.

Oracle Certified Master DBA John Watson will provide a brief introduction (4 minutes) - which includes John's tuning methodology, then demonstrate EXPLAIN PLAN, SQL*Plus AUTOTRACE and DBMS_XPLAN.DISPLAY_CURSOR. In the demonstration, John will teach you:

How to read an execution plan
Find the 1st step in the plan
Decipher the order of the steps in the plan
That EXPLAIN PLAN can be very misleading
Prerequisites: To get the most from this tutorial, you should:

Know how to code SQL
Be familiar with SQL*Plus
Know - in very general terms - what an execution plan is.
Have a basic understanding of the Library Cache (this is where Oracle Database stores parsed SQL statements)
Have a basic understanding of the Cost Based Optimizer (this is the part of the database that parses your SQL, creates an execution plan. Hopefully the correct - most efficient - plan).
Category
Success
Sign in or sign up to post comments.
Be the first to comment