Does anyone know if using an elementsecurityput as opposed to a cellputs causes cube locking?
We are seeing thread queuing in TM1Top and believe this is the cause (we have no other metadata changes in the processes).
Thanks,
Dan
tm1 elementSecurityPut cube locking
-
- Community Contributor
- Posts: 128
- Joined: Wed Oct 14, 2009 7:46 am
- OLAP Product: TM1
- Version: 9.4
- Excel Version: 11
- Location: London
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: tm1 elementSecurityPut cube locking
I don't know for a fact that it does any "locking" but I am pretty sure it does something like that because CellPutS and ElementSecruityPut are not the same thing. CellPutS is merely writing a string value to a cube. ElementSecurityPut is writing a string value to a cube PLUS telling TM1 to refresh security. I imagine that second part has some serious overhead that clients are going to have to wait for.
Re: tm1 elementSecurityPut cube locking
Why the Lock is creating ?
- qml
- MVP
- Posts: 1098
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: tm1 elementSecurityPut cube locking
If you think about it, it makes perfect sense to create a lock on objects that have security applied to them for the duration of the full or partial security refresh. If it were possible to, say, change element security in the middle of someone refreshing a report then they could get a report that would be partly based on the old security and partly on the new security. To avoid this TM1 prevents objects whose security you are trying to amend from being accessed during the partial security refresh that is being kicked off by ElementSecurityPut() and probably even for the full duration of the process that executes this function.
Kamil Arendt