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

Review all the indexes, creating the missing ones...

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.3, 1.9
    • 1.8
    • Database SQL/XMLDB
    • None
    • Any
    • MySQL, PostgreSQL
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      With the introduction of XMLDB a lot of "foreign key" obvious missing indexes have been added to Moodle DB Schema.

      So, new sites created under 1.7 will have some more indexes than old sites migrated from previous versions (non XMLDB stuff).

      At some moment in HEAD we must add some utility to look for indexes, compare them with the needed by the XMLDB schema and build them as necessary.

      This can be achieved by the upgrade script or by some special script somewhere (Health Center) in the Admin Interface.

      The script should iterate over all the Moodle XMLDB structures, getting their indexes and looking in DB if they are present (not matter of their name), creating them if necessary.

      Only MySQL and PostgreSQL will need this.

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Nobody Nobody
            Votes:
            0 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.