
SITUATION:
Simple dimension, no levels, full of about 3500 elements. Subset created called "nodal" using MDX that looks like
Code: Select all
{TM1FILTERBYLEVEL( {TM1SORT( {TM1SUBSETALL( [Organisation Breakdown] )}, ASC)}, 0)}
Using this subset as a source for a TI, there is a single line of code in the metadata to add the value "X" to an attribute for every value. It takes nearly 4 minutes to complete.
If i do the same test to an exact copy of the subset but with no MDX, it takes less than a second to run. Logging is not on for the attributes cube and in 9.5 neither is the audit logging.
The part i don't understand is when you change the metadata to manipulate a subset rather than changing data. In both cases then the process runs near instantly. Why is the combination of changing data values using an MDX based subset so much slower? As a result i've had to re-write some processes 20/30 times as i've tried to debug the speed issues, thinking they were my fault rather than TM1's. They now have to create multiple dummy subsets based on the MDX versions, simply so i can use them to do the data manipulation. Simple & Succinct they are not
