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

Home -> Community -> Mailing Lists -> Oracle-L -> Why Multiple Parses in Trace ?

Why Multiple Parses in Trace ?

From: VIVEK_SHARMA <VIVEK_SHARMA_at_infosys.com>
Date: Mon, 22 Jul 2002 05:03:21 -0800
Message-ID: <F001.0049D964.20020722050321@fatcity.com>

Qs Why is Parse = 2 in the following Query ?

Solaris 8
Oracle 8.1.7
SGA = 60 MB
shared_pool_size = 30 MB


select mesg, lchg_user_id, TO_CHAR(lchg_time,'DD-MM-YYYY HH24:MI:SS'),   rcre_user_id, TO_CHAR(rcre_time,'DD-MM-YYYY HH24:MI:SS'), tran_id,   TO_CHAR(tran_date,'DD-MM-YYYY HH24:MI:SS'), NVL(ts_cnt,0), sol_id,   contra_acid, tran_amt||'!'||tran_crncy_code, TO_CHAR(value_date,'DD-MM-YYYY   HH24:MI:SS'), tran_crncy_code, central_or_local_code, req_advc_ind,   sys_gen_flg, rowid
FROM
 TBA_REF_TRN_TBL WHERE cmd = :1 AND cust_or_card_id = :2 AND   system_date_time = TO_DATE( :3 ,'DD-MM-YYYY HH24:MI:SS') AND dcc_id = :4    AND sno = :5

call count cpu elapsed disk query current rows ------- ------ -------- ---------- ---------- ---------- ---------- ----------

Parse        2      0.06       0.07          1          0          1           0
Execute      2      0.00       0.00          0          0          0           0
Fetch        2      0.00       0.02          3          6          0           0
------- ------  -------- ---------- ---------- ---------- ----------  ----------
total        6      0.06       0.09          4          6          1           0

Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 40 (TBAGEN)

Rows Row Source Operation

-------  ---------------------------------------------------
      0  TABLE ACCESS BY INDEX ROWID REF_TRN_TBL
      1   INDEX UNIQUE SCAN (object id 6561)



Rows     Execution Plan
-------  ---------------------------------------------------
      0  SELECT STATEMENT   GOAL: CHOOSE
      0   TABLE ACCESS (BY INDEX ROWID) OF 'REF_TRN_TBL'
      1    INDEX (UNIQUE SCAN) OF 'IDX_REF_TRN_TBL' (UNIQUE)

********************************************************************************

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: VIVEK_SHARMA
  INET: VIVEK_SHARMA_at_infosys.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 Mon Jul 22 2002 - 08:03:21 CDT

Original text of this message

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