Hi
We had migrated from moodle1.9 to moodle 2.2 in our university.Recently we had Moodle hanging and creating server loads on peak usage days especillay during assignment upload deadline dates.Further investigation could find that select query was getting locked when fetching data from mdl_log (select * from mdl_log where time > ' ' and course =' ' AND module='course' AND (action='add mod' OR action = 'update mod' OR action ='delete mod') ORDER BY id ASC;) and taking more time to fetch data because of large data and INNODB engine.Temporarily we fixed the issue by converting mdl_log table to MYISAM for which the reads are much faster.
We have seperate LMS and DB servers with quad core processores and 8 GB memory.Mysql optimizations have been done as per the moodle recommendations.
Is there anything else we can do resolve this slowness and reduce the server load in moodle when it is INNODB.Any help would be appreciated
Thank you
Aswin