Datastore Questions

Is there a limit to how many datastores you can have in one experience? If so, is there a way to completely delete datastores that I don’t need anymore?

1 Like

you can have as many as you want, the only limit is 4MB per datastore which is extremely high for almost all cases.

1 Like

Is there a way to delete datastores? I’ve made multiple datastores for testing and such, but it clogs up the datastore editor plugin I use.

Is there a limit to how many datastores you can have in one experience?

Like @tarneks2 said… “you can have as many as you want, the only limit is 4MB per datastore which is extremely high for almost all cases.” There’s also a limit for datastore requests.

If so, is there a way to completely delete datastores that I don’t need anymore?

If someone already has data with a specific data key, you would probably have to check if they have data and then set their data to nil.

As for your clogged up datastore plugin, I would just make the datastore myself in a script… or maybe just use ProfileService.

1 Like

To delete a datastore you will have to RemoveAsync every key in the datastore.

Also keep in mind having lots of datastores is considered bad practice, I would recommend keeping the amount of datastores very low.

1 Like

So I can fully delete a datastore by removing all the keys?

That is why I am trying to remove some I don’t need anymore.

Technically you cannot fully delete datastores, there is no api to do so, and your only option is removing all the data out. I’m not sure if it will be deleted from your plugin either, you’ll just have to find out.

1 Like

No, it is 4MB per Experience. I originally thought it was per data store, but then I tested it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.