Skip to content

Quiz Statistics Taking a Long Time to Load #1687

@tlock

Description

@tlock

I've got a report of a quiz with 26 questions including 2 stack questions that took between 20 to 30 minutes to generate the stats with 427 attempts.

Investigation March 2025 (v4.7.0) on Moodle™ 4.4:

Last calculated 35 days 21 hours ago there have been 0 attempts since then <--- task ignoring or is forced to run on demand when should be always done in the backend unless clicking 'Recalculate Now'

Page generation is between 20 to 30 minutes then:

Re-running 'Recalculate Now' completed in 1.9 minutes more acceptable, but would be cached in theory.

Investigation February 2025 (v4.9.1) on Moodle™ 4.5:

Last calculated 1 year 21 days ago there have been 0 attempts since then. Re-running 'Recalculate Now' completed in 1.81 minutes more acceptable, but would be cached in theory.

Page generation is still between 20 to 30 minutes then:

Re-running 'Recalculate Now' completed in 1.81 minutes more acceptable, but would be cached in theory.

Is there something that can be done to extend caching questions in general but noting cache is generally a short term solution not when the lecturer comes back to this page every week or end of semester.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions