By Yuri Kudryavcev, Associate Consultant at Cornerstone
Had a few ‘let’s improve performance’ cases recently that were all related to TM1 Cell Security, so here’s a couple of notes on it. You’ve heard all of this before, just putting it together.
Self-referencing cell security rule
Planning Analytics Workspace has a feature (or a bug, depending on your point of view) that it doesn’t ‘gray-out’ the Cells based on rules, only based on security definitions.
So to make things look user-friendly, you write cell security rules like:
This looks very innocent (and super nice in PaW cube views), but these rules are very nasty as they both kill performance in 2 ways:
Cell Security cube depends on source cube causing a circular calculation and, more importantly, This calculation ‘locks’ the cell security cube and causes a lock on source cube
you essentially turn your cube in ‘single-writer at a time and enable full recalc after each write’ mode. Don’t.
and wait for PaW to get smart enough to draw it nicely (Tm1web did it since the dawn of time, so it couldn’t be far away).
Only necessary dimensions in CellSecurity cubes
You can (and should wherever possible) create cell security cubes with fewer dimensions than source cubes, there’s a CellSecurityCubeCreate TI function for it.
All cell security rules are strings, not cached, so calculating as little as possible makes everything heaps faster.
Using STET rules for security
You can change the default CellSecurity value from None to something else by modifying CELLSECURITYDEFAULTVALUE in }CubeProperties cube.
I find that this allows me to use STETs in cell security more widely and therefore ‘terminate’ rule execution, or sometimes avoid writing rules at all. Be wary of showing too much to users though once you move from the default of NONE, only use this in combination with Element Security.
Enabling feeders for CellSecurity cubes
Even though you can enable feeders in CellSecurity cubes and improve rules performance by feeding only required intersections, I never do and don’t recommend it.
This blog was originally posted on Applied Dimensionality https://ykud.com/blog/cognos/tm1-cognos/tm1-cell-security/
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Talk to us
To find out more about Anaplan solutions for your business, please complete the form below and our team will respond within 1-2 business days
Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.