in reply to Re: Excessive execution time passing parameters to Oracle
in thread Excessive execution time passing parameters to Oracle

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.