Add-ons
  1. Add-ons
  2. CONTRIB-3708

Mod Certificate - Slow listing of certificates

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2
    • Fix Version/s: None
    • Component/s: Module: Certificate
    • Labels:
      None
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Rank:
      41562

      Description

      A client of ours has 8000 certificates in a course and approximately 25K certificates in total. We found that a queries was taking more than 5 minutes to bring up the page.

      We also looked at adding pagination to the certificate list page.

        Issue Links

          Activity

          Hide
          bunwich added a comment - - edited

          Code changes and pull request can be found here:

          https://github.com/bunwich/moodle-mod_certificate

          SQL query was improved.

          Pagination added. Using Moodle's pagination methods.

          Show
          bunwich added a comment - - edited Code changes and pull request can be found here: https://github.com/bunwich/moodle-mod_certificate SQL query was improved. Pagination added. Using Moodle's pagination methods.
          Hide
          Helen Foster added a comment -

          Closing this resolved issue, as requested by issue assignee Mark.

          Show
          Helen Foster added a comment - Closing this resolved issue, as requested by issue assignee Mark.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development