warning when loading database

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
arun@sinmax
Premium Member
Premium Member
Posts: 13
Joined: Tue Jun 14, 2005 6:25 am

warning when loading database

Post by arun@sinmax »

Hi all
when i try to load 1000000 rows into oracle database through DRDBMS stage i am getting the following warning. and also only 44000 rows alone got inserted into the table.
TGT_CTY,0: Warning: TGT_CTY: ORA-01562: failed to extend rollback segment number 5
ORA-01562: failed to extend rollback segment number 5

kindly help me

regards
arun
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Arun,

this is a common error when your database is not set up for the type and size of job you are running. You should talk to your DBA about the rollback space set up for Oracle.

A quick workaround is to increase your commit frequency in your DataStage job; but if you feel that it is set to good size then your DBA will need to allocate more space.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You are trying to force Oracle to "remember" too many before-images by creating such a large transaction. Your Oracle DBA will explain what caused this error. As Arnd posted, either use smaller transactions or larger/more rollback segments. Search the forum; this has happened to others in the past.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
aramachandra
Participant
Posts: 55
Joined: Tue Sep 20, 2005 10:58 am

Post by aramachandra »

Please boot me if this is a hijacking of the topic... but on a related to note, i would like to clarify that if


In using the oracle stages in parellel jobs, if
one is using the LOAD TRUNCATE method, i.e any of the LOAD methods, there is no way to specify the commit size... , The $APT environment variables are specific to upserts...

So you have no choice but to request yourDBA to increase the rb segment or to limit your data size....

Any thoughts on if there is a way to specify the commit size when using the LOAD TRUNCATE/REPLACE methods?

Thanks
Arvind
Post Reply