Quote:
Originally Posted by mainframe
Hi Infinityweb,
thanks for your fast reply.
I have turned on debug mode and found the problem.
I have arround 90.000 registerred users on my forum( www.funfiles.ws) and arround 1500 online practicly every day arround 19:00. Because your plugin is sorting them on posts it's taking 0.34 seconds to get the top users from the database.
I've added an index in the mysql table users for posts and now it's only taking 0.0008 seconds so thats defenitly a change..
If anyone uses your plugin and have many registerred users and lots of them online I would suggest the same. add an index for posts in the user table by executing the below query in your admincp
Code:
ALTER TABLE `user` ADD INDEX ( `posts` )
Kindest Regards,
MainFrame
|
I hope to have this problem some day! Thanks for sharing.