XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 1.9.9, 2.0.1
    • Performance
    • Any
    • MOODLE_19_STABLE, MOODLE_20_STABLE
    • Easy

      Some tasks in Moodle that use the custom user profile fields could be greatly improved by the addition of a database index on the 'userid' and 'fieldid' fields. It would also be great to have one on the 'data' field, but this is not possible as it is a 'text' type and will not work on all database technologies.

      Simply adding a new index such as 'userfieldidx' based on the 'userid' and 'fieldid' fields can speed up a number of queries.

      I have attached a patch (would need adjusting for the version bump) that would do this. This could (should) be applied to 2.0 as well.

            andyjdavis Andrew Davis
            mchurch Mike Churchward
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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