My host has requested I cleanup mdl_grade_grades_history table

My host has requested I cleanup mdl_grade_grades_history table

by Daniel Lombardo -
Number of replies: 4

Hi 

Version 2.3.3

The grade_grades_history has become bloated. I have now disable the grades_history for our moodle. Will moodle automatically cleanup this table or will I still need to do it manually in PhpMyAdmin? If so, I trust this won't cause any problems. Can I drop the entire table?

The advice of experienced admins is most appreciated.

Average of ratings: -
In reply to Daniel Lombardo

Re: My host has requested I cleanup mdl_grade_grades_history table

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

I think that you have to clean it manually, but you can safely TRUNCATE that table.

Average of ratings: Useful (1)
In reply to Tim Hunt

Re: My host has requested I cleanup mdl_grade_grades_history table

by Daniel Lombardo -

Thank you, I will do that immediately.

In reply to Daniel Lombardo

Re: My host has requested I cleanup mdl_grade_grades_history table

by Frederic Nevers -

To prevent this from happening again, I would recommend you to take a look at the options in Site Administration > Server > Cleanup

The 2 options you are interested in are:

  • Disable Grade History
  • Grade History Lifetime

Cheers, 
Fred

Average of ratings: Useful (1)
In reply to Frederic Nevers

Re: My host has requested I cleanup mdl_grade_grades_history table

by Daniel Lombardo -

Thanks, I since explored this and completely disabled the grade history. Thank you for your prompt replies.