#Convex storage garbage collection
2 messages · Page 1 of 1 (latest)
I'm sorry, but the knowledge sources do not contain information indicating that Convex automatically removes files from storage if their IDs are not referenced in any Convex database tables. There is no mention of automatic garbage collection for unreferenced files or any specific time frame for such a process.
Instead, file deletion in Convex is a manual process. Files can be deleted using the storage.delete() function from mutations, actions, or HTTP actions, and you must explicitly provide the storage ID to delete a file. There is no documentation suggesting that Convex tracks references to storage IDs in your tables or performs automatic cleanup based on those references. You are responsible for managing and deleting unused files yourself Deleting Files.