XF 2.2 Does XenForo need to further tune and optimize the database architecture?

NealC

Well-known member
Anyone seeing messages like this from phpMyAdmin's Advisor? It could be needed improvements. Curious if XF needs to take a look at some of the DB architecture to tune these items? Some are for me, most are for XF.

phpmyadmin-advisor.webp
 
Two of those can be easily fixed just by changing the few remaining MyISAM tables to InnoDB.

myisam-issues.jpg


--------------------------------------------------------------------------------------------------------------------------------
sorts.jpg

This is kind of necessary and not unusual for a forum to have lots of data results sorted. For this one you should look at your sort_buffer_size to make sure most of this is making it into memory.

---------------------------------------------------------------------------------------------------------------------------------
joins.jpg

There may be room for improvement here but in general from what I've seen most XenForo tables have the needed indexes for joins. You may be looking at your add-ons specifically here to find the issue.

---------------------------------------------------------------------------------------------------------------------------------
 
  • Like
Reactions: Xon
Back
Top Bottom