We got 2 big cubes,just named them cubeA & cubeB
cubeA's size is 23.04G, while cubeB's size is 18.41G.
cubeB has 6 dimensions in order for example:a,b,c,d,e,f.
cubeA has 7 dimensions a,b,c,d,e,f,g.
My question,it's so strange that when we load cubeB, it will cost about 20+G memory, however, when we load cubeA, it will terribly cost more than 60+G,or even 70+G. I am confused because the new dimension named g in cubeA is just a small dimension with only one element.
May I beg your help to give some suggestion? Any solusion to this terrible huge memory usage problem will be appreciated.
Thanks and regards,
Walter
HELP,memory usage when load cube
-
- Site Admin
- Posts: 6667
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: HELP,memory usage when load cube
Dimension order can make a huge difference to memory usage. As discussed in this thread, small dimensions should, as a rule of thumb, always go before large ones. I'd try reordering your dimensions in your development system; you'll almost certainly find a better dimension order with some trial and error.wuruimao wrote:We got 2 big cubes,just named them cubeA & cubeB
cubeA's size is 23.04G, while cubeB's size is 18.41G.
cubeB has 6 dimensions in order for example:a,b,c,d,e,f.
cubeA has 7 dimensions a,b,c,d,e,f,g.
My question,it's so strange that when we load cubeB, it will cost about 20+G memory, however, when we load cubeA, it will terribly cost more than 60+G,or even 70+G. I am confused because the new dimension named g in cubeA is just a small dimension with only one element.
May I beg your help to give some suggestion? Any solusion to this terrible huge memory usage problem will be appreciated.
That having been said... I'm not sure that I see the point of having a dimension with only one element. Every value will be stored against that single element which would appear to make it redundant.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
- Posts: 16
- Joined: Fri Sep 30, 2011 5:17 am
- OLAP Product: tm1
- Version: 9.6
- Excel Version: 2003
Re: HELP,memory usage when load cube
Thank you for your opinion very much.Alan Kirk wrote:Dimension order can make a huge difference to memory usage. As discussed in this thread, small dimensions should, as a rule of thumb, always go before large ones. I'd try reordering your dimensions in your development system; you'll almost certainly find a better dimension order with some trial and error.wuruimao wrote:We got 2 big cubes,just named them cubeA & cubeB
cubeA's size is 23.04G, while cubeB's size is 18.41G.
cubeB has 6 dimensions in order for example:a,b,c,d,e,f.
cubeA has 7 dimensions a,b,c,d,e,f,g.
My question,it's so strange that when we load cubeB, it will cost about 20+G memory, however, when we load cubeA, it will terribly cost more than 60+G,or even 70+G. I am confused because the new dimension named g in cubeA is just a small dimension with only one element.
May I beg your help to give some suggestion? Any solusion to this terrible huge memory usage problem will be appreciated.
That having been said... I'm not sure that I see the point of having a dimension with only one element. Every value will be stored against that single element which would appear to make it redundant.
Yes I am trying to reorder the dimensions and test the memory usage. It will take much time to test once. Actually i should reorder dimensions to make the small ones gone before large ones.
For the dimension with only one element, I think it's for the easy extention of our product.Actually it make sense.
-
- Site Admin
- Posts: 6667
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: HELP,memory usage when load cube
It will, but it's worth the effort in the long run.wuruimao wrote:Thank you for your opinion very much.Alan Kirk wrote: That having been said... I'm not sure that I see the point of having a dimension with only one element. Every value will be stored against that single element which would appear to make it redundant.
Yes I am trying to reorder the dimensions and test the memory usage. It will take much time to test once.
That's a rule of thumb but it's right more often than it's wrong. Element density will play a part as well and obviously this one will be as dense as it's possible to be. What the effect of that fact is on your optimal dimension order is anyone's guess.wuruimao wrote:Actually i should reorder dimensions to make the small ones gone before large ones.
You may want to clarify what you mean there; odds are that someone can suggest a better workaround unless you simply mean that you plan to use it for future elements as well. I'd never say never to anything, but having a single element dimension is something that I'd try to avoid at all costs. The reason you've already found for yourself in the difference between the two cubes.wuruimao wrote:For the dimension with only one element, I think it's for the easy extention of our product.Actually it make sense.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
- Posts: 16
- Joined: Fri Sep 30, 2011 5:17 am
- OLAP Product: tm1
- Version: 9.6
- Excel Version: 2003
Re: HELP,memory usage when load cube
I am rather confused about the re-order test result.Alan Kirk wrote: That's a rule of thumb but it's right more often than it's wrong. Element density will play a part as well and obviously this one will be as dense as it's possible to be. What the effect of that fact is on your optimal dimension order is anyone's guess.
I remember in the re-order dimension interface, the percent change means the new order's memory usage compare to the old order's memory.
In the testing I got this result, 20228851.612903%..
It's rather special. It seems the re-order will save memory when the number is < 0. how ever I got this terrible result.