DB2 logs

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
dsdevper
Premium Member
Premium Member
Posts: 86
Joined: Tue Aug 19, 2008 9:31 am

DB2 logs

Post by dsdevper »

My source and target are DB2

I have a job which is loading more than 10 million rows,i am using Clear table then insert rows in the target table,which is creating so many DB2 logs in the database. I have asked my DBA to turn of that or purge the logs which they are not intrested.

Is there any way in datastage to make the jobs not to create the logs in DB2 database..


Thanks.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No, since clearly you don't have the requisite privileges.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
MT
Premium Member
Premium Member
Posts: 198
Joined: Fri Mar 09, 2007 3:51 am

Post by MT »

Hi,

when you do a clear and insert in DataStage a SQL delete and SQL inserts (one per row) are sent to the database. The database has to do the logging for transaction purposes (to be able to rollback).
This all work like desinged and is good though.

What you want to do is to Use Commitcount or the load utility - the load wirtes data direct to the disks - not by SQL - and therefor is not logged (but other mechanisms apply).
Ask your DBA

kind regards
Michael
Post Reply