Page 1 of 1

Calculating the Number of Populated Cells within a Cube?

Posted: Tue Dec 02, 2008 9:14 am
by Declanrodger
Currently in the process of Archiving data and have simply been using a process that does a simple CellGetN and CellPutN from a current cube to its archive version. This however has resulted in problems with some of the larger cubes process' being ridiculously large and crashing the service, for the ones that do this i break the process up by only selecting a handful of elements from one of the dimensions at a time.
I was wondering however if there is a process or similar way anyone knows of that will list the number of populated cells in a cube so i can have a prior idea of which processes need splitting and how many times?

Re: Calculating the Number of Populated Cells within a Cube?

Posted: Tue Dec 02, 2008 9:43 am
by bihints.com
Enable the Performance Monitor, you can then look at the }StatsByCube cube that contains the number of populated cells for each cube.

Re: Calculating the Number of Populated Cells within a Cube?

Posted: Tue Dec 02, 2008 9:51 am
by Declanrodger
Ok, Thanks for that.

Re: Calculating the Number of Populated Cells within a Cube?

Posted: Tue Dec 02, 2008 11:46 am
by bskalli
How kann i Enable the Performance Monitor ?

Re: Calculating the Number of Populated Cells within a Cube?

Posted: Tue Dec 02, 2008 11:58 am
by bihints.com
in Server Explorer, right click the server -> Start Performance Monitor

or add this line in your tm1s.cfg to get it to start by default with your server:

Code: Select all

PerformanceMonitorOn=T

Re: Calculating the Number of Populated Cells within a Cube?

Posted: Tue Dec 02, 2008 1:15 pm
by bskalli
Thank you

Re: Calculating the Number of Populated Cells within a Cube?

Posted: Wed Dec 03, 2008 1:01 am
by ScottW
If the performance monitor is on then make sure to turn logging off for the }Stats cubes. If the performance monitor runs for any length of time then the log files will get very very large if cube logging is left on.