Same cubes, but different memory usage

Post Reply
jaudouig
Posts: 10
Joined: Fri Jan 11, 2013 4:48 am
OLAP Product: TM1, Transformer
Version: TM1 9.5
Excel Version: 2007

Same cubes, but different memory usage

Post by jaudouig »

Hi all,
I have 2 cubes on two different TM1 instances on a same server.
To me they are identical cubes. The data is the same on both cubes. Same number and order of dimension.

However, one of the cubes takes much more memory when loading and much more time to update.
Logging is inactive on both instances.
The parameters on both Tm1s are the same.

Any idea on where to investigate where difference lies?

Thanks
lotsaram
MVP
Posts: 3702
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Same cubes, but different memory usage

Post by lotsaram »

Has one of the cubes been "optimized" that is has the internal dimension order been changed?
Alan Kirk
Site Admin
Posts: 6647
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: Same cubes, but different memory usage

Post by Alan Kirk »

jaudouig wrote: I have 2 cubes on two different TM1 instances on a same server.
To me they are identical cubes. The data is the same on both cubes. Same number and order of dimension.
You know (as opposed to assume) that they are identical because....? What I'm getting at is, did you copy exactly the same .cub file from one data directory to another? Come to that, are the two .cub files EXACTLY the same size?

(I was also going to ask whether one of the cubes had had its dimensions re-ordered but Lotsaram beat me to that one. That's a highly relevant question as well.)
jaudouig wrote:However, one of the cubes takes much more memory when loading
OK, but you are getting the memory usage for the cube (as opposed to the server session within Windows, which is a completely different matter) from where? Also, is Performance Monitor turned on in both sessions? If so, what does the breakdown of memory usage for each cube show in the }StatsByCube cube after startup?
jaudouig wrote:and much more time to update.
Logging is inactive on both instances.
Logging shouldn't have anything to do with load time unless a server goes down without a data save and has to reload a cube's data from the log file. Persistent feeders might though. Which means that:
jaudouig wrote: The parameters on both Tm1s are the same.
Have you confirmed this using a tool like WinMerge, or just eyeballed it? Used to be in the olden days when .cfg files had but a few lines it would be safe to do the latter. These days with the files tending toward obesity it's really easy to miss a T in one place that is an F in the other so it's best to do an automated check.
"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.
User avatar
Harvey
Community Contributor
Posts: 236
Joined: Mon Aug 04, 2008 4:43 am
OLAP Product: PA, TM1, CX, Palo
Version: TM1 8.3 onwards
Excel Version: 2003 onwards
Contact:

Re: Same cubes, but different memory usage

Post by Harvey »

The answer, my dear Watson, is that the two cubes cannot be identical. You are just currently unable to see in which ways they differ.
Take your TM1 experience to the next level - TM1Innovators.net
Duncan P
MVP
Posts: 600
Joined: Wed Aug 17, 2011 1:19 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2
Excel Version: 2003 2007
Location: York, UK

Re: Same cubes, but different memory usage

Post by Duncan P »

I shouldn't have to ask this but does the cube have a rule, and if so does it make reference to other cubes? This is relevant whether the references are in the calcs section or in the feeders section.

Are the dimensions identical in the two servers, and are the attributes of the dimensions identical?

If there is a rule with external references then is the cube load order, and the feeder processing order the same?
Post Reply