Greetings,
I have an MDX-based dynamic security implemented in most of my cubes. Lately the initial discovery time for dynamic users went to 2-3 minutes. After the initial connection, querying is instantaneous.
Users with local admin rights on the SSAS server do not have any delays. After some investigation I think I found the suspect:
exists([groupid].[groupid].members, strtoset(["login name].[login name].["+username+"]"), 'Fact User Groups')
I tried nonempty (groupid.members) but the initial discovery of allowed groups still takes 2-3 minutes. The delay always happens on cold cache after cube rebuilt (we use SSAS farms and synchronization). So unless the user is a member of the admin group, he/she will get the delay once or twice per hour.
I would also point out that the sizes of both dimensions and the factless group are barely a couple of hundred rows each.
Help will be much appreciated. Thanks!