Page 1 of 1

Oracle process continue even after the jobs are stopped

Posted: Wed Dec 10, 2008 7:23 am
by vintipa
hi friends,

Even after the jobs are stopped the query executed by the jobs
carry on and utilize CPU resources. Any option in Datastge to ensure all the processes end when jobs are stopped?

Posted: Wed Dec 10, 2008 8:59 am
by chulett
If by "stopped" you mean using the Stop button while the job is running, yes - that can happen. I only do that when the sql is actively delivering rows, if it is still "building the cursor" then you'll have issues, best to have a DBA kill the Oracle SID in that case.

Posted: Thu Dec 11, 2008 12:58 am
by Sathishkumarins
If you are running a job with high volume of data and when you stop the job may be the oracle might try to commit those rows. So the query might still run. In that case you can't avoid that.

Posted: Thu Dec 11, 2008 2:36 am
by ray.wurlod
... short of killing the Oracle session.

Posted: Thu Dec 11, 2008 7:54 am
by chulett
Yup. While Oracle may not notice you stopping the job, DataStage will notice you killing the Oracle session. :wink: