Deleting runs in local wandb instance doesn't delete associated entries in the database

Our local wandb instance was taking up a lot of space, so we tried to free up it by deleting old underperforming runs. This included around half of all the runs we had.

However, deleting them didn’t result in any freed-up space (mysql tables ended up taking the same size as pre-deletion). Is there any way to delete associated entries in the database?

Thanks for the help!

Hi @oshapio, happy to help with. Today W&B does not reclaim space for deleted runs in the database. Here’s a SQL procedure that will delete the metrics and logs from the sql database for any runs that have been deleted in the UI. We’re planning to integrate this logic into our application soon, but this can be used from a mysql shell to clear up data in the mean time.

1 Like

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