Delete history of executions to reduce disk space / db size

We are hosting our n8n on AWS and the size of the DB Is getting large (and expensive).

Is therre a way to delete the history of executions to save space?

Any recomendations of hosting services that would be cheaper than AWS?

a## Information on your n8n setup

  • n8n version: 0.230.3
  • Database (default: SQLite): postgres
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):**main
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):**docker
  • Operating system: linux

Is therre a way to delete the history of executions to save space?

Hi @fxholl, there absolutely is. Check out Execution data | n8n Docs for details on how to configure the automatic deletion :slight_smile:

Any recomendations of hosting services that would be cheaper than AWS?

I personally love Hetzner’s VPS offering, and I know @Jon is a friend of Digital Ocean. Both are typically cheaper than comparable AWS EC2 instances (though exact pricing might vary by region and personal requirements of course).

For a completely free option you could check out Oracle Cloud’s free tier, though this comes with no support and there’s a few reports on the internet about them cutting off users who make use of this free service.

3 Likes

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