15.07.2017, 12:48
A few days ago, I decided to switch to the mysql system from Y_INI. I read on the forum that mysql is faster than Y_INI system, but that's not the case.
I create one timer which saves just 1 variable for every player, every 5 minutes, and, this is result:
http://prntscr.com/fw06oy
This is query:
I don't know why, but, this isn't good results, i had better results with Y_INI, why?
And yes, this is MySQL server information:
http://prntscr.com/fw07sy
I'm using MySQL R5 plugin on CentOS. That dedicated machine have so good resources(4x3.1GHz 32GB DDR3...)
I create one timer which saves just 1 variable for every player, every 5 minutes, and, this is result:
http://prntscr.com/fw06oy
This is query:
Код:
format(MySQLStringMINI,sizeof(MySQLStringMINI),"UPDATE `users` SET `PayDay` = '%d', `LastActivity` = NOW() WHERE `Name` = '%s'", Player[i][PayDay], GetName(i)); mysql_query(MySQLStringMINI);
And yes, this is MySQL server information:
http://prntscr.com/fw07sy
I'm using MySQL R5 plugin on CentOS. That dedicated machine have so good resources(4x3.1GHz 32GB DDR3...)