XF 1.4 Performance Optimization

Frank Cano

New member
Hi,

We run a smallish forum but it has been around for a long time and thus, the SQL db is large and since we are small, we are on a budget host site. Looking to improve the SQL query speed. Any advice to get us pointed in the right direction would be greatly appreciated.

Some questions along this line that we have already had:
- does closing old threads improve query response time?
- is there any optimizations we can do to the DB?
- if we wanted to archive off all the old threads, how would we go about this?

Thanks!
Frank
 
Have someone knowledgeable take a look at your MySQL (or MariaDB) .cnf file. Maybe it's optimized for MyISAM and not InnoDB. Maybe the buffer pool is too small. Maybe a lot of different things.

To the db structure itself there's nothing really you can or should do like Brogan mentioned, but definitely try tuning the db engine.
 
Thank you all for the quick advice.

There is no archive function so nowhere to archive them to.

Granted, but I could make two copies of the database and in one delete everything older than 2 years and in the other everything newer. Then for the older db, start up a second forum on a subdomain pointing to the old DB for those wishing to do searches for prior references.

Poor man's archive function.

Have someone knowledgeable take a look at your MySQL (or MariaDB) .cnf file. Maybe it's optimized for MyISAM and not InnoDB. Maybe the buffer pool is too small. Maybe a lot of different things.

To the db structure itself there's nothing really you can or should do like Brogan mentioned, but definitely try tuning the db engine.

Yea, we are on a budget hosting company that won't let us hack the SQL my.cnf file. Gonna likely change that.
 
Then for the older db, start up a second forum on a subdomain pointing to the old DB for those wishing to do searches for prior references.
That would require two licenses and it doesn't actually make any difference as far as performance is concerned.

It's also not possible to selectively move content to another database, so how would you do that on a rolling basis?
 
Top Bottom