Page 1 of 1

Filter versus transformer

Posted: Thu Nov 05, 2009 12:04 pm
by swerajan
Hi,
I need to filter records based on some conditions to three different path. Which is the best stage to use, is it the transformer or the filter?? The data input that we handle is around 4 million.

Re: Filter versus transformer

Posted: Thu Nov 05, 2009 12:17 pm
by divesh
I prefer doing thru the transformer. In the new version greater tha 8, there is no filter stage.

Re: Filter versus transformer

Posted: Thu Nov 05, 2009 1:36 pm
by Kryt0n
divesh wrote:In the new version greater tha 8, there is no filter stage.
Say what? Maybe in 8.2 but it's certainly there in 8.1.
And why would they take it out? Are there issues with it?

To original poster, try both, take the one that suits best, not as though it is a tough requirement with a large lead time...

Posted: Thu Nov 05, 2009 2:19 pm
by ray.wurlod
The Filter stage is in all 8.x versions.

Current advice from IBM is that the Transformer stage is to be preferred to the Filter or Switch stages, because the Transformer stage (nowadays) is compiled, while the other two are interpreted.

Switch Stage

Posted: Fri Sep 17, 2010 12:53 am
by Magesh_bala
Hi All, In my project we have million's data to filter out based on condition. could you please suggest me which is the best stage to use, Performance wise should be efficient. Transformer/Fillter/Switch. Thanks in advance.

Posted: Fri Sep 17, 2010 2:29 am
by Magesh_bala
Thanks for that, Stilll I am wondering to differentiate between Advantages of Transformer stage in version 8 with Filter and Switch stage.

Posted: Fri Sep 17, 2010 3:21 am
by PhilHibbs
Magesh_bala wrote:Thanks for that, Stilll I am wondering to differentiate between Advantages of Transformer stage in version 8 with Filter and Switch stage.
I think the processing of the SQL WHERE clause style condition in a Filter stage is less efficient than processing a compiled Transformer expression.