Hi Support,
After the Multi-Tenancy video we've implemented READ PROTECT Rules on most of the important objects in one of our systems for better data security. However it seems that now the Queries take 3 or 4 times longer to load. I've checked this when the server is almost idling an the rest of the performance seems fine but opening a query takes couple of seconds to display the data even though the result set is only 20 per page.
Could this be as a result of the READ PROTECT rules? When I Log in as Admin I can run large queries and they are fast! Thats why it seems that it Must be the protection rules slowing it down. Would the protection rules use up more memory on the DB side or on the App Server side?
A typicall rule looks like this:
IF Property.Company<>LoggedInMMSAdministrator.Company THEN READ PROTECT Property FROM MMSAdministrator
I also have the 'Do not used during initialization' ticked as well as 'Do not check referred attributes'.
Has anyone else experienced this after implementing Protection rules?