Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is it possible to save too many values per player with datastores?

Asked by
trecept 367 Moderation Voter
6 years ago

I'm currently storing and saving over 30 different integer and bool values inside each player, auto saving every 2 minutes and saving when they leave. I'm planning on adding more of these values, and was wondering if I do add more values will I experience problems? I keep all the values in one table and use one datastore for that one table per player. Is it possible for the table of values to get too big?

1 answer

Log in to vote
2
Answered by 6 years ago

The short answer is yes.

But if you're worried about "overloading the data store" or something like that, then i wouldn't think so because there are much larger games like Jailbreak, with over 1 billion total visits, and thousands of people joining everyday.

Keep in mind this game has to save data for all of these users, that includes all of their leader stats, all of their owned cars, all of their owned skins, banks robbed, etc. I doubt a simple Number value or Int value takes up that much space.

If you want more information on the limitations of DataStores see here http://wiki.roblox.com/index.php/Data_store

I would recommend separating some of these values to other DataStores based on categories, for example a DataStore for money, items, and quests, it's easier to manage and will let you store all your values.

As for saving frequency, I think 2 minutes inbetween each save should be fine.

If i'm wrong on any this, someone please tell me.

Ad

Answer this question