• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Plugin] Using MySQL R41-4
#2
1) It's not necessary to use MySQL. In a lot of cases it's not even the best solution. How you store the data depends on the data you are storing, how frequently it will be accessed and modified, and the required access to that data. For example, will this data need to be fetched, updated, or displayed from another source; like a forum or control panel?



All these questions should be evaluated. Player data is usually stored in a database for its speed on large data sets and overall flexibility. However if you want to store server configuration settings, that would be better suited in a configuration text file.



2) This also depends on the data. Something that will update frequently (kills, deaths, etc) should be stored in memory and written to the database later. Everything else (passwords, security questions, etc) should be updated immediately.
  Reply


Messages In This Thread
Using MySQL R41-4 - by RhaegarX - 2021-01-12, 04:47 PM
RE: Using MySQL R41-4 - by Bakr - 2021-01-13, 04:49 AM
RE: Using MySQL R41-4 - by Pinch - 2021-01-13, 07:07 AM
RE: Using MySQL R41-4 - by Bakr - 2021-01-13, 01:55 PM
RE: Using MySQL R41-4 - by Expert* - 2021-01-18, 08:06 PM

Forum Jump: