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

Admin -> Manage question qtypes query can be slow on large Moodle sites

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.1.10
    • Questions
    • MOODLE_401_STABLE

      On the Manage Question Types page (admin/qtypes.php line 48), we are experiencing significant performance issues with a specific SQL query when executed on our large-scale database. The query, which I will attach as a picture, is extremely slow, taking more than 10 minutes to complete, resulting in timeouts.

      This issue is critical as it negatively affects user experience due to these timeouts. We need to identify the root cause and optimize the query to ensure it runs efficiently on large datasets.

       

        1. explain query.png
          261 kB
          Miri Lipson
        2. mdl_question_versions count.png
          22 kB
          Miri Lipson
        3. select query with limit.png
          187 kB
          Miri Lipson

            Unassigned Unassigned
            mirilipson Miri Lipson
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.