To make matters worse, the process is completely hung now, being 100% CPU bound with zero I/O: ===================== PARSING IN CURSOR #33 len=761 dep=1 uid=105 oct=2 lid=105 tim=952209474 hv=1784939705 ad='e6f44c20' INSERT INTO part_usage_tmp SELECT ph.partno , DECODE(ph.warehouse,:"SYS_B_00",:"SYS_B_01",NULL,:"SYS_B_02", ph.warehouse) warehouse , ph.transqty FROM QT_PART_HISTORY_24_MONTHS ph , glxref gl WHERE ph.ACCOUNTNO = gl.ACCOUNTNO AND gl.ENTITY_CODE = :"SYS_B_03" AND ph.fiscal_year BETWEEN :"SYS_B_04" AND TO_NUMBER(TO_CHAR(TRUNC(SYSDATE), :"SYS_B_05")) AND TO_DATE(SUBSTR(TIME_STAMP,:"SYS_B_06",:"SYS_B_07"),:"SYS_B_08") BETWEEN :"SYS_B_09" AND LAST_DAY(ADD_MONTHS(TRUNC(SYSDATE),-:"SYS_B_10")) AND ph.transtype IN (:"SYS_B_11",:"SYS_B_12",:"SYS_B_13") AND gl.PRICELISTNO LIKE :"SYS_B_14" END OF STMT PARSE #33:c=0,e=0,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=0,tim=952209474 It's been sitting here now for 15 minutes (more?) in a tight CPU loop. Joy. Rich ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------