Database Sequencer and DB2EE Stage

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
kaps
Participant
Posts: 452
Joined: Tue May 10, 2005 12:36 pm

Database Sequencer and DB2EE Stage

Post by kaps »

Hi

I read from a Seq file and do a lookup to database to get the nextval from the DB2 sequencer using DB2UDB/Enterprise Stage and write the output to a Dataset. I have a constant value on both sides of the join to join. EE stage returns the same number for all the records as a nextval. I have tried changing the Partitioning to different types but getting the same result.

This works with normal DB2API stage but it takes quite a while when the volume is high like in millions. What am I doing wrong ? I was not sure if the EE stage will make a differnece in performance but still want to try and understand it....

Job Design is:

Code: Select all

	    DB2_EE_stage 
		        | 
		        |
		        |
		        |
SeqFile----->Join Stage----->DataSet
Appreciate your time...

Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Fixed your job design for you - you need to use code tags not quote tags to preserve whitespace.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kaps
Participant
Posts: 452
Joined: Tue May 10, 2005 12:36 pm

Post by kaps »

Thanks Craig...I will remember that...Any Idea on the actual Issue ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If I did I would have posted it. Maybe later when I have some spare time to ponder it...
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply