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

              emerrill Eric Merrill
              emerrill Eric Merrill
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Dan Poltawski Dan Poltawski
              Ankit Agarwal Ankit Agarwal
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              9 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/May/17