A Datastage Job creating an Issue to the entire 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
Ratan Babu N
Participant
Posts: 34
Joined: Tue Dec 27, 2005 12:13 am

A Datastage Job creating an Issue to the entire Database

Post by Ratan Babu N »

Hi,
In my Job, I am using two datasets and then Funneling it by a Funnel stage (Funnel Type --- Continous Funnel) and then inserting it into a Db2 Table by using a User defined Update (Giving Insert Staement in User defined Update). Partioning type is Db2.

The Job is running on 4 nodes and one dataset is carrying around 5000 records and the other is carrying 0 records.

Row Commit Interval is 999999

Array Size 999999

The Job is Aborting and the entire database is geeting down because of this Job. Can a Single Job create an Issue to entire Database?
Plz help me to know whats the wrong thing in this Job.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Could you specify exactly what you mean when
the entire database is geeting down because of this Job
? The only possible issue I know is when using the load method you might get the table, and perhaps the tablespace, into a "load pending" or "backup pending" state.
Ratan Babu N
Participant
Posts: 34
Joined: Tue Dec 27, 2005 12:13 am

Post by Ratan Babu N »

The Dba is telling that Swap space is more for this Job.

And one more thing is, I gave the output link of a Funnel stage to a Db2 stage. Can it create any problem.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Can you see the possible link between your commit size in the job and the error? If you change your commit frequency down to 50,000 does the error go away (or happen at another point)?
Ratan Babu N
Participant
Posts: 34
Joined: Tue Dec 27, 2005 12:13 am

Post by Ratan Babu N »

The message I got is as follows.

main_program: ORCHESTRATE step execution terminating due to SIGINT

So the message is not relted to the Rowcommit interval, right?
If we give a high Row Commit Interval, will it affect ?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

How about approaching your problem one issue at a time. Start with the DB error(s) and see if you still have your job problem. You still haven't shown us an actual error that is locking or stopping the database, just that swap space is full (which isn't a DB/2 issue but a UNIX issue).
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Start with one row per transaction. This should work.
Increase it to 1000. This should work also, since DB2 can easily handle 1000 row transactions.

Ask your DBA whether the database can handle a transaction containing 1 crore records, and be prepared to run for cover!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Ratan Babu N
Participant
Posts: 34
Joined: Tue Dec 27, 2005 12:13 am

Post by Ratan Babu N »

[Ask your DBA whether the database can handle a transaction containing 1 crore records, and be prepared to run for cover![/quote]

The Transaction handling depends on the table or the entire database?

If it depends on entire database, then some Jobs are running successfully with transaction containing more than 1 crore records.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

DB/2 has a given amount of space tablespace wide for these transactions, so the number of rows is less important than the size of that data in each row.
Ratan Babu N
Participant
Posts: 34
Joined: Tue Dec 27, 2005 12:13 am

Post by Ratan Babu N »

Hi Thankyou Andrw and Ray. The Issue is resolved . the Database is not able to handle 999999 Array Size which causes my problem
Post Reply