Hello all,
We recently upgraded from moodle 1.5 to 1.7.1+. The installation went fine. Everything seems to be the same, however when user login, it takes from 10 seconds to 50 seconds. I optimized all the tables and made sure all the indexes are still there.
Sometimes when i do a `top` on the moodle server, the load is more then 3.0 and mysqld is using 100% off the CPU, even when there are only 10 people logged on.
When I go under phpMyAdmin runtime information, it tells me this:
Handler_read_rnd | 171 M | The number of requests to read a row based on a fixed position. This is high if you are doing a lot of queries that require sorting of the result. You probably have a lot of queries that require MySQL to scan whole tables or you have joins that don't use keys properly. |
---|
Handler_read_rnd_next | 316 M | The number of requests to read the next row in the data file. This is high if you are doing a lot of table scans. Generally this suggests that your tables are not properly indexed or that your queries are not written to take advantage of the indexes you have. |
---|
Slow_launch_threads | 9,817 | The number of threads that have taken more than slow_launch_time seconds to create. |
---|
Created_tmp_disk_tables | 61 k | The number of temporary tables on disk created automatically by the server while executing statements. If Created_tmp_disk_tables is big, you may want to increase the tmp_table_size value to cause temporary tables to be memory-based instead of disk-based. |
---|
Select_full_join | 21 k | The number of joins that do not use indexes. If this value is not 0, you should carefully check the indexes of your tables. |
---|
Opened_tables | 24 k | The number of tables that have been opened. If opened tables is big, your table cache value is probably too small. |
---|
Table_locks_waited | 301 | The number of times that a table lock could not be acquired immediately and a wait was needed. If this is high, and you have performance problems, you should first optimize your queries, and then either split your table or tables or use replication. |
---|
Thanks for all your help in advance,
~Drew