Question on Performance of Analytical Engine CASE function vs. DBMS CASE using Applysimple
For reporting off large tables that will join with security views, our data mart designs have the majority of transformations as pre-calculated fields that arestored in the fact tables. However, a few attribute groupings need to be handled within MSTR.
Although I have thought of contingency to add additional pre-calculated fields for these groupings, I am trying to address requirement without going that route. So I am considering options similar to these:
1) A pass through ... Applysimple ( "CASE WHEN LEFT(#0,1) in ('A', 'B','C','D','E','F') THEN 'Group A' WHEN LEFT(0#,1) in 'G','H','I','J','K','L','M')THEN 'Group B' ELSE '-' END", [PERSON_DESC] )
2) Equivalent Analytical Engine using internal function CASE.
While I believe the DB probably would have equal or better performance in evaluating the attribute in Select clause, I'm not sure about whether it is better is Group By.
Does anyone have advice regarding handling non-complex attribute transformations within MSTR, aka simple attribute groupings? I welcome any comments or suggestions.
Thanks. Rob
For reporting off large tables that will join with security views, our data mart designs have the majority of transformations as pre-calculated fields that arestored in the fact tables. However, a few attribute groupings need to be handled within MSTR.
Although I have thought of contingency to add additional pre-calculated fields for these groupings, I am trying to address requirement without going that route. So I am considering options similar to these:
1) A pass through ... Applysimple ( "CASE WHEN LEFT(#0,1) in ('A', 'B','C','D','E','F') THEN 'Group A' WHEN LEFT(0#,1) in 'G','H','I','J','K','L','M')THEN 'Group B' ELSE '-' END", [PERSON_DESC] )
2) Equivalent Analytical Engine using internal function CASE.
While I believe the DB probably would have equal or better performance in evaluating the attribute in Select clause, I'm not sure about whether it is better is Group By.
Does anyone have advice regarding handling non-complex attribute transformations within MSTR, aka simple attribute groupings? I welcome any comments or suggestions.
Thanks. Rob