You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "RickyMa (Jira)" <ji...@apache.org> on 2020/10/12 10:07:00 UTC

[jira] [Comment Edited] (RANGER-3027) Improve response time for GET API service/xusers/users

    [ https://issues.apache.org/jira/browse/RANGER-3027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212277#comment-17212277 ] 

RickyMa edited comment on RANGER-3027 at 10/12/20, 10:06 AM:
-------------------------------------------------------------

Hi [~maheshbandal], as you can see, I am using the latest code.  !snapshot1.png!

!snapshot2.png!


was (Author: rickyma):
Hi [~maheshbandal], as you can see, I am using latest code. !snapshot1.png!

!snapshot2.png!

> 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)