Execution Log Storage Limit

Describe the problem/error/question

How long does one’s executions get stored for? Is there a limit and what causes it to get deleted / purged? To updates to the hosted n8n instance automatically delete all execution logs?

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.78.1
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): https://n8n-40.workflowapp.ai/
  • Operating system:
1 Like

Hey @karibevents Your execution logs are stored in a database, but how long they stick around depends on a few things like your database setup and hosting environment.

First, let’s talk about the basics. n8n keeps your execution logs in whatever database you’re using (could be SQLite, PostgreSQL, MySQL - whatever works for you). But here’s the thing - these logs don’t stay around forever. They get cleaned up automatically based on your settings.

Now, when do these logs disappear? There are a few scenarios:

  • You’ve set up a retention policy using settings like EXECUTIONS_DATA_PRUNE
  • Someone with admin access manually clears them out
  • Your database is getting full and needs to free up space
  • You’re running n8n in Docker or Kubernetes and haven’t set up persistent storage

If you’re using n8n.cloud, things work a bit differently. There’s a cap on how many executions you can store, and older logs get automatically cleaned up depending on your subscription plan.

Here is some additional information Execution data | n8n Docs

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