You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "andrewluotechnologies (via GitHub)" <gi...@apache.org> on 2023/02/08 16:28:46 UTC

[GitHub] [ranger] andrewluotechnologies opened a new pull request, #211: RANGER-2713: Remove audit fields from XXPolicyRef objects

andrewluotechnologies opened a new pull request, #211:
URL: https://github.com/apache/ranger/pull/211

   XXPolicyRef objects have fields such as create time, update time, added by user ID, updated by user ID, but there fields are entirely useless since they are all copied from the XXPolicy object. In addition, while improving performance for creation of policies with large numbers of users, we discovered that a lot of time was being spent in JPA converting these Date objects especially. After removing these fields we saw a significant performance improvement (a secondary benefit is less database space usage).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org