I have 2 problems on one heavy visited site:
1. system reports that problem is with indexes in query like this
SELECT DISTINCT(t.entry_id) FROM exp_channel_titles AS t
LEFT JOIN exp_channels ON t.channel_id = exp_channels.channel_id LEFT JOIN exp_members AS m ON m.member_id = t.author_id INNER JOIN exp_category_posts ON t.entry_id = exp_category_posts.entry_id
INNER JOIN exp_categories ON exp_category_posts.cat_id = exp_categories.cat_id WHERE t.entry_id !='' AND t.site_id IN ('1') AND t.entry_date < 1346501576 AND (t.expiration_date = 0 OR t.expiration_date > 1346501576) AND (t.channel_id = '1' OR t.channel_id = '5' OR t.channel_id = '4' OR t.channel_id = '6' OR t.channel_id = '7' OR t.channel_id = '8' OR t.channel_id = '12' OR t.channel_id = '13' OR t.channel_id = '14' ) AND exp_categories.cat_id = '129' AND t.status = 'open';system gave me message after analysis
You have had 13452 queries where a join could not use an index
properly
You should enable “log-queries-not-using-indexes”
Then look for non indexed joins in the slow query log
and in log file I got these queries as rpoblematic
and second problem is that in 17 hours of logging events I have found out that EE created 856358 tmp tables. Obviously there is a problem with database and my hosting company suggested to switch to innodb but latest informations on this forum I found are really out of date. For example this http://ellislab.com/forums/viewthread/110394/
Are there any new informations regarding that? I would like to point out to this link when talking about this problem.
Please help, because I use CE cache and although it helps, still there is a big strain on MySQL and I have to solve it somehow because in administration people need around 10 minutes to save one entry.