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

Analytics tables and files cleanup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Analytics
    • Labels:

      Description

      Analytics tables and files needs a cleanup process like everything in software, we need to define what and when.

      What, must be cleaned:

      • Unexisting contexts predictions
      • Unexisting predictions actions (MDL-58835) both when the prediction context does not exist and when the model is deleted
      • Deleted models logs (we already delete all other model data)
      • Deleted models files (all analysable files + merged files)
      • Calculations belonging to contexts that do not exist anymore (analytics_indicator_calc)

      What we can discuss if it should be cleaned or not:

      • Deleted analysable records (analytics_predict_samples, analytics_train_samples) once the analysable is not available anymore
      • Deleted analysable files (evaluation and prediction files) once the analysable is not available anymore

      What I would vote to keep:

      • Deleted analysables training files

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Nov/17