#Database

1 messages · Page 1 of 1 (latest)

placid hill
#

Is there a way to overwrite memory when running a task in the database in the self deployed triggerdotdev dashboard.

misty lance
#

Sorry I don't know what you mean

placid hill
#

I meant rather than the postgress data exanding as the run continues. I can over write the same memory in the database?

misty lance
#

Can you be a bit more specific? Do you mean that when you do a lot of runs your Postgres tables in the Trigger.dev Postgres get large?

placid hill
#

Yes that's what i meant. It consimes all the memory. So I was thinking if there is a way of overwriting the same data in the database?

misty lance
#

No sorry there isn’t. That’s what means you have a history of the runs. You can write a SQL query to delete old entries if you want periodically, but we don’t provide anything like this. In the cloud we currently have infinite history for v2 so haven’t need this.