Hello,
We have recently upgraded from Moodle 2.1 to Moodle 2.6 and we are finding that some things are very slow.
The worst pages are:
course/view.php which is taking about 10 times as long to load as it used to (we do have a large number of resources/activities in the course but it is very fast on 2.1).
mod/page/view.php is also going very slow, as well as quiz/attemptquiz.php.
We are using a PostgreSQL database and we have reindexed the database. We have tested some large queries in the database and found that the execution time is very similar to when we run these queries on the old database.
We have also installed OPcache.
Is there any way with Moodle that we can determine which database queries are taking a long time?
We have checked everything in Performance Overview, etc.
Any help is greatly appreciated! Thank you!