Forum Discussion
How to track the RLS performance in embedded
- 2 years ago
You should not rely only on Performance Analyzer results, because you are not considering whether the storage engine cache is used or not in the two cases. You should analyze the performance with DAX Studio impersonating the user and the role required. THe right approach is a big "it depends" and there are many things to consider. Potentially, the M2M approach could be way faster, but - it depends!
There is an entire section on Optimizing DAX Video Course - SQLBI that describes how to analyze and optimize security.
The large materialization is likely to be responsible. A solution requires a deeper review of data model and requirements, I'm not able to quickly help here, sorry!
Hi marcorusso ,
Many thanks for your quick response!
Also, thank you so much for giving me lead on optimizing dax video course! planning to enroll in course.
Below is my vpax file, I am not sure whether this will help or not to find the problems in my report.
PFA PR-419 - Data Coverage RLS Update_high performance.vpax
Thanks in advance!