[ https://issues.apache.org/jira/browse/RANGER-3027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212243#comment-17212243 ]
Mahesh Hanumant Bandal commented on RANGER-3027: ------------------------------------------------ Hi [~RickyMa], I tried to apply your patch but its failing. Can you please update your review request with latest ranger code. > Improve response time for GET API service/xusers/users > ------------------------------------------------------ > > Key: RANGER-3027 > URL: https://issues.apache.org/jira/browse/RANGER-3027 > Project: Ranger > Issue Type: Improvement > Components: Ranger > Affects Versions: 2.2.0 > Reporter: Mahesh Hanumant Bandal > Priority: Minor > Attachments: > 0001-RANGER-3027-Improve-response-time-for-GET-API-servic.patch > > Time Spent: 10m > Remaining Estimate: 0h > > When there are large number of users and group_users data in database; GET > API service/xusers/users takes longer time to respond if we set request > parameter pageSize=1000 or more. > However, with default value pageSize=25 response received instantaneously. > {code:java} > select count(*) from x_user; > 50052 > select count(*) from x_group_users; > 500056 > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)