Length load time for attribute info

Post Reply
User avatar
John Hobson
Site Admin
Posts: 330
Joined: Sun May 11, 2008 4:58 pm
OLAP Product: Any
Version: 1.0
Excel Version: 2020
Location: Lytham UK
Contact:

Length load time for attribute info

Post by John Hobson »

Does anyone have any idea why using Edit Element Attributes after right clicking on my product dimension (16,000 items?) takes between 5 and 10 minutes to load at 100% CPU whilst viewing the same information in the }ElementAttributesProduct cube is almost instantaneous?

I keep being told by IBCoglix about the multi-million member dimensions at Pelephone - it must take about a year for them to load at that rate!!!

I am having a hard time explaining to a client why it takes so long as I simply don't understand it myself! :roll:
John Hobson
The Planning Factory
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: Length load time for attribute info

Post by Steve Vincent »

Yes, try turning off the properties window in the view menu of the subset editor. Same goes for just selecting elements, we have an employees dimension with 22,000+ entries and lots of attributes for each. With the properties window turned on, when you select the top level "All Employees" it has to go away and populate that window for all the child elements, hence taking ages.

Why it should be so much slower i don't know, but it does make a massive difference so i always try to ensure people only have it turned on if they really need to.
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
User avatar
Martin Ryan
Site Admin
Posts: 1988
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Length load time for attribute info

Post by Martin Ryan »

I think John's talking about right clicking on the dimension name then selecting "Edit Element Attributes" which then says for big dimensions "This is going to take ages, are you sure?"

Probably both this front end and the subset editor's properties window have the same issue, but I don't know what it is. Though it seems to be a display issue as it's the client that does all the work, not the server.
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
User avatar
John Hobson
Site Admin
Posts: 330
Joined: Sun May 11, 2008 4:58 pm
OLAP Product: Any
Version: 1.0
Excel Version: 2020
Location: Lytham UK
Contact:

Re: Length load time for attribute info

Post by John Hobson »

Hi Steve

Martin's right - and the properties window makes no difference - it was already closed. And boy s that client working - 100% CPU for 10 minutes to load something that the control cube returns in seconds!

Unusually for a TM1 interface message the one Martin refers to is accurate and to the point - unfortunately

Is this expected (if unacceptable) behaviour then?

J
John Hobson
The Planning Factory
User avatar
bihints.com
Posts: 52
Joined: Tue May 20, 2008 8:56 am
OLAP Product: TM1
Version: 9.0.3
Excel Version: 2003
Contact:

Re: Length load time for attribute info

Post by bihints.com »

Isn't it because cube viewer only preloads a few cells from cube }ElementAttributes_ and loads more only as you scroll down, whereas the Attributes Editor loads the whole shebang when it opens?
A network traffic analysis between client and server box with wireshark might demonstrate it. Or try to slice the whole }ElementAttributes_ cube in Excel and see how long it takes compared to the Attributes Editor.
User avatar
John Hobson
Site Admin
Posts: 330
Joined: Sun May 11, 2008 4:58 pm
OLAP Product: Any
Version: 1.0
Excel Version: 2020
Location: Lytham UK
Contact:

Re: Length load time for attribute info

Post by John Hobson »

Isn't it because cube viewer only preloads a few cells from cube }ElementAttributes_ and loads more only as you scroll down, whereas the Attributes Editor loads the whole shebang when it opens?
Sounds plausible. but that doesn't explain why a filter by attribute on the entire dimension takes seconds and also presumably has to read all elements and their attribute values? OK it's probably a little more efficient that having to read all attrinutes and thier values in one go as it only has to read the list of attributes and then one of their value sets at a time, but the order of magnitude of difference is far too HHHUUUGGE for that to be an explanation.

J
John Hobson
The Planning Factory
ScottW
Regular Participant
Posts: 152
Joined: Fri May 23, 2008 12:08 am
OLAP Product: TM1 CX
Version: 9.5 9.4.1 9.1.4 9.0 8.4
Excel Version: 2003 2007
Location: Melbourne, Australia
Contact:

Re: Length load time for attribute info

Post by ScottW »

This issue has been around for ever, it may sound obvious but the best advice is to NEVER use the attribute editor for dimensions with more than a few thousand elements. Any really large dimension should be maintained by TI, including adding and removing attributes. If there is a need for any manual adjustment of attribute values this can be easily accommodated either in the cube viewer or in a spreadsheet (that could be made as fancy or plain vanilla interface wise as you like) that will render in seconds what takes the attribute editor 15 minutes.

I think the issue is that the whole grid is being built client side. This problem applies to all the TM1 "grid" dialogs (try opening the client/groups dialog when you have 2000 clients x 500 groups, same problem!)
Last edited by ScottW on Mon Oct 13, 2008 9:59 pm, edited 1 time in total.
Cheers,
Scott W
Cubewise
www.cubewise.com
User avatar
John Hobson
Site Admin
Posts: 330
Joined: Sun May 11, 2008 4:58 pm
OLAP Product: Any
Version: 1.0
Excel Version: 2020
Location: Lytham UK
Contact:

Re: Length load time for attribute info

Post by John Hobson »

Thanks Scott - At least I know it's not something I have done this end.

Sounds like sloppy design then.
John Hobson
The Planning Factory
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: Length load time for attribute info

Post by Steve Vincent »

Sorry John, realised what you mean about 3s after hitting "submit"...

Yeah, its been like that forever and any dim i have thats too big for it will get manipulated via TI. I'll add new attributes that way, or if ad-hoc editing is needed then i'll use the cube viewer instead. It is very bad programming tho, should have been sorted years ago... :?
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