https://dagster.io/ logo
#ask-community
Title
# ask-community
j

Jose Estudillo

06/30/2023, 2:06 PM
Hi Team, we have been having issues with the database performance degrading because having too many entries, is there a programatic/configuration way to trim the database from time to time. (i.e. keep only the last year for job runs)
dagster bot answered by content 1
t

Tim Castillo

06/30/2023, 2:15 PM
Hi! Here's a way you can programmatically delete old runs. You can queue this up to run periodically for cleanup. https://github.com/dagster-io/dagster/discussions/12047
🙏 1
j

Jose Estudillo

06/30/2023, 5:21 PM
thanks @Tim Castillo