Lengthy Startup time and short run time

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
pavankvk
Participant
Posts: 202
Joined: Thu Dec 04, 2003 7:54 am

Lengthy Startup time and short run time

Post by pavankvk »

Hi

I have couple of jobs in my sequencer that are taking un usually high start up time( ~ 8 min) irrespective of number of records in the transaction.. the run time is very short say 20 secs etc..What could be the reason for this high start up time? The job is not complex..couple of look ups and a transformer with say 7 stage variables.

Please help!!

TIA
asorrell
Posts: 1707
Joined: Fri Apr 04, 2003 2:00 pm
Location: Colleyville, Texas

Post by asorrell »

Can't say - you didn't give enough info. First guess would be you are waiting on a response from the database. Even if the job only has to process 20 records, if the SQL statement is parsing a 10GB database to find those 20 records you are going to be waiting for a while.

If you want more than a guess, please post details including data sources and targets, SQL statements, and any commonality between the jobs that are affected.
Andy Sorrell
Certified DataStage Consultant
IBM Analytics Champion 2009 - 2020
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

And also define what you mean by "startup time". For the job to say that it is "started"? Or perhaps log the "Initiated" entry? For an initial query to start returing rows? What?
-craig

"You can never have too many knives" -- Logan Nine Fingers
pavankvk
Participant
Posts: 202
Joined: Thu Dec 04, 2003 7:54 am

Post by pavankvk »

chulett wrote:And also define what you mean by "startup time". For the job to say that it is "started"? Or perhaps log the "Initiated" entry? For an initial query to start returing rows? What? ...
I am seeing the log and thats where i get the startup time and run time..the job doesnt do anything. Its not reading from any huge database..just 2 look up tables with few hundreds of records, followed by a transformer with 7 stage variables..

The job doesnt kick of..in the log, the job starts..and takes a long time to show up message that Config file is loaded and then finishes quickly..No other job in the same sequencer behaves like this.
pavankvk
Participant
Posts: 202
Joined: Thu Dec 04, 2003 7:54 am

Post by pavankvk »

pavankvk wrote:
chulett wrote:And also define what you mean by "startup time". For the job to say that it is "started"? Or perhaps log the "Initiated" entry? For an initial query to start returing rows? What? ...
I am seeing the log and thats where i get the startup time and run time..the job doesnt do anything. Its not reading from any huge database..just 2 look up tables with few hundreds of records, followed by a transformer with 7 stage variables..

The job doesnt kick of..in the log, the job starts..and takes a long time to show up message that Config file is loaded and then finishes quickly..No other job in the same sequencer behaves like this.

This is what i see in the log.

Occurred: 11:02:02 AM On date: 5/22/2009 Type: Info
Event: main_program: orchgeneral: loaded (...)
Occurred: 11:10:04 AM On date: 5/22/2009 Type: Info
Event: main_program: APT configuration file: /opt/IBM/InformationServer/Server/Configurations/config.apt (...)

check the time diff..its 8 min.

Event: main_program: Startup time, 8:12; production run time, 0:28.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ah... didn't realize it actually (and officially) reported "Startup time" in the log, my bad. I wonder exactly what that all entails? It doesn't include anything 'before job', just checked and verified that.

I wonder if it would help at all to dump the score? Also, does this job use a different config file than the others, perhaps one stored in a different location? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Could you say something about the jobs that are taking a long time to start? How many nodes (and does startup time change if you add/remove nodes) and how many processes get started?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It might be useful to have the individual processes show their startup time, by setting APT_STARTUP_STATUS environment variable.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply