Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-51305

Gradebook export download is taking too long

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.7, 2.9.2
    • Fix Version/s: 2.8.9, 2.9.3
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a gradebook with over 1000 students and over 50 grade items.
      2. Execute a text-format grade export.

      Before this change the export takes much longer than after the change.

      Show
      Create a gradebook with over 1000 students and over 50 grade items. Execute a text-format grade export. Before this change the export takes much longer than after the change.
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-51305_master_too_many_gradeitem_fetches

      Description

      When a user with a large gradebook tries to export, it takes >5 minutes for the download to as CSV, and even longer for XLS.

      Recreating this issue requires a course with many students and many items.

        Attachments

          Activity

            People

            Assignee:
            colin Colin Campbell
            Reporter:
            mcka0074 Mark McKay
            Peer reviewer:
            Simey Lameze
            Integrator:
            Dan Poltawski
            Tester:
            Mark Nelson
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Nov/15