We recently upgraded to moodle 3.9.1 And started new academic year with it. Site loads fast with few users. But usually there are 300 users online. And we are having problems on handling too many queries. I turned debugging on and saw that the problem is with our db. Then we upgraded to moodle 3.9.2 but getting the same problem.
Debugger when many users online. Site loading in 103 seconds.
And with few users debugger shos this
I didn't understand what is causing a problem.
Need your help.