Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39118

getUsersIsAllowed in a large sites can result in terrible MySQL query performance

    Details

    • 11 status:
      Resolved
    • 10 status:
      Please Merge
    • Previous Issue Keys:
      KNL-1475

      Description

      Site has two sections and 150+ groups. Using MySQL 5.6. The query observed returns 152 results.

      The old getSelectRealmRoleGroupUserIdSql seems to use a sub-query for no apparent reason.

      Attaching screenshots showing query performance with two separate MySQL 5.6 instances.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ottenhoff Sam Ottenhoff
                Reporter:
                ottenhoff Sam Ottenhoff
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code