Page 1 of 1

Multiple jobs inserting data to single oracle table

Posted: Thu May 13, 2010 8:23 am
by Sreenivasulu
Hi All,

Using SSIS we can insert data to a single table by running multiple jobs concurrently.


I have set a jobs which insert data to a single staging table in oracle (no primary keys present in this table)
I am getting deadlock issues when i run multiple jobs concurrently.
Any suggestions on this ?


Regards
Sreeni

Re: Multiple jobs inserting data to single oracle table

Posted: Thu May 13, 2010 8:34 am
by swarnkar
Sreenivasulu wrote: I am getting deadlock issues when i run multiple jobs concurrently.
Hi,

Datstage is just another user to oracle, I mean if you can do any database activity through SQL+ client, you can do the same through datastage(keeping both Users same).

So if you are facing deadlock issue, it means its a issue with database not Datastage.

So investigae on Database side.

Thanks,
Nitin Swarnkar

Posted: Thu May 13, 2010 9:02 am
by Sainath.Srinivasan
Maybe it is doing a table level lock rather than row level.

Check with your DBA to identify the sessions and the corresponding data.

Posted: Thu May 13, 2010 9:31 am
by Sreenivasulu
Has any of you come across this issue earlier ?

Thanks sainath. I will look into this from DBA whether its a rowlevel lock or table level lock which is getting created.


Regards
Sreeni

Posted: Thu May 13, 2010 12:44 pm
by nagarjuna
There may be possibility of getting into deadlock even while inserting concurrently . This may be true even if its a row level lock .In those cases , check INITRANS parameter in database and increase the value to number of nodes .Let us know if it helps .

Posted: Fri May 14, 2010 6:21 am
by chulett
Talk to your DBA, the exact nature of the data and the type of "multiple loads" will play into causing this problem.