Hi Team,
I have one question in ordering a dimension when creating a cube ?
Dimensions are : Subsidiries , Versions, and ,Year ,and Measure dimensions.
I am ordering it in : 1) Subsidiries 2) Year 3) Versions 4) Measures
it it OK if i order it in this way, if not can you give me the correct order and explination why we need to give in that order.
Regards
Ashok
Ordering Dimensio in a Cube
-
- Posts: 32
- Joined: Fri May 27, 2011 9:06 am
- OLAP Product: TM1
- Version: 9.4
- Excel Version: 2003
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Ordering Dimensio in a Cube
There is no "correct" order for how dimensions should be listed in a cube. There used to be before TM1 added the dimension re-ordering function but now that is moot. Put them in the order you want and then let TM1 decide the best order for performance after the fact.
-
- MVP
- Posts: 263
- Joined: Fri Jun 27, 2008 12:15 am
- OLAP Product: Cognos TM1, CX
- Version: 9.0 and up
- Excel Version: 2007 and up
Re: Ordering Dimensio in a Cube
Hi
There is a correct/mandatory order if you are using String elements in one of the dimensions - said dimension needs to be the last in the cube.
Also, and I haven't tested this in 9.5 and think the last time I have seen it happen was in a 9.4(.3?) version, you should not have more than one dimension with string elements in the same cube. Whenever I tried to browse one of those 'double string dim' cubes the server spit the dummy. Please check the documentation on this and it is really beside the question of correct order.
As for 'let TM1 decide the best order'... I personally don't trust the suggested order and have found many examples where I was able to still gain more than 30% improvement by manually setting the order after TM1 'said' this is the best order.
Cheers
There is a correct/mandatory order if you are using String elements in one of the dimensions - said dimension needs to be the last in the cube.
Also, and I haven't tested this in 9.5 and think the last time I have seen it happen was in a 9.4(.3?) version, you should not have more than one dimension with string elements in the same cube. Whenever I tried to browse one of those 'double string dim' cubes the server spit the dummy. Please check the documentation on this and it is really beside the question of correct order.
As for 'let TM1 decide the best order'... I personally don't trust the suggested order and have found many examples where I was able to still gain more than 30% improvement by manually setting the order after TM1 'said' this is the best order.
Cheers
-
- MVP
- Posts: 733
- Joined: Wed May 14, 2008 11:06 pm
Re: Ordering Dimensio in a Cube
Over time, there has been a combination of vendor advice and user/ developer experience (anecdotal or otherwise) to show that there are various different optimisation strategies that can be employed - predominantly, staging the dimensions from sparse to dense can realise a saving in memory footprint and you may experience a performance improvement. I'm not saying don't try it, but TM1's internal re-ordering function is not always consistent with this, and other strategies, and it is certainly not the end of the matter.tomok wrote:There is no "correct" order for how dimensions should be listed in a cube. There used to be before TM1 added the dimension re-ordering function but now that is moot. Put them in the order you want and then let TM1 decide the best order for performance after the fact.
Robin Mackenzie
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Ordering Dimensio in a Cube
The internal re-ordering routine only works if your cube is populated to the same extent it would be in production. Just building it, and running the re-ordering process in an empty cube will not produce consistent results. The routine has never really produced significant savings for me because I always build my cubes going small-sparse to large-dense out of habit. However, there have been instances where it does produce savings. I always put my dimensions in the same order over all the cubes in my models, for user consistency sake, even when that violates the small-sparse to large-dense mantra. The re-ordering helps in those instances. Of course, YMMV.
-
- MVP
- Posts: 3701
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Ordering Dimensio in a Cube
I think the point that Gregor and Robin were making is that the dimension order suggested by TM1 is in fact only very rarely the real bona fide optimal order and it is possible to gain much better memory footprint saving and performance gain by setting the order manually or using other tools which actually do always arrive at the optimal order.tomok wrote:The internal re-ordering routine only works if your cube is populated to the same extent it would be in production. Just building it, and running the re-ordering process in an empty cube will not produce consistent results. The routine has never really produced significant savings for me because I always build my cubes going small-sparse to large-dense out of habit. However, there have been instances where it does produce savings. I always put my dimensions in the same order over all the cubes in my models, for user consistency sake, even when that violates the small-sparse to large-dense mantra. The re-ordering helps in those instances. Of course, YMMV.