perrformance issues using transformer

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
pgkumar
Participant
Posts: 2
Joined: Wed Mar 07, 2007 4:38 am

perrformance issues using transformer

Post by pgkumar »

Hi

Our best prastices make us use builops instered of transformer stage even for trimimg of spaces. Please let me know whether builops are very efficient than transformer stage in all the cases?
Can you give some senarios where transformer performs well than builtops.

Thanks in advance
Regards,
Varun
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Hi Varun,
Welcome to Dsxchange :D !!!
Its not true for all the cases. Ray has mentioned in one post that, IBM has announced that performance of Transformer stage is quiet superior that a Filter stage for some cases. So it would be easy to find the results by yourself. Construct two jobs, one which uses the transformer and other uses the Buildops. And dont forget to post the result here. :wink:
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
pgkumar
Participant
Posts: 2
Joined: Wed Mar 07, 2007 4:38 am

Post by pgkumar »

Thanks Kumar

I will try it out post the same here

Cheers,
Varun
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The transition point is version 7.1; it's in this version that IBM claim to have enhanced performance of the Transformer stage.

So, how good is your C++ compared to theirs? You can view the generated C++ if you wish; it's in a subdirectory called RT_SCnnnn, where nnnn is the job number. (RT_SC = runtime source code.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Performance is a relative term. A job that runs for half an hour in a 9 hour time window might be considered efficient where as a job that runs for 5 mins in a 10 min time window, might not. A build op for everything, as little a work as trimming is, IMHO, to much extra work. If that were the case I'd trim the fields in the database stage itself. If it were a flat file, I'd use a filter command command.
Transformers are good. Use 'em. Not to go against your in-house standards but if you can change them for ease of maintenance, go for it.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The Modify stage also has a string_trim() function. This may be faster than either the Transformer or the Build stage.
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