Introducing Data Stores Deletion

Okay now I need to hear the story behind this

Doesn’t the datastore manager allow you to do this already? If not, there are tools such as DataDelve that make it extremely easy to manage data and even revert to previous versions.

2 Likes

In addition to some other great suggestions in this thread, can empty Data Stores with no keys be deleted immediately instead of having to wait a month? For example, if some Plugin or test results in residual Data Store(s) that clog up your Data Store registry, can these just be deleted immediately, because there’s no risk of accidental data loss? Also, why is the API method for restoring Data Stores called “UndeleteDataStore”? Why not call it “RestoreDataStore”? That seems like an odd name. Anyway, great addition. Thank you.

1 Like

THE BEST QoL FEATURE EVER! Great work. :smiley:

1 Like

it feels like this was due a while ago lol

better late than never i guess :sweat_smile:

ty for the good update!

1 Like

No matter what’s the case, it will always appear especially if you use OrderedDataStore, which unlike the standard DataStore does not have UserIds array (since it’s meant for leaderboards in the first place)

1 Like

If a game is above the storage limit, but a redundant datastore is “deleted” to get it under the limit, will it be handled differently or will all datastore write attempts simply fail until said datastore is actually deleted?

Even if the delayed period is meant as a safety measure, will low storage open up a way to expedite such a process or do you simply have to hope that it doesn’t overflow as time passes

1 Like

This would’ve been very handy a few weeks ago when I was trying to delete a datastore (around 400K entries) manually.

Sometimes I really think Roblox is tracking me to add new features. I was going to list all the times where I tried to do something but couldn’t do it in an efficient way and they added a feature that made it easy just a short time after, but that list would be quite long.

Anyways. Proper linux support when? I switched to linux… just sayin’. :wink:

4 Likes

My guess is they probably hardcoded it to 30 days in compliance with the GDPR Right of Erasure (I.e., “right to be forgotten”) regulation, which states that you must delete all records of a user’s data within 30 days of their request. Also, they probably assume that deletion is intentional, so they don’t bother to query you for whether you want 15, 30, or 60 days to second-guess yourself about whether or not you really wanted to delete the Data Store.

real talk, i love this update. obviously there are some caveats about security but other than that i’m proud to say i correctly predicted Data Stores Deletion happening this year.

1 Like

Pretty Solid Update ngl!! Nice Work Roblox :heart_eyes:

1 Like

Yes, this would be incredibly helpful say I NEED to edit someone’s data OR delete it entirely. having a built-in editor would make things so much easier

2 Likes

cool, now datastore migration tools

FINALLY! This is a big step in the right direction. This should make it much easier to manage our data usage. Thank you!

Great.. time to delete thousands of datastores one by one :slight_smile:

Glad it was going to support deleting multiple data stores at once

1 Like

Can’t delete Datastores in the following file name format:
ErrorRepPush_A1_H:20_D:05/13/23

i believe it’s either : or / creating an error during the name string processing in the datastore deletion API, probably a language limitation which isn’t present in the datastore creation API or a simple code oversight.

tagging @chippskale for visibility.

1 Like

This please. I would love to see a full script solution, but one thing Roblox could easily do right now is allow us to input a string on how to connect a player to their DataStore(s).

For example, most DataStores probably use just their UserId, but some might use “Money-UserIdHere”, or whatever else it might be. So if we could just input that sort of format, Roblox could easily handle data deletion for normal use cases with DataStores.

Obviously, this won’t cover every type of data structure as I know a number of experiences that use DataStores in more unique ways, but this would help the majority of developers.

1 Like

Datastore deletion introduced a new problem for those who use it, when trying to access a deleted datastore (or in the process of deletion, not enough time to know how it’ll work after deletion proceeds) you get internal error "the data store is deleted" instead of either finding no datastore or, usually, creating a blank new datastore for it.

this is hardly an edge case and people should be aware of it.

Found 2 bugs within 30 minutes of using it :sweat_smile:

1 Like

You already can using webhooks and Open Cloud. There are plenty of free services to host on and getting it set up is pretty quick using ChatGPT as guidance.

That being said…

They should give us an option to provide our database keys in “{userId}” format to have it automatically be deleted from every database in the game instead of flooding webhooks and messages.

Not sure why they haven’t yet, is probably less resource intensive than needing to send a webhook as well as ingest an Open Cloud call.

3 Likes

FINALLY SOMETHING GOOD

2 Likes