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

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

    XMLWordPrintable

Details

    • Resolved
    • Please Merge
    • 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

        Zeplin

          Attachments

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Git Integration