Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Excessive execution time passing parameters to Oracle

by ozone (Friar)
on Sep 25, 2006 at 11:50 UTC ( #574719=note: print w/replies, xml ) Need Help??


in reply to Excessive execution time passing parameters to Oracle

One possible explanation. If not, you'll have to try out explain plan with the hard-coded values and with the bound values, with auto-trace on - you will probably find some difference in Oracle's behaviour.

Essesntially, I'm saying that it's unlikely to be a Perl problem

  • Comment on Re: Excessive execution time passing parameters to Oracle

Replies are listed 'Best First'.
Re^2: Excessive execution time passing parameters to Oracle
by Anonymous Monk on Sep 26, 2006 at 09:59 UTC
    Thank you very much Ozone, the problem looks similar
    but I am unable to get the solution.
    Could you please elaborate it more
    This is my explain plan with with the hard-coded values
    SELECT STATEMENT Optimizer=CHOOSE (Cost=3541 Card=2 Bytes=874) SORT (ORDER BY) (Cost=3541 Card=2 Bytes=874) CONCATENATION NESTED LOOPS (Cost=1775 Card=1 Bytes=437) NESTED LOOPS (Cost=1774 Card=1 Bytes=324) NESTED LOOPS (Cost=1773 Card=1 Bytes=236) NESTED LOOPS (Cost=1772 Card=1 Bytes=190) TABLE ACCESS (BY INDEX ROWID) OF UCSII_UNIT (Cost=1736 C +ard=117 Bytes=9243) INDEX (RANGE SCAN) OF XIE1UCSII_UNIT (NON-UNIQUE) (Cos +t=879 Card=117) TABLE ACCESS (BY INDEX ROWID) OF UCSI_ITEM (Cost=1 Card= +1829857 Bytes=203114127) INDEX (UNIQUE SCAN) OF XPKUCSI_ITEM (UNIQUE) (Cost=2 C +ard=1829857) INDEX (UNIQUE SCAN) OF XPKUCS_INV (UNIQUE) (Cost=1 Card=55 +8346 Bytes=25683916) TABLE ACCESS (BY INDEX ROWID) OF ULT_CUST_SALE (Cost=1 Card= +60595 Bytes=5332360) INDEX (UNIQUE SCAN) OF XPKULT_CUST_SALE (UNIQUE) (Cost=1 C +ard=60595) TABLE ACCESS (BY INDEX ROWID) OF ULT_CUST_MASTER (Cost=1 Card= +115517 Bytes=13053421) INDEX (UNIQUE SCAN) OF SYS_C0017576 (UNIQUE) (Cost=1 Card=11 +5517) NESTED LOOPS (Cost=1775 Card=1 Bytes=437) NESTED LOOPS (Cost=1774 Card=1 Bytes=324) NESTED LOOPS (Cost=1773 Card=1 Bytes=236) NESTED LOOPS (Cost=1772 Card=1 Bytes=190) TABLE ACCESS (BY INDEX ROWID) OF UCSII_UNIT (Cost=1736 C +ard=117 Bytes=9243) INDEX (RANGE SCAN) OF XIE1UCSII_UNIT (NON-UNIQUE) (Cos +t=879 Card=117) TABLE ACCESS (BY INDEX ROWID) OF UCSI_ITEM (Cost=1 Card= +1829857 Bytes=203114127) INDEX (UNIQUE SCAN) OF XPKUCSI_ITEM (UNIQUE) (Cost=2 C +ard=1829857) INDEX (UNIQUE SCAN) OF XPKUCS_INV (UNIQUE) (Cost=1 Card=55 +8346 Bytes=25683916) TABLE ACCESS (BY INDEX ROWID) OF ULT_CUST_SALE (Cost=1 Card= +60595 Bytes=5332360) INDEX (UNIQUE SCAN) OF XPKULT_CUST_SALE (UNIQUE) (Cost=1 C +ard=60595) TABLE ACCESS (BY INDEX ROWID) OF ULT_CUST_MASTER (Cost=1 Card= +115517 Bytes=13053421) INDEX (UNIQUE SCAN) OF SYS_C0017576 (UNIQUE) (Cost=1 Card=11 +5517)
    Please reply.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://574719]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2022-05-28 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (99 votes). Check out past polls.

    Notices?