Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> ??? how to interpret query plan

??? how to interpret query plan

From: Janet Linsy <janetlinsy_at_yahoo.com>
Date: Fri, 11 May 2001 14:49:09 -0700
Message-ID: <F001.003019BD.20010511145539@fatcity.com>

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: janetlinsy_at_yahoo.com
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: ListGuru_at_fatcity.com (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). Received on Fri May 11 2001 - 16:49:09 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US