Any relation to this http://moodle.org/mod/forum/discuss.php?d=170584 ?
Hardware and performance
Slow query on course search.php
Arutelu on lukustatud, seetõttu ei saa te sellele enam vastata.