Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3027

Improve response time for GET API service/xusers/users

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2.0
    • 3.0.0, 2.2.0
    • Ranger
    • None

    Description

      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.

      select count(*) from x_user;
      50052
      
      select count(*) from x_group_users;
      500056
      

      Attachments

        1. snapshot2.png
          51 kB
          RickyMa
        2. snapshot1.png
          29 kB
          RickyMa
        3. 0001-RANGER-3027-Improve-response-time-for-GET-API-servic.patch
          21 kB
          RickyMa

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maheshbandal Mahesh Hanumant Bandal
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h