Hi all,

I know how to generate the query plan but how to
interplate the query plan, really?  The only thing I
know is if there is a FULL TABLE SCAN, that most
probably is bad, need to build an index.  However, if
the query plan shows me something else, I don't know
what to improve.

For example, does the following look good???  (this is
just one example, please throw me any idad you can
think of.  Thank you!)

Query Plan
-----------------------------------------------------------------------
SELECT STATEMENT   cost=
  NESTED LOOPS OUTER
    NESTED LOOPS OUTER
      NESTED LOOPS OUTER
        NESTED LOOPS OUTER
          TABLE ACCESS BY INDEX ROWID
CUSTOMER_ACCOUNT_CONTACTS
            INDEX RANGE SCAN
CUSTOMER_ACCOUNT_CONTACTS_1
          TABLE ACCESS BY INDEX ROWID PHONE
            INDEX UNIQUE SCAN PK_PHONE
        TABLE ACCESS BY INDEX ROWID PHONE
          INDEX UNIQUE SCAN PK_PHONE
      TABLE ACCESS BY INDEX ROWID PHONE
        INDEX UNIQUE SCAN PK_PHONE
    TABLE ACCESS BY INDEX ROWID PHONE
      INDEX UNIQUE SCAN PK_PHONE

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Janet Linsy
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to