Hardware and performance

Serious SQL query performance problem with table mdl_grade_grades