开发者

How to speed up joomla slow mysql queries?

i installed an joomla website on an vps wit开发者_JS百科h nginx+php-fpm, mysql....with low traffic

everything load pretty fast; except the generated joomla page because of slow mysql querys. is there a way to cache/speed them up?

mysql query does not work because there is a low traffic(maybe an user/one hour)


I've built a lot of sites with Joomla (although admittedly not paired with nginx) and never had to even consider this. How much content does your installation have? It would have to be an awful lot before any serious thought needed to be given to database tuning.

Are you sure the database engine is the cause of the problem? You can verify this by turning on the debug output in Joomla's global configuration (under 'System'), which will show the queries and some timing info in the footer. Don't forget to turn it off when you're done with it!

Have a look at the timing for the Application afterRender entry. Unless you're consistently seeing multi-second values there, I'd be looking elsewhere for your problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜