There are 3 things that will resolve MySQL performance issues and they are as follows: 1. Remove the code that generates the offending query all together. 2. Institute proper table indexing for tables whereupon the bad queries are being executed. Proper indexing is explained in our help desk and is the most ideal solution for any MySQL performance issues. 3. Rework the query that is responsible for the performance issue so that it can perform the same task without having to perform as large a query. This solution is not plausible in all circumstances, will require intimate knowledge of the tasks at hand to elicit a better query, and will often achieve modest gains at best. This option is often best implemented in addition to #2 as the combination of a better query and proper indexing will obviously yield substantial benefits.
That is completely impossible to say, given that you give no information about what problems you're trying to solve (apart from it bring a performance issue).