[ https://issues.apache.org/jira/browse/RANGER-3027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212312#comment-17212312 ]
RickyMa commented on RANGER-3027: --------------------------------- Hi [~maheshbandal], I've updated the patch file on [Apache Review Request|https://reviews.apache.org/r/72939/]. > 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, > snapshot1.png, snapshot2.png > > 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)