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

Automated backups slow down with each backup

    XMLWordPrintable

    Details

      Description

      We (and others) have noticed that when using scripts that create backups (so many are made during one session), each trip through the process the backup gets slower and slower.

      I've tracked it down to sql_generator->getNameForObject(), it uses a tracking array to keep track of index names it has already issued, in an inefficient way.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              emerrill Eric Merrill
              Reporter:
              emerrill Eric Merrill
              Peer reviewer:
              Eloy Lafuente (stronk7)
              Integrator:
              Dan Poltawski
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              9 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/May/17