Trigger for Control Objects to Update

Post Reply
User avatar
Eric
MVP
Posts: 373
Joined: Wed May 14, 2008 1:21 pm
OLAP Product: TM1
Version: 9.4
Excel Version: 2003
Location: Chicago, IL USA

Trigger for Control Objects to Update

Post by Eric »

Here is the situation.

I placed holds on a cube that did not have any holds before. As you all know this creates a new cube }Hold_User_Cube. I wanted to see how much memory the holds were requiring. So I went into }StatsbyCube to take a look, but the element }Hold_User_Cube did not exist. I disconnected and reconnected to the server and still nothing.

Can I do something update this DIM or can someone let me know what has to happen to trigger the DIM to update?

TIA
Regards,
Eric
Blog: http://tm1-tipz.blogspot.com
Articles: http://www.google.com/reader/shared/use ... /label/TM1


Production: 32 bit 9.0 SP2, Windows 2000 Advanced Server. Web: 32 bit 9.0 SP2, Windows 2000 Server. Excel 2003
Alan Kirk
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: Trigger for Control Objects to Update

Post by Alan Kirk »

Eric wrote:Here is the situation.

I placed holds on a cube that did not have any holds before. As you all know this creates a new cube }Hold_User_Cube. I wanted to see how much memory the holds were requiring. So I went into }StatsbyCube to take a look, but the element }Hold_User_Cube did not exist. I disconnected and reconnected to the server and still nothing.

Can I do something update this DIM or can someone let me know what has to happen to trigger the DIM to update?
Looks like it requires a server reboot; the dim is presumably only updated on server load. (Or possibly on manual creation of a new data cube; I haven't tested that.)

I created a hold cube for our Training cube, but couldn't get the dim to update to show it no matter what; not after a data save, not after repeated refreshes of the dimension, not after logging off and back on.

Then a little while later our server had some kind of memory trauma, the {bleeping} piece of {bleep}.

Anyway, when I brought the server back up the hold cube was in the dimension.
"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.
Alan Kirk
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: Trigger for Control Objects to Update

Post by Alan Kirk »

Alan Kirk wrote:
Eric wrote:Here is the situation.

I placed holds on a cube that did not have any holds before. As you all know this creates a new cube }Hold_User_Cube. I wanted to see how much memory the holds were requiring. So I went into }StatsbyCube to take a look, but the element }Hold_User_Cube did not exist. I disconnected and reconnected to the server and still nothing.

Can I do something update this DIM or can someone let me know what has to happen to trigger the DIM to update?
Looks like it requires a server reboot; the dim is presumably only updated on server load. (Or possibly on manual creation of a new data cube; I haven't tested that.)
It appears that I have to modify that answer for later versions.

What I described in the earlier post was of course from 8.2.12. After the server was restarted, the Hold cube was in the dimension.

However by 9.1 SP4, it appears (and this does indeed make sense when you think about it) that the server does a little housekeeping when you take it down and restart it. Specifically, it deletes any holds when the server is rebooted. (Actually I just found where this behaviour started; it's mentioned as fix 270567 in the 8.3.1 release notes.)

However the hold cube still doesn't appear in the }PerfCubes dimension when it's created, and nor do any manually created cubes. In the case of the latter cubes, it still takes a server bounce subject to my comments below.

That means that a hold cube will NEVER appear in the }PerfCubes dimension unless you modify that dimension manually. And since you can't manually modify a system dim using the dimension editor (as far as I can tell; the option's certainly not available when you right click), you'd need to create an .xdi.

Now I did that (in a test system obviously), and I got numbers for the Hold cube after I did that.

But is hacking a system dim with an .xdi something that I'd recommend in a production system?

Probably not.

Also, the }PerfCubes dimension is regenerated when you start the server, so if you did go down the .xdi path you'd need to do it after evvvvery restart.
"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
Eric
MVP
Posts: 373
Joined: Wed May 14, 2008 1:21 pm
OLAP Product: TM1
Version: 9.4
Excel Version: 2003
Location: Chicago, IL USA

Re: Trigger for Control Objects to Update

Post by Eric »

That is what I thought ....grrr
Regards,
Eric
Blog: http://tm1-tipz.blogspot.com
Articles: http://www.google.com/reader/shared/use ... /label/TM1


Production: 32 bit 9.0 SP2, Windows 2000 Advanced Server. Web: 32 bit 9.0 SP2, Windows 2000 Server. Excel 2003
User avatar
Steve Vincent
Site Admin
Posts: 1054
Joined: Mon May 12, 2008 8:33 am
OLAP Product: TM1
Version: 10.2.2 FP1
Excel Version: 2010
Location: UK

Re: Trigger for Control Objects to Update

Post by Steve Vincent »

Grr yes, but it saves it from recording stats on objects the user has no control over, so in *theory* the user shouldn't be bothered about them. In theory...
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
Post Reply