15.05.2014, 12:25
This is more of a question than help, but not sure where else to post.
BlueG's MySQL Plugin https://sampforum.blast.hk/showthread.php?tid=56564
Basically I want to insert into my database for each player every minute, so this will be a loop called once a minute for a max 64 players.
I use 'mysql_function_query' which has a callback and is threaded I believe.
Would 64 INSERT Queries a minute be reasonable or not (Assuming max players online)?
Thanks,
Grim.
BlueG's MySQL Plugin https://sampforum.blast.hk/showthread.php?tid=56564
Basically I want to insert into my database for each player every minute, so this will be a loop called once a minute for a max 64 players.
I use 'mysql_function_query' which has a callback and is threaded I believe.
Would 64 INSERT Queries a minute be reasonable or not (Assuming max players online)?
Thanks,
Grim.


), that's 892,800K Records a month, but this kind of data is not really needed to be kept at a one minute accuracy for more than a month, so I may instead have a cron to take 10 min averages of the data in a separate table, then a cron to remove all minute data that's older than a month. Any suggestions for a better implementation welcome and appreciated xD