So I have just recently learnt MySQL but I am trying to find the best way to pull data from the MySQL database. For example, currently I laod all the data from MySQL at once. However, this has a massive side effect: the server takes a while to restart. First it has to save all the data to MySQL upon disabling the plugin and then have to load all the data when enabling the plugin. Previously, I used to load individual player's data as they would join the server. However, this would freeze the server for about 5 seconds, which obviously wasn't any good for the other online players. Does anybody have any suggestions? Should I continue using my current method? Or is there anything else you could suggest to me? Thanks in advance!